{"action":"created","issue":{"url":"https://api.github.com/repos/usabilla/usabilla-u4a-android-sdk/issues/105","repository_url":"https://api.github.com/repos/usabilla/usabilla-u4a-android-sdk","labels_url":"https://api.github.com/repos/usabilla/usabilla-u4a-android-sdk/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/usabilla/usabilla-u4a-android-sdk/issues/105/comments","events_url":"https://api.github.com/repos/usabilla/usabilla-u4a-android-sdk/issues/105/events","html_url":"https://github.com/usabilla/usabilla-u4a-android-sdk/issues/105","id":358935227,"node_id":"MDU6SXNzdWUzNTg5MzUyMjc=","number":105,"title":"Crash in 5.2.0","user":{"login":"remq","id":6944538,"node_id":"MDQ6VXNlcjY5NDQ1Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/6944538?v=4","gravatar_id":"","url":"https://api.github.com/users/remq","html_url":"https://github.com/remq","followers_url":"https://api.github.com/users/remq/followers","following_url":"https://api.github.com/users/remq/following{/other_user}","gists_url":"https://api.github.com/users/remq/gists{/gist_id}","starred_url":"https://api.github.com/users/remq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remq/subscriptions","organizations_url":"https://api.github.com/users/remq/orgs","repos_url":"https://api.github.com/users/remq/repos","events_url":"https://api.github.com/users/remq/events{/privacy}","received_events_url":"https://api.github.com/users/remq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-11T08:13:08Z","updated_at":"2018-09-11T08:41:02Z","closed_at":null,"author_association":"NONE","body":"Yesterday we've released a build with the updated Usabilla SDK (5.2.0). However, upon release we were noticing a high number of crashes coming in, so we halted the rollout, reverted the SDK upgrade, relaunched and everything is fine. The crash is as follows:\r\n```\r\nFatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.Random.nextInt(int)' on a null object reference\r\n       at com.usabilla.sdk.ubform.eventengine.decorators.PercentageDecorator.customTriggersWith(PercentageDecorator.kt:31)\r\n       at com.usabilla.sdk.ubform.eventengine.rules.BaseRule.triggersWith(BaseRule.kt:21)\r\n       at com.usabilla.sdk.ubform.eventengine.CampaignModel.triggers(CampaignModel.kt:23)\r\n       at com.usabilla.sdk.ubform.eventengine.EventEngine.sendEvent(EventEngine.kt:22)\r\n       at com.usabilla.sdk.ubform.sdk.campaign.CampaignManager.sendEvent(CampaignManager.kt:62)\r\n       at com.usabilla.sdk.ubform.UsabillaInternal.sendEvent(UsabillaInternal.kt:140)\r\n       at com.usabilla.sdk.ubform.Usabilla.sendEvent(Usabilla.kt:120)\r\n```\r\nWe haven't been able to reproduce the issue, but 24.32% of the sessions were affected (535 crashes for 66 users in a few hours). However, an e-mail came in stating that the crash occurred upon launching the app after the update. It's happening for several device types and several OS versions, so it doesn't seem version- or device related. \r\n\r\nIf there's anything I can do to help resolve this issue: let me know."},"comment":{"url":"https://api.github.com/repos/usabilla/usabilla-u4a-android-sdk/issues/comments/420195181","html_url":"https://github.com/usabilla/usabilla-u4a-android-sdk/issues/105#issuecomment-420195181","issue_url":"https://api.github.com/repos/usabilla/usabilla-u4a-android-sdk/issues/105","id":420195181,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDE5NTE4MQ==","user":{"login":"tzengerink","id":539075,"node_id":"MDQ6VXNlcjUzOTA3NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/539075?v=4","gravatar_id":"","url":"https://api.github.com/users/tzengerink","html_url":"https://github.com/tzengerink","followers_url":"https://api.github.com/users/tzengerink/followers","following_url":"https://api.github.com/users/tzengerink/following{/other_user}","gists_url":"https://api.github.com/users/tzengerink/gists{/gist_id}","starred_url":"https://api.github.com/users/tzengerink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tzengerink/subscriptions","organizations_url":"https://api.github.com/users/tzengerink/orgs","repos_url":"https://api.github.com/users/tzengerink/repos","events_url":"https://api.github.com/users/tzengerink/events{/privacy}","received_events_url":"https://api.github.com/users/tzengerink/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T08:41:02Z","updated_at":"2018-09-11T08:41:02Z","author_association":"MEMBER","body":"Hi @remq,\r\n\r\nWe are aware of this issue and are working on a fix. We'll keep you posted on the progress."}}
{"actor":{"display_login":"tzengerink"}}