[ 
https://issues.apache.org/jira/browse/DERBY-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Waagan updated DERBY-4721:
-----------------------------------

    Affects Version/s: 10.7.0.0

> NullPointerException on StressMultiTest in language layer
> ---------------------------------------------------------
>
>                 Key: DERBY-4721
>                 URL: https://issues.apache.org/jira/browse/DERBY-4721
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.7.0.0
>            Reporter: Mamta A. Satoor
>         Attachments: derby.log, error-stacktrace.out
>
>
> Saw NPE for testStressMulti on trunk(10.7 revision 956758) on a windows 
> machine with ibm15. May be related to commit made for DERBY-4279,  since it 
> seems to have caused some other NPEs in StressMultiTest in the Tinderbox too.
> The stack trace looks as follows 
> 1) 
> testStressMulti(org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest)junit.framework.AssertionFailedError:
>  Caused by: 
> java.sql.SQLException: Java exception: ': java.lang.NullPointerException'. 
> at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown 
> Source) 
> at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) 
> at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source) 
> at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
> Source) 
> at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
> Source) 
> at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) 
> at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) 
> at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) 
> at org.apache.derby.impl.jdbc.EmbedStatement.executeQuery(Unknown Source) 
> at 
> org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.select(StressMultiTest.java:555)
>  
> at 
> org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.run(StressMultiTest.java:429)
>  
> at java.lang.Thread.run(Thread.java:811) 
> Caused by: java.lang.NullPointerException 
> at org.apache.derby.impl.sql.GenericActivationHolder.<init>(Unknown Source) 
> at org.apache.derby.impl.sql.GenericPreparedStatement.getActivation(Unknown 
> Source) 
> ... 5 more 
> at 
> org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest.handleException(StressMultiTest.java:351)
>  
> at 
> org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest.access$200(StressMultiTest.java:70)
>  
> at 
> org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.run(StressMultiTest.java:445)
>  
> at java.lang.Thread.run(Thread.java:811) 
> [ Show ยป ] Mamta A. Satoor added a comment - 22/Jun/10 07:24 PM Saw NPE for 
> testStressMulti on trunk(10.7 revision 956758) on a windows machine with 
> ibm15. The stack trace looks as follows 1) 
> testStressMulti(org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest)junit.framework.AssertionFailedError:
>  Caused by: java.sql.SQLException: Java exception: ': 
> java.lang.NullPointerException'. at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown 
> Source) at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown 
> Source) at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source) at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
> Source) at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
> Source) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown 
> Source) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown 
> Source) at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) 
> at org.apache.derby.impl.jdbc.EmbedStatement.executeQuery(Unknown Source) at 
> org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.select(StressMultiTest.java:555)
>  at 
> org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.run(StressMultiTest.java:429)
>  at java.lang.Thread.run(Thread.java:811) Caused by: 
> java.lang.NullPointerException at 
> org.apache.derby.impl.sql.GenericActivationHolder.<init>(Unknown Source) at 
> org.apache.derby.impl.sql.GenericPreparedStatement.getActivation(Unknown 
> Source) ... 5 more at 
> org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest.handleException(StressMultiTest.java:351)
>  at 
> org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest.access$200(StressMultiTest.java:70)
>  at 
> org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.run(StressMultiTest.java:445)
>  at java.lang.Thread.run(Thread.java:811) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to