org.apache.openjpa.persistence.PersistenceException: Driver:org.postgresql.Driver@1ed0e7b0 returned null for URL:undefined

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. 0

    Unable to create connection to Postgres DB in Cloud Foundry using AbstractCloudConfig connectionFactory().dataSource()

    Stack Overflow | 9 months ago | Nishanth Chakrapani
    org.apache.openjpa.persistence.PersistenceException: Driver:org.postgresql.Driver@1ed0e7b0 returned null for URL:undefined
  2. 0

    Spring boot app - How to make database connection?

    Stack Overflow | 1 year ago | Jimmy B
    org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection**; nested exception is java.sql.SQLException: Driver:com.mysql.jdbc.Driver@9ff430 returned null for URL:jdbc:mysql//localhost:3306/logsdb
  3. 0

    java.sql.SQLException: Driver:com.mysql.jdbc.Driver@54d29105 returned null for URL:${db.url}

    Stack Overflow | 8 months ago | emoleumassi
    java.sql.SQLException: Driver:com.mysql.jdbc.Driver@5d1759fb returned null for URL:${db.url}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Missing connections in tomcat jdbc connection pool

    Stack Overflow | 5 years ago | yael alfasi
    java.sql.SQLException: [IA1856] Timeout: Pool empty. Unable to fetch a connection in 1 seconds, none available[size:125; busy:90; idle:0; lastwait:1000].
  6. 0

    Jdbc error after update java 8

    Stack Overflow | 10 months ago | Nogothwen
    java.sql.SQLException: com.mysql.jdbc.Driver

  1. Axelo 12 times, last 2 months ago
  2. jpvee 6 times, last 5 months ago
  3. mortalman7 1 times, last 5 months ago
  4. pradhul 3 times, last 1 year ago
6 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.sql.SQLException

    Driver:org.postgresql.Driver@1ed0e7b0 returned null for URL:undefined

    at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver()
  2. org.apache.tomcat
    DataSourceProxy.getConnection
    1. org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:326)
    2. org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:200)
    3. org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:708)
    4. org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:642)
    5. org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:464)
    6. org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:141)
    7. org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:115)
    8. org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:102)
    9. org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:126)
    9 frames
  3. OpenJPA Aggregate Jar
    Bootstrap.newBrokerFactory
    1. org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:110)
    2. org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:86)
    3. org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:90)
    4. org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:106)
    5. org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:603)
    6. org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:1518)
    7. org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:533)
    8. org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:458)
    9. org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:121)
    10. org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:68)
    11. org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
    12. org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:967)
    13. org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:958)
    14. org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:642)
    15. org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:202)
    16. org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:184)
    17. org.apache.openjpa.kernel.AbstractBrokerFactory.postCreationCallback(AbstractBrokerFactory.java:872)
    18. org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.postCreationCallback(JDBCBrokerFactory.java:105)
    19. org.apache.openjpa.kernel.Bootstrap.newBrokerFactory(Bootstrap.java:67)
    19 frames