java.lang.IllegalStateException

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Trying to send http request from Tomcat servlet to another server, Stuck on HttpClientBuilder.create().build();

    Stack Overflow | 1 month ago | Pini Cheyni
    java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.apache.http.impl.client.HttpClientBuilder]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.

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