java.lang.RuntimeException

Failure delivering result ResultInfo{who=null, request=328091, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/video:4082 flg=0x1 }} to activity {my.app/my.app.activity.RootActivity}: java.lang.IllegalStateException


Samebug tips1

Try loading the text file into a WebView, then printing the contents of the WebView.

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


Solutions on the web43610

Solution icon of github
Failure delivering result ResultInfo{who=null, request=328091, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/video:4082 flg=0x1 }} to activity {my.app/my.app.activity.RootActivity}: java.lang.IllegalStateException

Solution icon of stackoverflow
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:3473 flg=0x1 }} to activity {test/test.MainActivity}: android.os.NetworkOnMainThreadException

Solution icon of stackoverflow
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:205520 flg=0x1 }} to activity {com.webkul.taskapp/com.webkul.taskapp.BaseActivity}: java.lang.NullPointerException: uriString

Solution icon of github
Failure delivering result ResultInfo{who=null, request=65545, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:12249 flg=0x1 }} to activity {com.ferg.awfulapp/com.ferg.awfulapp.PostReplyActivity}: java.lang.NullPointerException

Solution icon of stackoverflow
Failure delivering result ResultInfo{who=null, request=65538, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:73 flg=0x1 }} to activity {com.here.superaitaotaotv.splentemedina/com.here.superaitaotaotv.splentemedina.NewDiary}: java.lang.NullPointerException

Solution icon of web
via com.br by Unknown author, 1 year ago
Failure delivering result ResultInfo{who=null, request=0, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:12076 flg=0x1 }} to activity {com.tcc.printmobile/com.tcc.printmobile.MainActivity}: java.lang.RuntimeException: Failure from system

Solution icon of stackoverflow
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:26274 flg=0x1 }} to activity {com.example.walpaperpicker/com.example.walpaperpicker.MainActivity}: java.lang.NullPointerException

Solution icon of stackoverflow
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:41 flg=0x1 }} to activity {com.turk.bakistik/com.turk.bakistik.Profilresimyukle}: java.lang.NullPointerException

Solution icon of github
via GitHub by tmpg
, 1 year ago
Failure delivering result ResultInfo{who=null, request=99, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:1416 flg=0x1 }} to activity {com.naver.android.helloyako.imagecropsample/com.naver.android.helloyako.imagecropsample.MainActivity}: java.lang.NullPointerException: uriString

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/video:2232 flg=0x1 }} to activity {com.artqueen.mixer/com.artqueen.mixer.MainActivity}: android.database.StaleDataException: Attempted to access a cursor after it has been closed.

Stack trace

  • java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=328091, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/video:4082 flg=0x1 }} to activity {my.app/my.app.activity.RootActivity}: java.lang.IllegalStateException at android.app.ActivityThread.deliverResults(ActivityThread.java:3839) at android.app.ActivityThread.handleSendResult(ActivityThread.java:3882) at android.app.ActivityThread.access$1300(ActivityThread.java:178) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1519) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5637) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)

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

3 times, 1 week ago
9 times, 1 month ago
37 times, 1 month ago
376 times, 2 months ago
9 times, 2 months ago
171 more bugmates