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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by CommonsWare

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

,

IllegalArgumentException in Java. This exception is thrown in order to indicate that a method has been passed an illegal or inappropriate argument.

Solutions on the web

via GitHub by geared554
, 6 months ago
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
via Stack Overflow by Vikas Tiwari
, 2 months ago
Failure delivering result ResultInfo{who=android:fragment:0, request=1, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:51 flg=0x1 }} to activity {com.example/com.scanlibrary.ScanActivity}: java.lang.NullPointerException: uriString
via Stack Overflow by Mohammad
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:53573 flg=0x1 }} to activity {com.myapp/com.myapp.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
via Stack Overflow by Manpreet Singh
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:21776 flg=0x1 }} to activity {com.example.manpreetsingh.gridviewimages/com.example.manpreetsingh.gridviewimages.MainActivity}: android.content.res.Resources$NotFoundException: String resource ID #0x0
via Stack Overflow by GuiPab
, 1 year ago
Failure delivering result ResultInfo{who=null, request=65539, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:4904 flg=0x1 }} to activity {com.inthecheesefactory.lab.designlibrary
via Stack Overflow by Laurenswuyts
, 1 year ago
Failure delivering result ResultInfo{who=null, request=65537, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:2810 flg=0x1 }} to activity {com.laurenswuyts.witpa
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)

Users with the same issue

Once, 3 weeks ago
2 times, 5 months ago
6 times, 10 months ago
81 times, 11 months ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.