java.lang.RuntimeException

Failure delivering result ResultInfo{who=null, request=65637, result=-1, data=null} to activity {org.open311.android/org.open311.android.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web49096

  • via GitHub by milovanderlinden
    , 5 months ago
    Failure delivering result ResultInfo{who=null, request=65637, result=-1, data=null} to activity {org.open311.android/org.open311.android.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference
  • /com.example.mrudu.accounts.addlog}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference
  • Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.example.newcamera/com.example.newcamera.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference
  • Stack trace

    • java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=65637, result=-1, data=null} to activity {org.open311.android/org.open311.android.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference at android.app.ActivityThread.deliverResults(ActivityThread.java:3574) at android.app.ActivityThread.handleSendResult(ActivityThread.java:3617) at android.app.ActivityThread.access$1300(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1352) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference at org.open311.android.fragments.ReportFragment.onActivityResult(ReportFragment.java:971) at android.support.v4.app.FragmentActivity.onActivityResult(FragmentActivity.java:165) at org.open311.android.MainActivity.onActivityResult(MainActivity.java:232) at android.app.Activity.dispatchActivityResult(Activity.java:6193) at android.app.ActivityThread.deliverResults(ActivityThread.java:3570) ... 10 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.