{"action":"created","issue":{"url":"https://api.github.com/repos/trbnb/MvvmBase/issues/9","repository_url":"https://api.github.com/repos/trbnb/MvvmBase","labels_url":"https://api.github.com/repos/trbnb/MvvmBase/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/trbnb/MvvmBase/issues/9/comments","events_url":"https://api.github.com/repos/trbnb/MvvmBase/issues/9/events","html_url":"https://github.com/trbnb/MvvmBase/issues/9","id":337933022,"node_id":"MDU6SXNzdWUzMzc5MzMwMjI=","number":9,"title":"Runtime Crash when using abstract activities","user":{"login":"apm-christian-dziuba","id":38915629,"node_id":"MDQ6VXNlcjM4OTE1NjI5","avatar_url":"https://avatars0.githubusercontent.com/u/38915629?v=4","gravatar_id":"","url":"https://api.github.com/users/apm-christian-dziuba","html_url":"https://github.com/apm-christian-dziuba","followers_url":"https://api.github.com/users/apm-christian-dziuba/followers","following_url":"https://api.github.com/users/apm-christian-dziuba/following{/other_user}","gists_url":"https://api.github.com/users/apm-christian-dziuba/gists{/gist_id}","starred_url":"https://api.github.com/users/apm-christian-dziuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apm-christian-dziuba/subscriptions","organizations_url":"https://api.github.com/users/apm-christian-dziuba/orgs","repos_url":"https://api.github.com/users/apm-christian-dziuba/repos","events_url":"https://api.github.com/users/apm-christian-dziuba/events{/privacy}","received_events_url":"https://api.github.com/users/apm-christian-dziuba/received_events","type":"User","site_admin":false},"labels":[{"id":407550184,"node_id":"MDU6TGFiZWw0MDc1NTAxODQ=","url":"https://api.github.com/repos/trbnb/MvvmBase/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-03T14:48:41Z","updated_at":"2018-09-22T06:31:29Z","closed_at":"2018-09-22T06:31:29Z","author_association":"NONE","body":"Got the following crash: \r\n\r\n`Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType\r\n       at de.trbnb.mvvmbase.MvvmBindingActivity.getViewModelClass(MvvmBindingActivity.kt:87)\r\n       at de.trbnb.mvvmbase.MvvmBindingActivity.onCreate(MvvmBindingActivity.kt:119)\r\n       at de.intech.main.gui.overview.OverviewActivity.onCreate(OverviewActivity.kt:52)`\r\n\r\nOverviewActivity is an abstract activity class. Got two activity classes inheriting from this overview activity class. They both use the same ViewModel class that is provided inside the OverviewActivity. The shared ViewModel class has one constructor parameter. But removing this, was not preventing the error."},"comment":{"url":"https://api.github.com/repos/trbnb/MvvmBase/issues/comments/423720997","html_url":"https://github.com/trbnb/MvvmBase/issues/9#issuecomment-423720997","issue_url":"https://api.github.com/repos/trbnb/MvvmBase/issues/9","id":423720997,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzcyMDk5Nw==","user":{"login":"trbnb","id":7962046,"node_id":"MDQ6VXNlcjc5NjIwNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/7962046?v=4","gravatar_id":"","url":"https://api.github.com/users/trbnb","html_url":"https://github.com/trbnb","followers_url":"https://api.github.com/users/trbnb/followers","following_url":"https://api.github.com/users/trbnb/following{/other_user}","gists_url":"https://api.github.com/users/trbnb/gists{/gist_id}","starred_url":"https://api.github.com/users/trbnb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trbnb/subscriptions","organizations_url":"https://api.github.com/users/trbnb/orgs","repos_url":"https://api.github.com/users/trbnb/repos","events_url":"https://api.github.com/users/trbnb/events{/privacy}","received_events_url":"https://api.github.com/users/trbnb/received_events","type":"User","site_admin":false},"created_at":"2018-09-22T06:31:29Z","updated_at":"2018-09-22T06:31:29Z","author_association":"OWNER","body":"That was a silly mistake by me. I released a fix with version 1.1.1."}}
{"actor":{"display_login":"trbnb"}}