java.lang.ExceptionInInitializerError

Stack Overflow | David Sykes | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    NoClassDefFoundError using mahout

    Stack Overflow | 4 years ago | emab
    java.lang.ExceptionInInitializerError

    5 unregistered visitors
    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. java.lang.IllegalStateException

      Detected both log4j-over-slf4j.jar AND bound slf4j-log4j12.jar on the class path, preempting StackOverflowError. See also http://www.slf4j.org/codes.html#log4jDelegationLoop for more details.

      at org.slf4j.impl.Log4jLoggerFactory.<clinit>()
    2. SLF4J LOG4J-12 Binding
      StaticLoggerBinder.<clinit>
      1. org.slf4j.impl.Log4jLoggerFactory.<clinit>(Log4jLoggerFactory.java:54)
      2. org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:72)
      3. org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:45)
      3 frames
    3. SLF4J API Module
      LoggerFactory.getLogger
      1. org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
      2. org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
      3. org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)
      4. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
      5. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
      5 frames
    4. sso
      HomePageServlet.<clinit>
      1. sso.HomePageServlet.<clinit>(HomePageServlet.java:23)
      1 frame
    5. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      5. java.lang.Class.newInstance(Class.java:442)
      5 frames
    6. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
      2. org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:428)
      3. org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
      4. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      5. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
      6. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      7. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      8. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      9. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440)
      10. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      11. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      12. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      13. org.mortbay.jetty.Server.handle(Server.java:326)
      14. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      15. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
      16. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
      17. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      18. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      19. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
      19 frames
    7. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame