Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
10.11.1.1
-
None
-
None
-
Normal
Description
During a 7-hour run of NsTest (see the 2014-04-23 run on DERBY-6533), the statement context disappeared for one of the threads and we saw this NPE:
java.sql.SQLException: Java exception: ': java.lang.NullPointerException'. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:107) at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:133) at org.apache.derby.impl.jdbc.Util.seeNextException(Util.java:255) at org.apache.derby.impl.jdbc.Util.javaException(Util.java:277) at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:437) at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:353) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2396) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:82) at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(EmbedPreparedStatement.java:152) at org.apache.derby.impl.jdbc.EmbedPreparedStatement42.<init>(EmbedPreparedStatement42.java:41) at org.apache.derby.jdbc.Driver42.newEmbedPreparedStatement(Driver42.java:59) at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java:1734) at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(EmbedConnection.java:1562) at org.apache.derbyTesting.system.nstest.utils.DbUtil.update_one_row(DbUtil.java:266) at org.apache.derbyTesting.system.nstest.tester.TesterObject.doIUDOperation(TesterObject.java:177) at org.apache.derbyTesting.system.nstest.tester.Tester1.startTesting(Tester1.java:114) at org.apache.derbyTesting.system.nstest.NsTest.run(NsTest.java:790) Caused by: ERROR XJ001: Java exception: ': java.lang.NullPointerException'. at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:290) at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory.java:162) at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:74) ... 16 more Caused by: java.lang.NullPointerException at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.pushCompilerContext(GenericLanguageConnectionContext.java:2397) at org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement.java:311) at org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.java:99) at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(GenericLanguageConnectionContext.java:1116) at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(EmbedPreparedStatement.java:134) ... 8 more
Attachments
Attachments
Issue Links
- relates to
-
DERBY-6533 Add a quiet mode to NsTest
- Closed