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

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

Full output from the test:

Begin Online Backup Test1
First Transaction with Unlogged Operation Started
Second Transaction with Unlogged Operation Started
BACKUP STARTED
ERROR XJ001: Java exception: ': java.lang.NullPointerException'.
java.sql.SQLException: Java exception: ': java.lang.NullPointerException'.
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:103)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java:137)
        at org.apache.derby.impl.jdbc.Util.javaException(Util.java:331)
        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:2395)
        at 
org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:82)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1429)
        at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(EmbedPreparedStatement.java:1720)
        at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeLargeUpdate(EmbedPreparedStatement.java:320)
        at 
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(EmbedPreparedStatement.java:309)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest1$DatabaseActions.insert(OnlineBackupTest1.java:375)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest1$DatabaseActions.performDmlActions(OnlineBackupTest1.java:284)
        at 
org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest1$DatabaseActions.run(OnlineBackupTest1.java:265)
        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.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory.java:141)
        at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:73)
        ... 14 more
Caused by: java.lang.NullPointerException
        at 
org.apache.derby.impl.services.cache.ConcurrentCache.release(ConcurrentCache.java:411)
        at 
org.apache.derby.impl.store.raw.data.FileContainer.letGo(FileContainer.java:3520)
        at 
org.apache.derby.impl.store.raw.data.BaseContainerHandle.close(BaseContainerHandle.java:423)
        at 
org.apache.derby.impl.store.access.conglomerate.OpenConglomerate.close(OpenConglomerate.java:964)
        at 
org.apache.derby.impl.store.access.conglomerate.GenericController.close(GenericController.java:139)
        at 
org.apache.derby.impl.store.access.conglomerate.GenericConglomerateController.close(GenericConglomerateController.java:89)
        at 
org.apache.derby.impl.sql.execute.RowChangerImpl.close(RowChangerImpl.java:564)
        at 
org.apache.derby.impl.sql.execute.InsertResultSet.cleanUp(InsertResultSet.java:2008)
        at 
org.apache.derby.impl.sql.execute.InsertResultSet.open(InsertResultSet.java:538)
        at 
org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(GenericPreparedStatement.java:438)
        at 
org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:319)
        at 
org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1337)
        ... 7 more
database shutdown properly
Restored From the Backup
Consistency Check is Done
database shutdown properly
End Online Backup Test1
                
> OnlineBackupTest1 fails with with NullPointerException in DML thread
> --------------------------------------------------------------------
>
>                 Key: DERBY-6313
>                 URL: https://issues.apache.org/jira/browse/DERBY-6313
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.11.0.0
>         Environment: Derby trunk, revision 1515737
> java version "1.8.0-ea"
> Java(TM) SE Runtime Environment (build 1.8.0-ea-b103)
> Java HotSpot(TM) 64-Bit Server VM (build 25.0-b45, mixed mode)
> Oracle Linux Server release 6.4
>            Reporter: Knut Anders Hatlen
>
> I saw this diff when running derbyall against trunk:
> ********* Diff file storeall/storemore/OnlineBackupTest1.diff
> *** Start: OnlineBackupTest1 jdk1.8.0-ea storeall:storemore 2013-08-20 
> 12:15:12 ***
> 4a5,10
> > ERROR XJ001: Java exception: ': java.lang.NullPointerException'.
> > java.sql.SQLException: Java exception: ': java.lang.NullPointerException'.
> > Caused by: java.sql.SQLException: Java exception: ': 
> > java.lang.NullPointerException'.
> >     ... 14 more
> > Caused by: java.lang.NullPointerException
> >     ... 7 more
> Test Failed.
> *** End:   OnlineBackupTest1 jdk1.8.0-ea storeall:storemore 2013-08-20 
> 12:16:16 ***
> It may be related to DERBY-973, but it is different in that it happens in the 
> DML thread that runs in parallel with the online backup. The failure reported 
> in DERBY-973 happens later, during restore of the backed up database.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to