java.lang.IllegalStateException

  1. 0

    Tomcat not starting due to threadlocal issue

    Stack Overflow | 9 months ago | Mitaksh Gupta
    java.lang.IllegalStateException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. serious2monkeys 2 times, last 2 months ago
  2. linxiaolong 1 times, last 3 months ago
  3. ruifung 967 times, last 3 months ago
  4. treefolk 12 times, last 2 weeks ago
  5. linxiaolong 1 times, last 4 weeks ago
2 more registered users
31 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

    No message provided

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
  2. Glassfish Core
    WebappClassLoaderBase.loadClass
    1. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1743)
    2. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)
    2 frames
  3. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:264)
    2 frames
  4. MySQL jdbc
    JDBC4Connection.<init>
    1. com.mysql.jdbc.Util.getInstance(Util.java:381)
    2. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    4. com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1095)
    5. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2031)
    6. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:718)
    7. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
    7 frames
  5. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor125.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    3 frames
  6. MySQL jdbc
    NonRegisteringDriver.connect
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
    3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
    3 frames
  7. c3p0:JDBC DataSources/Resource Pools
    ThreadPoolAsynchronousRunner$PoolThread.run
    1. com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:135)
    2. com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)
    3. com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
    4. com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
    5. com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
    6. com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
    7. com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
    8. com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
    8 frames