java.lang.RuntimeException: Unable to resume activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=18, result=-1, data=Intent { dat=content://media/external/images/media/363 flg=0x1 }} to activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.NullPointerException

JIRA | Hirbod | 1 year ago
  1. 0

    Hi, I've updated crosswalk today to fix the localstorage bug. This works fine so far, but now, the app crashes as soons as I want to choose a picture. The picture picker opens, but will crash or "reload" the app on return (crash despens on picture gallery) I get this: W/ActivityThread(17088): Application net.nachbarschaft can be debugged on port 8100... D/WindowManager( 959): Input focus has changed to null I/CordovaLog(17088): Changing log level to DEBUG(3) D/XWalkLib(17088): Pre init xwalk core in net.nachbarschaft.MainActivity D/CordovaActivity(17088): Incoming Result D/CordovaActivity(17088): Request code = 18 D/AndroidRuntime(17088): Shutting down VM W/dalvikvm(17088): threadid=1: thread exiting with uncaught exception (group=0x4158bd88) E/test (17088): Exception E/AndroidRuntime(17088): FATAL EXCEPTION: main E/AndroidRuntime(17088): Process: net.nachbarschaft, PID: 17088 E/AndroidRuntime(17088): java.lang.RuntimeException: Unable to resume activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=18, result=-1, data=Intent { dat=content://media/external/images/media/363 flg=0x1 }} to activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.NullPointerException E/AndroidRuntime(17088): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2883) E/AndroidRuntime(17088): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2912) E/AndroidRuntime(17088): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2334) E/AndroidRuntime(17088): at android.app.ActivityThread.access$800(ActivityThread.java:145) E/AndroidRuntime(17088): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265) E/AndroidRuntime(17088): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(17088): at android.os.Looper.loop(Looper.java:136) E/AndroidRuntime(17088): at android.app.ActivityThread.main(ActivityThread.java:5214) E/AndroidRuntime(17088): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(17088): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime(17088): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:814) E/AndroidRuntime(17088): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:630) E/AndroidRuntime(17088): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(17088): Caused by: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=18, result=-1, data=Intent { dat=content://media/external/images/media/363 flg=0x1 }} to activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.NullPointerException E/AndroidRuntime(17088): at android.app.ActivityThread.deliverResults(ActivityThread.java:3522) E/AndroidRuntime(17088): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2870) E/AndroidRuntime(17088): ... 12 more E/AndroidRuntime(17088): Caused by: java.lang.NullPointerException E/AndroidRuntime(17088): at org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:837) E/AndroidRuntime(17088): at android.app.Activity.dispatchActivityResult(Activity.java:5423) E/AndroidRuntime(17088): at android.app.ActivityThread.deliverResults(ActivityThread.java:3518) E/AndroidRuntime(17088): ... 13 more W/ActivityManager( 959): Force finishing activity net.nachbarschaft/.MainActivity V/WindowManager( 959): Pausing WindowToken AppWindowToken{4203e540 token=Token{42543ae8 ActivityRecord{4287b288 u0 net.nachbarschaft/.MainActivity t33}}} D/WindowManager( 959): Input focus has changed to Window{42029e58 u0 Application Error: net.nachbarschaft} What happened? Did I something wrong on the upgrade process or what?

    JIRA | 1 year ago | Hirbod
    java.lang.RuntimeException: Unable to resume activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=18, result=-1, data=Intent { dat=content://media/external/images/media/363 flg=0x1 }} to activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.NullPointerException
  2. 0

    Hi, I've updated crosswalk today to fix the localstorage bug. This works fine so far, but now, the app crashes as soons as I want to choose a picture. The picture picker opens, but will crash or "reload" the app on return (crash despens on picture gallery) I get this: W/ActivityThread(17088): Application net.nachbarschaft can be debugged on port 8100... D/WindowManager( 959): Input focus has changed to null I/CordovaLog(17088): Changing log level to DEBUG(3) D/XWalkLib(17088): Pre init xwalk core in net.nachbarschaft.MainActivity D/CordovaActivity(17088): Incoming Result D/CordovaActivity(17088): Request code = 18 D/AndroidRuntime(17088): Shutting down VM W/dalvikvm(17088): threadid=1: thread exiting with uncaught exception (group=0x4158bd88) E/test (17088): Exception E/AndroidRuntime(17088): FATAL EXCEPTION: main E/AndroidRuntime(17088): Process: net.nachbarschaft, PID: 17088 E/AndroidRuntime(17088): java.lang.RuntimeException: Unable to resume activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=18, result=-1, data=Intent { dat=content://media/external/images/media/363 flg=0x1 }} to activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.NullPointerException E/AndroidRuntime(17088): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2883) E/AndroidRuntime(17088): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2912) E/AndroidRuntime(17088): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2334) E/AndroidRuntime(17088): at android.app.ActivityThread.access$800(ActivityThread.java:145) E/AndroidRuntime(17088): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265) E/AndroidRuntime(17088): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(17088): at android.os.Looper.loop(Looper.java:136) E/AndroidRuntime(17088): at android.app.ActivityThread.main(ActivityThread.java:5214) E/AndroidRuntime(17088): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(17088): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime(17088): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:814) E/AndroidRuntime(17088): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:630) E/AndroidRuntime(17088): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(17088): Caused by: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=18, result=-1, data=Intent { dat=content://media/external/images/media/363 flg=0x1 }} to activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.NullPointerException E/AndroidRuntime(17088): at android.app.ActivityThread.deliverResults(ActivityThread.java:3522) E/AndroidRuntime(17088): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2870) E/AndroidRuntime(17088): ... 12 more E/AndroidRuntime(17088): Caused by: java.lang.NullPointerException E/AndroidRuntime(17088): at org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:837) E/AndroidRuntime(17088): at android.app.Activity.dispatchActivityResult(Activity.java:5423) E/AndroidRuntime(17088): at android.app.ActivityThread.deliverResults(ActivityThread.java:3518) E/AndroidRuntime(17088): ... 13 more W/ActivityManager( 959): Force finishing activity net.nachbarschaft/.MainActivity V/WindowManager( 959): Pausing WindowToken AppWindowToken{4203e540 token=Token{42543ae8 ActivityRecord{4287b288 u0 net.nachbarschaft/.MainActivity t33}}} D/WindowManager( 959): Input focus has changed to Window{42029e58 u0 Application Error: net.nachbarschaft} What happened? Did I something wrong on the upgrade process or what?

    JIRA | 1 year ago | Hirbod
    java.lang.RuntimeException: Unable to resume activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=18, result=-1, data=Intent { dat=content://media/external/images/media/363 flg=0x1 }} to activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.NullPointerException
  3. 0

    "FATAL EXCEPTION: main" on success callback for camera in cordova

    Stack Overflow | 2 years ago | Vishal Singh
    java.lang.RuntimeException: Unable to resume activity {com.CameraOptionApp/com.CameraOptionApp.CameraOptionApp}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=18, result=-1, data=Intent { dat=content://media/external/images/media/5027 }} to activity {com.CameraOptionApp/com.CameraOptionApp.CameraOptionApp}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Simon Mac Donald: Change to Camera code in PhoneGap 1.9.0

    blogspot.com | 5 months ago
    java.lang.RuntimeException: Unable to resume activity {com.dansmart.geosight/com.dansmart.geosight.Geosight}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=34, result=-1, data=null} to activity {com.dansmart.geosight/com.dansmart.geosight.Geosight}: java.lang.NullPointerException
  6. 0

    Cordova android App crashes when selecting an image from camera roll in some devices

    Stack Overflow | 1 year ago | Susitha
    java.lang.RuntimeException: Unable to resume activity {com.company.myapp/com.company.myapp.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=18, result=-1, data=Intent { dat=content://media/external/images/media/12659 flg=0x1 }} to activity {com.company.myapp/com.company.myapp.MainActivity}: java.lang.NullPointerException

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.cordova.CordovaActivity.onActivityResult()
    2. org.apache.cordova
      CordovaActivity.onActivityResult
      1. org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:837)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.dispatchActivityResult(Activity.java:5423)
      2. android.app.ActivityThread.deliverResults(ActivityThread.java:3518)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:2870)
      4. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2912)
      5. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2334)
      6. android.app.ActivityThread.access$800(ActivityThread.java:145)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
      8. android.os.Handler.dispatchMessage(Handler.java:102)
      9. android.os.Looper.loop(Looper.java:136)
      10. android.app.ActivityThread.main(ActivityThread.java:5214)
      10 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:814)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:630)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame