{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/17481","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/17481/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/17481/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/17481/events","html_url":"https://github.com/godotengine/godot/issues/17481","id":304647543,"number":17481,"title":"Android in-app purchase crash on some device (Godot 2.1.4)","user":{"login":"megasoft78","id":514958,"avatar_url":"https://avatars3.githubusercontent.com/u/514958?v=4","gravatar_id":"","url":"https://api.github.com/users/megasoft78","html_url":"https://github.com/megasoft78","followers_url":"https://api.github.com/users/megasoft78/followers","following_url":"https://api.github.com/users/megasoft78/following{/other_user}","gists_url":"https://api.github.com/users/megasoft78/gists{/gist_id}","starred_url":"https://api.github.com/users/megasoft78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megasoft78/subscriptions","organizations_url":"https://api.github.com/users/megasoft78/orgs","repos_url":"https://api.github.com/users/megasoft78/repos","events_url":"https://api.github.com/users/megasoft78/events{/privacy}","received_events_url":"https://api.github.com/users/megasoft78/received_events","type":"User","site_admin":false},"labels":[{"id":73330064,"url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222","default":true},{"id":279097562,"url":"https://api.github.com/repos/godotengine/godot/labels/platform:android","name":"platform:android","color":"dddddd","default":false},{"id":279098255,"url":"https://api.github.com/repos/godotengine/godot/labels/topic:porting","name":"topic:porting","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/7","html_url":"https://github.com/godotengine/godot/milestone/7","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/7/labels","id":2529217,"number":7,"title":"3.1","description":"","creator":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars0.githubusercontent.com/u/4701338?v=4","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"open_issues":851,"closed_issues":495,"state":"open","created_at":"2017-05-18T13:33:56Z","updated_at":"2018-03-13T10:55:18Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-03-13T06:55:04Z","updated_at":"2018-03-13T10:56:41Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI released my little word game on Google Play Store:\r\n[Falling Word](https://play.google.com/store/apps/details?id=it.megasoft78.fallingword)\r\nI also integrated ACRA into the apk to check for crashes.\r\nI'm getting the following stacktrace from ACRA when user try to buy in-app:\r\n\r\n```\r\njava.lang.RuntimeException\r\n:Failure delivering result ResultInfo{who=null, request=4097, result=0, data=null} to activity {it.megasoft78.fallingword/org.godotengine.godot.Godot}\r\n:java.lang.NullPointerException\r\n:Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference\r\nat  android.app.ActivityThread.deliverResults (ActivityThread.java : 4481)\r\nat  android.app.ActivityThread.handleSendResult (ActivityThread.java : 4524)\r\nat  android.app.ActivityThread.-wrap22ActivityThread.java\r\nat  android.app.ActivityThread$H.handleMessage (ActivityThread.java : 1691)\r\nat  android.os.Handler.dispatchMessage (Handler.java : 102)\r\nat  android.os.Looper.loop (Looper.java : 154)\r\nat  android.app.ActivityThread.main (ActivityThread.java : 6692)\r\nat  java.lang.reflect.Method.invokeNative Method\r\nat  com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java : 1468)\r\nat  com.android.internal.os.ZygoteInit.main (ZygoteInit.java : 1358)\r\nCaused by : java.lang.NullPointerException\r\n:Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference\r\nat  org.godotengine.godot.payments.HandlePurchaseTask.handlePurchaseRequest (HandlePurchaseTask.java : 64)\r\nat  org.godotengine.godot.payments.PaymentsManager.processPurchaseResponse (PaymentsManager.java : 228)\r\nat  org.godotengine.godot.Godot.onActivityResult (Godot.java : 250)\r\nat  android.app.Activity.dispatchActivityResult (Activity.java : 7226)\r\nat  android.app.ActivityThread.deliverResults (ActivityThread.java : 4477))\r\n...  9 more\r\njava.lang.NullPointerException\r\n:Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference\r\nat  org.godotengine.godot.payments.HandlePurchaseTask.handlePurchaseRequest (HandlePurchaseTask.java : 64)\r\nat  org.godotengine.godot.payments.PaymentsManager.processPurchaseResponse (PaymentsManager.java : 228)\r\nat  org.godotengine.godot.Godot.onActivityResult (Godot.java : 250)\r\nat  android.app.Activity.dispatchActivityResult (Activity.java : 7226)\r\nat  android.app.ActivityThread.deliverResults (ActivityThread.java : 4477)\r\nat  android.app.ActivityThread.handleSendResult (ActivityThread.java : 4524)\r\nat  android.app.ActivityThread.-wrap22ActivityThread.java\r\nat  android.app.ActivityThread$H.handleMessage (ActivityThread.java : 1691)\r\nat  android.os.Handler.dispatchMessage (Handler.java : 102)\r\nat  android.os.Looper.loop (Looper.java : 154)\r\nat  android.app.ActivityThread.main (ActivityThread.java : 6692)\r\nat  java.lang.reflect.Method.invokeNative Method\r\nat  com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java : 1468)\r\nat  com.android.internal.os.ZygoteInit.main (ZygoteInit.java : 1358)\r\n```\r\n\r\nThis issue doesn't happen all the times and I also tested the in-app purchase on Samsung S5 with a tester account and it's working.\r\nI'm not sure but from what I'm getting, it seems to happen on some Samsung devices.\r\n\r\nCould you please help me?\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/372626008","html_url":"https://github.com/godotengine/godot/issues/17481#issuecomment-372626008","issue_url":"https://api.github.com/repos/godotengine/godot/issues/17481","id":372626008,"user":{"login":"volzhs","id":8281454,"avatar_url":"https://avatars1.githubusercontent.com/u/8281454?v=4","gravatar_id":"","url":"https://api.github.com/users/volzhs","html_url":"https://github.com/volzhs","followers_url":"https://api.github.com/users/volzhs/followers","following_url":"https://api.github.com/users/volzhs/following{/other_user}","gists_url":"https://api.github.com/users/volzhs/gists{/gist_id}","starred_url":"https://api.github.com/users/volzhs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volzhs/subscriptions","organizations_url":"https://api.github.com/users/volzhs/orgs","repos_url":"https://api.github.com/users/volzhs/repos","events_url":"https://api.github.com/users/volzhs/events{/privacy}","received_events_url":"https://api.github.com/users/volzhs/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T10:56:41Z","updated_at":"2018-03-13T10:56:41Z","author_association":"MEMBER","body":"looks duplicated #10456\r\nand I found this https://github.com/onepf/OpenIAB/issues/233#issuecomment-45407837\r\n"}}
{"actor":{"display_login":"volzhs"}}