java.sql.SQLException: Java exception: 'null: java.lang.NullPointerException'. at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(SQLExc eptionFactory.java:112) at org.apache.derby.client.am.SqlException.getSQLException(SqlException. java:321)

db-derby-dev | Mamta A. Satoor (JIRA) | 3 years 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

    [jira] [Updated] (DERBY-4805) Increase the length of the RDBNAM field in the DRDA implementation

    db-derby-dev | 3 years ago | Mamta A. Satoor (JIRA)
    java.sql.SQLException: Java exception: 'null: java.lang.NullPointerException'. at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(SQLExc eptionFactory.java:112) at org.apache.derby.client.am.SqlException.getSQLException(SqlException. java:321)
  2. 0

    Re: XBM0J Directory already exists

    db-derby-user | 7 years ago | Sylvain Leroux
    java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ041, SQLERRMC: Failed to create database 'C:\verteilcenter\db\licenses', see the next exception for details.::SQLSTATE: XBM0JDirectory C:\Development\Galileo\SR1\eclipse\C:\verteilcenter\db\licenses already exists. at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
  3. 0

    Re: XBM0J Directory already exists

    db-derby-user | 7 years ago | Damian Hofmann
    java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ041, SQLERRMC: Failed to create database 'C:\verteilcenter\db\licenses', see the next exception for details.::SQLSTATE: XBM0JDirectory C:\Development\Galileo\SR1\eclipse\C:\verteilcenter\db\licenses already exists. at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      Java exception: 'null: java.lang.NullPointerException'. at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(SQLExc eptionFactory.java:112) at org.apache.derby.client.am.SqlException.getSQLException(SqlException. java:321)

      at org.apache.derby.jdbc.ClientDriver.connect()
    2. Derby
      ClientDriver.connect
      1. org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:176)
      1 frame
    3. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:419)
      2. java.sql.DriverManager.getConnection(DriverManager.java:391)
      2 frames
    4. Embedded GlassFish Web
      ij.ijStatement
      1. org.apache.derby.impl.tools.ij.ij.dynamicConnection(ij.java:1483)
      2. org.apache.derby.impl.tools.ij.ij.ConnectStatement(ij.java:1313)
      3. org.apache.derby.impl.tools.ij.ij.ijStatement(ij.java:1101)
      3 frames