java.sql.SQLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Re: Failed to start database
    via by tom_,
  • Failed to start database
    via by tom_,
  • SQLChar.getCollationKey NPE in index-stat-thread
    via by Jean-Yves Linet,
    • java.sql.SQLException: Failed to start database '/Programme/Chemikalienverzeichnis-Einzelplatz/db/chev21', see the next exception for details. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:95) at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:88) at org.apache.derby.impl.jdbc.Util.seeNextException(Util.java:224) at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java:1903) at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:255) at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.java:73) at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(EmbedConnection40.java:54) at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Driver40.java:68) at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.java:209) at org.apache.derby.jdbc.EmbeddedDriver.connect(EmbeddedDriver.java:128) at org.executequery.datasource.ConnectionDataSource.getConnection(ConnectionDataSource.java:290) at org.executequery.datasource.ConnectionDataSource.getConnection(ConnectionDataSource.java:267) at org.executequery.datasource.ConnectionPool.ensureCapacity(ConnectionPool.java:291) at org.executequery.datasource.ConnectionManager.createDataSource(ConnectionManager.java:90) at org.executequery.databasemediators.ConnectionBuilder.connect(ConnectionBuilder.java:133) at org.executequery.databasemediators.ConnectionBuilder.access$000(ConnectionBuilder.java:44) at org.executequery.databasemediators.ConnectionBuilder$1.construct(ConnectionBuilder.java:117) at org.underworldlabs.swing.util.SwingWorker$2.run(SwingWorker.java:138) at java.lang.Thread.run(Thread.java:619) Caused by: java.sql.SQLException: Failed to start database '/Programme/Chemikalienverzeichnis-Einzelplatz/db/chev21', see the next exception for details. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.java:135) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:70) ... 18 more Caused by: java.sql.SQLException: Java exception: ': java.lang.NullPointerException'. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.java:135) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:70) at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:88) at org.apache.derby.impl.jdbc.Util.javaException(Util.java:245) at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java:1899) ... 15 more Caused by: java.lang.NullPointerException at org.apache.derby.iapi.types.SQLChar.getCollationKey(SQLChar.java:2516) at org.apache.derby.iapi.types.WorkHorseForCollatorDatatypes.stringCompare(WorkHorseForCollatorDatatypes.java:88) at org.apache.derby.iapi.types.CollatorSQLVarchar.stringCompare(CollatorSQLVarchar.java:159) at org.apache.derby.iapi.types.SQLChar.compare(SQLChar.java:902) at org.apache.derby.impl.store.access.btree.ControlRow.compareIndexRowToKey(ControlRow.java:1354) at org.apache.derby.impl.store.access.btree.index.B2IUndo.findUndo(B2IUndo.java:221) at org.apache.derby.impl.store.raw.data.LogicalPageOperation.findLogicalPage(LogicalPageOperation.java:358) at org.apache.derby.impl.store.raw.data.LogicalPageOperation.generateUndo(LogicalPageOperation.java:164) at org.apache.derby.impl.store.raw.log.FileLogger.undo(FileLogger.java:991) at org.apache.derby.impl.store.raw.xact.Xact.abort(Xact.java:933) at org.apache.derby.impl.store.raw.xact.XactFactory.rollbackAllTransactions(XactFactory.java:529) at org.apache.derby.impl.store.raw.log.LogToFile.recover(LogToFile.java:1100) at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.java:309) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:1992) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:546) at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:419) at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.java:985) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:1992) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:546) at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:419) at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.java:759) at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.java:190) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:1992) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291) at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java:1829) at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(BaseMonitor.java:1695) at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(BaseMonitor.java:1575) at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(BaseMonitor.java:994) at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Monitor.java:542) at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java:1864) ... 15 more
    No Bugmate found.