java.lang.RuntimeException

Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.hipswap.test/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web66

  • via Unknown by Mauro Parra-Miranda,
  • via Unknown by Mauro Parra-Miranda,
  • Stack trace

    • java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.hipswap.test/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException at android.app.ActivityThread.deliverResults(ActivityThread.java:2532) at android.app.ActivityThread.handleSendResult(ActivityThread.java:2574) at android.app.ActivityThread.access$2000(ActivityThread.java:117) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:961) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3683) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at android.content.ContentResolver.acquireProvider(ContentResolver.java:743) at android.content.ContentResolver.query(ContentResolver.java:256) at ti.modules.titanium.media.MediaModule$CameraResultHandler.onResult(MediaModule.java:338) at org.appcelerator.titanium.util.TiActivitySupportHelper$1.onResult(TiActivitySupportHelper.java:51) at org.appcelerator.titanium.util.TiActivitySupportHelper.onActivityResult(TiActivitySupportHelper.java:67) at org.appcelerator.titanium.TiBaseActivity.onActivityResult(TiBaseActivity.java:423) at android.app.Activity.dispatchActivityResult(Activity.java:3908) at android.app.ActivityThread.deliverResults(ActivityThread.java:2528) ... 11 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

    Unknown visitor
    Unknown visitorOnce,
    Unknown UserUnknown User
    4 times, last one
    filipebatistafilipebatista
    2 times, last one
    Indri YunitaIndri Yunita
    2 times, last one
    Stefan BrauneStefan Braune
    Once,
    1 more bugmates