java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Failed to remote server SQL SERVER using jdts
    via Stack Overflow by Agoeng Liu
    ,
  • Android SOAP wsdl
    via Stack Overflow by user2742861
    ,
  • Android HttpGet request
    via Stack Overflow by user2576008
    ,
  • Android - HttpResponse not executing
    via Stack Overflow by GeertG
    ,
  • Android service failing on BOOT
    via Stack Overflow by PH90
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.avian.apps.avian/com.avian.apps.avian.LoginActivity}: android.os.NetworkOnMainThreadException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2186) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2236) at android.app.ActivityThread.access$600(ActivityThread.java:145) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5099) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:803) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:570) at dalvik.system.NativeStart.main(Native Method) Caused by: android.os.NetworkOnMainThreadException at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1118) at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:84) at libcore.io.IoBridge.connectErrno(IoBridge.java:131) at libcore.io.IoBridge.connect(IoBridge.java:116) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459) at java.net.Socket.connect(Socket.java:847) at net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSocket.java:288) at net.sourceforge.jtds.jdbc.SharedSocket.<init>(SharedSocket.java:251) at net.sourceforge.jtds.jdbc.JtdsConnection.<init>(JtdsConnection.java:331) at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184) at java.sql.DriverManager.getConnection(DriverManager.java:175) at java.sql.DriverManager.getConnection(DriverManager.java:209) at com.avian.apps.avian.ConnectionClass.getConnection(ConnectionClass.java:25) at com.avian.apps.avian.LoginActivity.onCreate(LoginActivity.java:36) at android.app.Activity.performCreate(Activity.java:5117) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2150) ... 11 more

    Users with the same issue

    Hiren Amaliyar
    6 times, last one,
    Indri Yunita
    6 times, last one,
    justCodeit
    7 times, last one,
    Adrien
    4 times, last one,
    bluebunnty
    2 times, last one,
    38 more bugmates