java.lang.ExceptionInInitializerError

apache.org | 4 months ago
  1. 0

    Restlet error on Android with get() method

    Stack Overflow | 2 years ago | larsfede
    android.os.NetworkOnMainThreadException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    In Android,Email Notification is not working

    Stack Overflow | 7 months ago | Abhishek
    android.os.NetworkOnMainThreadException
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.os.NetworkOnMainThreadException

    No message provided

    at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork()
  2. Android Platform
    StrictMode$AndroidBlockGuardPolicy.onNetwork
    1. android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1145)
    1 frame
  3. Java RT
    InetAddress.getLocalHost
    1. java.net.InetAddress.lookupHostByName(InetAddress.java:385)
    2. java.net.InetAddress.getLocalHost(InetAddress.java:365)
    2 frames
  4. Apache Log4j Core
    Log4jContextFactory.getContext
    1. org.apache.logging.log4j.core.util.NetUtils.getLocalHostname(NetUtils.java:47)
    2. org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:356)
    3. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:416)
    4. org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:146)
    5. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:75)
    6. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:37)
    6 frames
  5. Apache Log4j API
    LogManager.getLogger
    1. org.apache.logging.log4j.LogManager.getLogger(LogManager.java:473)
    1 frame
  6. com.torointl.log4j2xtest
    MyActivity.<clinit>
    1. com.torointl.log4j2xtest.MyActivity.<clinit>(MyActivity.java:14)
    1 frame
  7. Java RT
    Class.newInstance
    1. java.lang.Class.newInstanceImpl(Native Method)
    2. java.lang.Class.newInstance(Class.java:1208)
    2 frames
  8. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.newActivity(Instrumentation.java:1061)
    2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2112)
    3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
    4. android.app.ActivityThread.access$800(ActivityThread.java:135)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
    6. android.os.Handler.dispatchMessage(Handler.java:102)
    7. android.os.Looper.loop(Looper.java:136)
    8. android.app.ActivityThread.main(ActivityThread.java:5017)
    8 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame