[ 
https://issues.apache.org/jira/browse/DERBY-6354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13789014#comment-13789014
 ] 

Knut Anders Hatlen commented on DERBY-6354:
-------------------------------------------

A NullPointerException at the same line in ConcurrentCache has now also been 
seen in StressMultiTest: 
http://download.java.net/javadesktop/derby/request_5582547/javadb-task-3738090.html

{noformat}
junit.framework.AssertionFailedError: Caused by: 
java.sql.SQLException: Java exception: ': java.lang.NullPointerException'.
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:98)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:142)
        at org.apache.derby.impl.jdbc.Util.javaException(Util.java:299)
        at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:436)
        at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:353)
        at 
org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2360)
        at 
org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:82)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:619)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:559)
        at 
org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.create(StressMultiTest.java:467)
        at 
org.apache.derbyTesting.functionTests.tests.multi.StressMultiTest$StressMultiRunnable.run(StressMultiTest.java:404)
        at java.lang.Thread.run(Thread.java:724)
Caused by: java.sql.SQLException: Java exception: ': 
java.lang.NullPointerException'.
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:42)
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.java:123)
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:71)
        ... 11 more
Caused by: java.lang.NullPointerException
        at 
org.apache.derby.impl.services.cache.ConcurrentCache.release(ConcurrentCache.java:411)
        at 
org.apache.derby.impl.services.bytecode.BCJava.vmType(BCJava.java:280)
        at 
org.apache.derby.impl.services.bytecode.BCMethodDescriptor.<init>(BCMethodDescriptor.java:47)
        at 
org.apache.derby.impl.services.bytecode.BCClass.newFieldWithAccessors(BCClass.java:406)
        at 
org.apache.derby.impl.sql.compile.ActivationClassBuilder.finishExecuteMethod(ActivationClassBuilder.java:288)
        at 
org.apache.derby.impl.sql.compile.StatementNode.generate(StatementNode.java:380)
        at 
org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement.java:545)
        at 
org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.java:99)
        at 
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(GenericLanguageConnectionContext.java:1111)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:611)
        ... 4 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:724)
{noformat}

This was on JDK 8, just like the NPEs originally reported here, and like the 
NPE in DERBY-6313. The last failure happened in the nightly testing of version 
10.9.2.2 - (1530046).

> DatabaseMetaDataTest.testGetColumnsReadOnly fails with NPE when releasing page
> ------------------------------------------------------------------------------
>
>                 Key: DERBY-6354
>                 URL: https://issues.apache.org/jira/browse/DERBY-6354
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.11.0.0
>            Reporter: Knut Anders Hatlen
>         Attachments: fail-solaris.zip, fail-windows.zip
>
>
> Seen twice in the nightly testing lately:
> http://download.java.net/javadesktop/derby/request_5581975/javadb-task-3729984.html
> http://download.java.net/javadesktop/derby/request_5581997/javadb-task-3730576.html
> Both failures happened with JDK 8-ea-b107 (Windows and Solaris).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to