java.sql.SQLException: The url cannot be null

Oracle Community | 3004 | 1 decade 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. 0

    ConnectionFactoryName and ConnectionURL properties bug

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: The url cannot be null
  2. 0

    Spring Boot two databases

    Stack Overflow | 2 years ago | Fabio Ebner
    java.sql.SQLException: The url cannot be null
  3. 0

    GitHub comment 5909#218197157

    GitHub | 11 months ago | kiview
    java.sql.SQLException: The url cannot be null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JDBC URL is null?

    Stack Overflow | 4 years ago | dtrunk
    java.sql.SQLException: The url cannot be null

  1. DoktorDoener666 1 times, last 2 months ago
  2. jpvee 5 times, last 4 months ago
  3. andyglick 1 times, last 4 months ago
  4. jshakil 1 times, last 6 months ago
  5. linxiaolong 9416 times, last 1 week ago
2 more registered users
51 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

    The url cannot be null

    at java.sql.DriverManager.getConnection()
  2. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:494)
    2. java.sql.DriverManager.getConnection(DriverManager.java:199)
    2 frames
  3. com.solarmetric.kodo
    EEPersistenceManagerFactory.getPersistenceManagerFactory
    1. com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.connect(UnknownSource)
    2. com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.<init>(UnknownSource)
    3. com.solarmetric.kodo.impl.jdbc.datasource.ConnectionImpl.<init>(UnknownSource)
    4. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.<init>(Unknown Source)
    5. com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.loadPersistentTypes(Unknown Source)
    6. com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory.setup(UnknownSource)
    7. com.solarmetric.kodo.runtime.PersistenceManagerFactoryImpl.freeze(UnknownSource)
    8. com.solarmetric.kodo.impl.jdbc.ee.EEPersistenceManagerFactory.getPersistenceManagerFactory(Unknown Source)
    8 frames
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  5. JDO API
    JDOHelper.getPersistenceManagerFactory
    1. javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:263)
    2. javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:218)
    2 frames
  6. com.fs.wf
    TestJDO.setUp
    1. com.fs.wf.impl.jdo.TestJDO.setUp(TestJDO.java:68)
    1 frame
  7. JUnit
    TestSuite.run
    1. junit.framework.TestCase.runBare(TestCase.java:138)
    2. junit.framework.TestResult$1.protect(TestResult.java:106)
    3. junit.framework.TestResult.runProtected(TestResult.java:124)
    4. junit.framework.TestResult.run(TestResult.java:109)
    5. junit.framework.TestCase.run(TestCase.java:131)
    6. junit.framework.TestSuite.runTest(TestSuite.java:173)
    7. junit.framework.TestSuite.run(TestSuite.java:168)
    7 frames
  8. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:326)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:216)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner..java:151)
    3 frames