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

Solutions on the web

via Appcelerator JIRA by Stefan Axelsson, 1 year ago
Unable to start activity ComponentInfo{com.derp.herp/com.derp.herp.HerpderpActivity}: android.os.NetworkOnMainThreadException
via Appcelerator JIRA by Stefan Axelsson, 2 years ago
Unable to start activity ComponentInfo{com.derp.herp/com.derp.herp.HerpderpActivity}: android.os.NetworkOnMainThreadException
via Stack Overflow by chriswins2much
, 2 years ago
Unable to start activity ComponentInfo{com.chriswins2much.Util/com.chriswins2much.Util.LogMeInClientActivity}: android.os.NetworkOnMainThreadException
via Stack Overflow by user98239820
, 2 years ago
Unable to start activity ComponentInfo{org.yipl.rssfeed/org.yipl.rssfeed.News}: android.os.NetworkOnMainThreadException
via Stack Overflow by fsdf fsd
, 1 year ago
Unable to start activity ComponentInfo{com.example.market/com.example.market.MainActivity}: android.os.NetworkOnMainThreadException
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.derp.herp/com.derp.herp.HerpderpActivity}: android.os.NetworkOnMainThreadException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059)[AndroidRuntime( 1015)] at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)[AndroidRuntime( 1015)] at android.app.ActivityThread.access$600(ActivityThread.java:130)[AndroidRuntime( 1015)] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)[AndroidRuntime( 1015)] at android.os.Handler.dispatchMessage(Handler.java:99)[AndroidRuntime( 1015)] at android.os.Looper.loop(Looper.java:137)[AndroidRuntime( 1015)] at android.app.ActivityThread.main(ActivityThread.java:4745)[AndroidRuntime( 1015)] at java.lang.reflect.Method.invokeNative(Native Method)[AndroidRuntime( 1015)] at java.lang.reflect.Method.invoke(Method.java:511)[AndroidRuntime( 1015)] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)[AndroidRuntime( 1015)] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)[AndroidRuntime( 1015)] at dalvik.system.NativeStart.main(Native Method)[AndroidRuntime( 1015)]Caused by: android.os.NetworkOnMainThreadException at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1117)[AndroidRuntime( 1015)] at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:163)[AndroidRuntime( 1015)] at libcore.io.IoBridge.recvfrom(IoBridge.java:513)[AndroidRuntime( 1015)] at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)[AndroidRuntime( 1015)] at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)[AndroidRuntime( 1015)] at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)[AndroidRuntime( 1015)] at org.appcelerator.kroll.common.TiFastDev$Session.blockRead(TiFastDev.java:310)[AndroidRuntime( 1015)] at org.appcelerator.kroll.common.TiFastDev$Session.readInt(TiFastDev.java:349)[AndroidRuntime( 1015)] at org.appcelerator.kroll.common.TiFastDev$Session.readTokenCount(TiFastDev.java:412)[AndroidRuntime( 1015)] at org.appcelerator.kroll.common.TiFastDev.openInputStream(TiFastDev.java:214)[AndroidRuntime( 1015)] at org.appcelerator.kroll.util.KrollAssetHelper.readAsset(KrollAssetHelper.java:53)[AndroidRuntime( 1015)] at org.appcelerator.titanium.TiLaunchActivity.loadActivityScript(TiLaunchActivity.java:104)[AndroidRuntime( 1015)] at org.appcelerator.titanium.TiLaunchActivity.windowCreated(TiLaunchActivity.java:152)[AndroidRuntime( 1015)] at org.appcelerator.titanium.TiRootActivity.windowCreated(TiRootActivity.java:109)[AndroidRuntime( 1015)] at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:502)[AndroidRuntime( 1015)] at org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:145)[AndroidRuntime( 1015)] at org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:97)[AndroidRuntime( 1015)] at android.app.Activity.performCreate(Activity.java:5008)[AndroidRuntime( 1015)] at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)[AndroidRuntime( 1015)] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)[AndroidRuntime( 1015)] ... 11 more