java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2000, result=-1, data=Intent { dat=content://com.microsoft.skydrive.content.StorageAccessProvider/document/content://com.microsoft.skydrive.content.metadata/property/SOMEONE%40SOMETHING.COM/Items/HASHASHASH/DSC_000001.JPG flg=0x1 }} to activity {org.wordpress.android/org.wordpress.android.ui.posts.EditPostActivity}: android.os.NetworkOnMainThreadException

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.

Solutions on the web

via GitHub by maxme
, 1 year ago
Failure delivering result ResultInfo{who=null, request=2000, result=-1, data=Intent { dat=content://com.microsoft.skydrive.content.StorageAccessProvider/document/content://com.microsoft.skydrive.content.metadata/property/SOMEONE%40SOMETHING.COM
via Stack Overflow by Lito
, 1 year ago
Failure delivering result ResultInfo{who=null, request=234, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:49769 flg=0x1 }} to activity {com.example.formador.a42_camera
via Stack Overflow by tomhogenkamp
, 2 months ago
Failure delivering result ResultInfo{who=null, request=65537, result=-1, data=Intent { dat=content: flg=0x1 }} to activity {com.tomhogenkamp.personalcalc/com.tomhogenkamp.personalcalc.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.support.v4.app.FragmentActivity.getApplicationContext()' on a null object reference
via Stack Overflow by Assem Mahrous
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.google.android.apps.photos.contentprovider/-1/1/content://media/external/file/14844/ORIGINAL/NONE/827721333 flg=0x1 clip={text/uri-list U:content
via Stack Overflow by Vivian
, 1 year ago
Failure delivering result ResultInfo{who=null, request=400, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:104460 flg=0x1 }} to activity {com.example.user.cameratoserver
via GitHub by audax
, 1 year ago
Failure delivering result ResultInfo{who=android:fragment:8, request=1, result=-1, data=Intent { dat=content://com.android.externalstorage.documents/document/primary:KA-50 checklist.zip flg=0x43 }} to activity {de.qabel.qabel.debug/de.qabel.qabelbox.activities.MainActivity}: java.util.IllegalFormatConversionException: %A can't format [Ljava.lang.Object; arguments
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2000, result=-1, data=Intent { dat=content://com.microsoft.skydrive.content.StorageAccessProvider/document/content://com.microsoft.skydrive.content.metadata/property/SOMEONE%40SOMETHING.COM/Items/HASHASHASH/DSC_000001.JPG flg=0x1 }} to activity {org.wordpress.android/org.wordpress.android.ui.posts.EditPostActivity}: android.os.NetworkOnMainThreadException
at android.app.ActivityThread.deliverResults(ActivityThread.java:3798)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3841)
at android.app.ActivityThread.access$1400(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:5526)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

Users with the same issue

Once, 1 month ago
2 times, 6 months ago
6 times, 11 months ago
81 times, 1 year ago
2 times, 1 year ago

Write tip

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