{"action":"created","issue":{"url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/63","labels_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/63/comments","events_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/63/events","html_url":"https://github.com/jeduan/cordova-plugin-facebook4/issues/63","id":110105897,"number":63,"title":"appInvite crash on Android (only when triggered back-button or hit X)","user":{"login":"Hirbod","id":504909,"avatar_url":"https://avatars.githubusercontent.com/u/504909?v=3","gravatar_id":"","url":"https://api.github.com/users/Hirbod","html_url":"https://github.com/Hirbod","followers_url":"https://api.github.com/users/Hirbod/followers","following_url":"https://api.github.com/users/Hirbod/following{/other_user}","gists_url":"https://api.github.com/users/Hirbod/gists{/gist_id}","starred_url":"https://api.github.com/users/Hirbod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hirbod/subscriptions","organizations_url":"https://api.github.com/users/Hirbod/orgs","repos_url":"https://api.github.com/users/Hirbod/repos","events_url":"https://api.github.com/users/Hirbod/events{/privacy}","received_events_url":"https://api.github.com/users/Hirbod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-06T21:33:07Z","updated_at":"2015-11-08T05:53:29Z","closed_at":null,"body":"@jeduan, app will crash.\r\n\r\nNewest Version installed. I'm on Crosswalk (Don't think that this is related)\r\n\r\n```bash\r\njava.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=64213, result=-1, data=Intent { (has extras) }} to activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.error(org.json.JSONObject)' on a null object reference\r\nE/AndroidRuntime( 4007): \tat android.app.ActivityThread.deliverResults(ActivityThread.java:3539)\r\nE/AndroidRuntime( 4007): \tat android.app.ActivityThread.handleSendResult(ActivityThread.java:3582)\r\nE/AndroidRuntime( 4007): \tat android.app.ActivityThread.access$1300(ActivityThread.java:144)\r\nE/AndroidRuntime( 4007): \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1327)\r\nE/AndroidRuntime( 4007): \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\nE/AndroidRuntime( 4007): \tat android.os.Looper.loop(Looper.java:135)\r\nE/AndroidRuntime( 4007): \tat android.app.ActivityThread.main(ActivityThread.java:5221)\r\nE/AndroidRuntime( 4007): \tat java.lang.reflect.Method.invoke(Native Method)\r\nE/AndroidRuntime( 4007): \tat java.lang.reflect.Method.invoke(Method.java:372)\r\nE/AndroidRuntime( 4007): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)\r\nE/AndroidRuntime( 4007): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)\r\nE/AndroidRuntime( 4007): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.error(org.json.JSONObject)' on a null object reference\r\nE/AndroidRuntime( 4007): \tat org.apache.cordova.facebook.ConnectPlugin.handleError(ConnectPlugin.java:724)\r\nE/AndroidRuntime( 4007): \tat org.apache.cordova.facebook.ConnectPlugin.access$300(ConnectPlugin.java:52)\r\nE/AndroidRuntime( 4007): \tat org.apache.cordova.facebook.ConnectPlugin$6.onCancel(ConnectPlugin.java:223)\r\nE/AndroidRuntime( 4007): \tat com.facebook.share.widget.AppInviteDialog$1.onSuccess(AppInviteDialog.java:147)\r\nE/AndroidRuntime( 4007): \tat com.facebook.share.internal.ShareInternalUtility.handleActivityResult(ShareInternalUtility.java:174)\r\nE/AndroidRuntime( 4007): \tat com.facebook.share.widget.AppInviteDialog$2.onActivityResult(AppInviteDialog.java:157)\r\nE/AndroidRuntime( 4007): \tat com.facebook.internal.CallbackManagerImpl.onActivityResult(CallbackManagerImpl.java:82)\r\nE/AndroidRuntime( 4007): \tat org.apache.cordova.facebook.ConnectPlugin.onActivityResult(ConnectPlugin.java:251)\r\nE/AndroidRuntime( 4007): \tat org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120)\r\nE/AndroidRuntime( 4007): \tat org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:353)\r\nE/AndroidRuntime( 4007): \tat android.app.Activity.dispatchActivityResult(Activity.java:6135)\r\nE/AndroidRuntime( 4007): \tat android.app.ActivityThread.deliverResults(ActivityThread.java:3535)\r\nE/AndroidRuntime( 4007): \t... 10 more\r\nW/ActivityManager(  733):   Force finishing activity net.nachbarschaft/.MainActivity\r\n```"},"comment":{"url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/comments/154777176","html_url":"https://github.com/jeduan/cordova-plugin-facebook4/issues/63#issuecomment-154777176","issue_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/63","id":154777176,"user":{"login":"bau720123","id":5110085,"avatar_url":"https://avatars.githubusercontent.com/u/5110085?v=3","gravatar_id":"","url":"https://api.github.com/users/bau720123","html_url":"https://github.com/bau720123","followers_url":"https://api.github.com/users/bau720123/followers","following_url":"https://api.github.com/users/bau720123/following{/other_user}","gists_url":"https://api.github.com/users/bau720123/gists{/gist_id}","starred_url":"https://api.github.com/users/bau720123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bau720123/subscriptions","organizations_url":"https://api.github.com/users/bau720123/orgs","repos_url":"https://api.github.com/users/bau720123/repos","events_url":"https://api.github.com/users/bau720123/events{/privacy}","received_events_url":"https://api.github.com/users/bau720123/received_events","type":"User","site_admin":false},"created_at":"2015-11-08T05:53:29Z","updated_at":"2015-11-08T05:53:29Z","body":"+1"}}