java.lang.NullPointerException

GitHub | ceeker | 3 months ago
  1. 0

    TomEE DataSource isn't found

    Stack Overflow | 4 years ago | Robin Jonsson
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. Justin 1 times, last 5 months ago
1 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.NullPointerException

    No message provided

    at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol()
  2. sun.jdbc.odbc
    JdbcOdbcDriver.acceptsURL
    1. sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:524)
    2. sun.jdbc.odbc.JdbcOdbcDriver.knownURL(JdbcOdbcDriver.java:493)
    3. sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(JdbcOdbcDriver.java:307)
    3 frames
  3. Java RT
    DriverManager.getDriver
    1. java.sql.DriverManager.getDriver(DriverManager.java:273)
    1 frame
  4. c3p0:JDBC DataSources/Resource Pools
    BasicResourcePool$ScatteredAcquireTask.run
    1. com.mchange.v2.c3p0.DriverManagerDataSource.driver(DriverManagerDataSource.java:285)
    2. com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:161)
    3. com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:161)
    4. com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:147)
    5. com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:202)
    6. com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)
    7. com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)
    8. com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
    9. com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)
    9 frames