Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3411

OnlineBackup1 test failed with underlying error: "ERROR XSDG3: Meta-data for Container org.apache.derby.impl.store.raw.data.RAFContainer4@52325232 could not be accessed"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 10.3.2.1
    • None
    • Store
    • None
    • Regression Test Failure

    Description

      OnlineBackupTest1 regression test failed with following diff:

                      • Diff file derbyall/storeall/storemore/OnlineBackupTest1.diff
          • Start: OnlineBackupTest1 jdk1.5.0 storeall:storemore 2008-02-09 02:27:13 ***
            5 del
            < database shutdown properly
            6 del
            < Restored From the Backup
            7 del
            < Consistency Check is Done
            8 del
            < database shutdown properly
            9 del
            < End Online Backup Test1
            9 add
            > ERROR XSLA1: Log Record has been sent to the stream, but it cannot be applied to the store (Object null). This may cause recovery problems also.
            > ERROR XSLAA: The store has been marked for shutdown by an earlier exception.
            > ERROR XSDG3: Meta-data for Container org.apache.derby.impl.store.raw.data.RAFContainer4@52325232 could not be accessed
            > ERROR XJ001: Java exception: ': java.io.EOFException'.
            > java.sql.SQLException: Log Record has been sent to the stream, but it cannot be applied to the store (Object null). This may cause recovery problems also.
            > Caused by: java.sql.SQLException: The store has been marked for shutdown by an earlier exception.
            > ... 11 more
            > Caused by: java.sql.SQLException: Meta-data for Container org.apache.derby.impl.store.raw.data.RAFContainer4@52325232 could not be accessed
            > ... 12 more
            > Caused by: java.sql.SQLException: Java exception: ': java.io.EOFException'.
            > ... 13 more
            > Caused by: java.io.EOFException
            > ... 1 more
            > ERROR XJ001: Java exception: ': java.lang.NullPointerException'.
            > java.sql.SQLException: Java exception: ': java.lang.NullPointerException'.
            > Caused by: java.lang.NullPointerException
            > ... 7 more
            > ERROR 38000: The exception 'org.apache.derby.iapi.services.context.ShutdownException' was thrown while evaluating an expression.
            > ERROR XJ001: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
            > java.sql.SQLException: The exception 'org.apache.derby.iapi.services.context.ShutdownException' was thrown while evaluating an expression.
            > Caused by: java.sql.SQLException: Java exception: ': org.apache.derby.iapi.services.context.ShutdownException'.
            > ... 11 more
            > Caused by: org.apache.derby.iapi.services.context.ShutdownException:
            > ... 7 moreException in thread "main" java.lang.Exception: BACKUP FAILED:The exception 'org.apache.derby.iapi.services.context.ShutdownException' was thrown while evaluating an expression.
            Test Failed.
          • End: OnlineBackupTest1 jdk1.5.0 storeall:storemore 2008-02-09 02:28:15 ***

      But need to check derby.log for real error:
      ----------------------------------------------------------------
      2008-02-09 10:27:16.765 GMT:
      Booting Derby version The Apache Software Foundation - Apache Derby - 10.3.2.2 - (620070): instance c013800d-0117-fdbc-11f1-000014a914f0
      on database directory E:\cloudtst\jartest\JarResults.2008-02-08\ibm15_derbyall\derbyall\storeall\storemore\OnlineBackupTest1\wombat

      Database Class Loader started - derby.database.classpath=''

      ------------ BEGIN SHUTDOWN ERROR STACK -------------

      2008-02-09 10:28:15.171 GMT Thread[DML_THREAD,5,main] (XID = 5494), (SESSIONID = 2), (DATABASE = wombat), (DRDAID = null), Cleanup action starting
      2008-02-09 10:28:15.171 GMT Thread[DML_THREAD,5,main] (XID = 5494), (SESSIONID = 2), (DATABASE = wombat), (DRDAID = null), Failed Statement is: INSERT INTO emp VALUES(?,?,?) with 3 parameters begin parameter #1: 1 :end parameter begin parameter #2: skywalker1 :end parameter begin parameter #3: 2000.0 :end parameter
      ERROR XSLA1: Log Record has been sent to the stream, but it cannot be applied to the store (Object null). This may cause recovery problems also.
      at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      at org.apache.derby.impl.store.raw.log.FileLogger.logAndDo(Unknown Source)
      at org.apache.derby.impl.store.raw.xact.Xact.logAndDo(Unknown Source)
      at org.apache.derby.impl.store.raw.data.LoggableActions.doAction(Unknown Source)
      at org.apache.derby.impl.store.raw.data.LoggableActions.actionInsert(Unknown Source)
      at org.apache.derby.impl.store.raw.data.BasePage.insertNoOverflow(Unknown Source)
      at org.apache.derby.impl.store.raw.data.BasePage.insertAtSlot(Unknown Source)
      at org.apache.derby.impl.store.raw.data.StoredPage.insertAtSlot(Unknown Source)
      at org.apache.derby.impl.store.raw.data.BasePage.insert(Unknown Source)
      at org.apache.derby.impl.store.access.heap.HeapController.doInsert(Unknown Source)
      at org.apache.derby.impl.store.access.heap.HeapController.insertAndFetchLocation(Unknown Source)
      at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown Source)
      at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown Source)
      at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source)
      at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source)
      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:801)
      Caused by: ERROR XSLAA: The store has been marked for shutdown by an earlier exception.
      at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.appendLogRecord(Unknown Source)
      ... 21 more
      Caused by: ERROR XSDG3: Meta-data for Container org.apache.derby.impl.store.raw.data.RAFContainer4@52325232 could not be accessed
      at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      at org.apache.derby.impl.store.raw.data.RAFContainer.clean(Unknown Source)
      at org.apache.derby.impl.services.cache.CachedItem.clean(Unknown Source)
      at org.apache.derby.impl.services.cache.Clock.cleanCache(Unknown Source)
      at org.apache.derby.impl.services.cache.Clock.cleanAll(Unknown Source)
      at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(Unknown Source)
      at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
      at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
      at org.apache.derby.impl.store.access.RAMAccessManager.backup(Unknown Source)
      at org.apache.derby.impl.db.BasicDatabase.backup(Unknown Source)
      at org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE(Unknown Source)
      at org.apache.derby.exe.ac2e31c0abx0117xfdbcx11f1x000014a914f00.g0(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown Source)
      at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
      at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source)
      at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.performBackup(OnlineBackup.java:89)
      at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.run(OnlineBackup.java:60)
      ... 1 more
      Caused by: java.io.EOFException
      at java.io.RandomAccessFile.readFully(RandomAccessFile.java:408)
      at java.io.RandomAccessFile.readFully(RandomAccessFile.java:386)
      at org.apache.derby.impl.store.raw.data.FileContainer.getEmbryonicPage(Unknown Source)
      at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(Unknown Source)
      ... 27 more
      ============= begin nested exception, level (1) ===========
      ERROR XSLAA: The store has been marked for shutdown by an earlier exception.
      at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.appendLogRecord(Unknown Source)
      at org.apache.derby.impl.store.raw.log.FileLogger.logAndDo(Unknown Source)
      at org.apache.derby.impl.store.raw.xact.Xact.logAndDo(Unknown Source)
      at org.apache.derby.impl.store.raw.data.LoggableActions.doAction(Unknown Source)
      at org.apache.derby.impl.store.raw.data.LoggableActions.actionInsert(Unknown Source)
      at org.apache.derby.impl.store.raw.data.BasePage.insertNoOverflow(Unknown Source)
      at org.apache.derby.impl.store.raw.data.BasePage.insertAtSlot(Unknown Source)
      at org.apache.derby.impl.store.raw.data.StoredPage.insertAtSlot(Unknown Source)
      at org.apache.derby.impl.store.raw.data.BasePage.insert(Unknown Source)
      at org.apache.derby.impl.store.access.heap.HeapController.doInsert(Unknown Source)
      at org.apache.derby.impl.store.access.heap.HeapController.insertAndFetchLocation(Unknown Source)
      at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown Source)
      at org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown Source)
      at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source)
      at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source)
      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:801)
      Caused by: ERROR XSDG3: Meta-data for Container org.apache.derby.impl.store.raw.data.RAFContainer4@52325232 could not be accessed
      at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      at org.apache.derby.impl.store.raw.data.RAFContainer.clean(Unknown Source)
      at org.apache.derby.impl.services.cache.CachedItem.clean(Unknown Source)
      at org.apache.derby.impl.services.cache.Clock.cleanCache(Unknown Source)
      at org.apache.derby.impl.services.cache.Clock.cleanAll(Unknown Source)
      at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(Unknown Source)
      at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
      at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
      at org.apache.derby.impl.store.access.RAMAccessManager.backup(Unknown Source)
      at org.apache.derby.impl.db.BasicDatabase.backup(Unknown Source)
      at org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE(Unknown Source)
      at org.apache.derby.exe.ac2e31c0abx0117xfdbcx11f1x000014a914f00.g0(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown Source)
      at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
      at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source)
      at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.performBackup(OnlineBackup.java:89)
      at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.run(OnlineBackup.java:60)
      ... 1 more
      Caused by: java.io.EOFException
      at java.io.RandomAccessFile.readFully(RandomAccessFile.java:408)
      at java.io.RandomAccessFile.readFully(RandomAccessFile.java:386)
      at org.apache.derby.impl.store.raw.data.FileContainer.getEmbryonicPage(Unknown Source)
      at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(Unknown Source)
      ... 27 more
      ============= end nested exception, level (1) ===========
      ============= begin nested exception, level (2) ===========
      ERROR XSDG3: Meta-data for Container org.apache.derby.impl.store.raw.data.RAFContainer4@52325232 could not be accessed
      at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      at org.apache.derby.impl.store.raw.data.RAFContainer.clean(Unknown Source)
      at org.apache.derby.impl.services.cache.CachedItem.clean(Unknown Source)
      at org.apache.derby.impl.services.cache.Clock.cleanCache(Unknown Source)
      at org.apache.derby.impl.services.cache.Clock.cleanAll(Unknown Source)
      at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(Unknown Source)
      at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
      at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
      at org.apache.derby.impl.store.access.RAMAccessManager.backup(Unknown Source)
      at org.apache.derby.impl.db.BasicDatabase.backup(Unknown Source)
      at org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE(Unknown Source)
      at org.apache.derby.exe.ac2e31c0abx0117xfdbcx11f1x000014a914f00.g0(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown Source)
      at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
      at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source)
      at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.performBackup(OnlineBackup.java:89)
      at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.run(OnlineBackup.java:60)
      at java.lang.Thread.run(Thread.java:801)
      Caused by: java.io.EOFException
      at java.io.RandomAccessFile.readFully(RandomAccessFile.java:408)
      at java.io.RandomAccessFile.readFully(RandomAccessFile.java:386)
      at org.apache.derby.impl.store.raw.data.FileContainer.getEmbryonicPage(Unknown Source)
      at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(Unknown Source)
      ... 27 more
      ============= end nested exception, level (2) ===========
      ============= begin nested exception, level (3) ===========
      java.io.EOFException
      at java.io.RandomAccessFile.readFully(RandomAccessFile.java:408)
      at java.io.RandomAccessFile.readFully(RandomAccessFile.java:386)
      at org.apache.derby.impl.store.raw.data.FileContainer.getEmbryonicPage(Unknown Source)
      at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(Unknown Source)
      at org.apache.derby.impl.store.raw.data.RAFContainer.clean(Unknown Source)
      at org.apache.derby.impl.services.cache.CachedItem.clean(Unknown Source)
      at org.apache.derby.impl.services.cache.Clock.cleanCache(Unknown Source)
      at org.apache.derby.impl.services.cache.Clock.cleanAll(Unknown Source)
      at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(Unknown Source)
      at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
      at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
      at org.apache.derby.impl.store.access.RAMAccessManager.backup(Unknown Source)
      at org.apache.derby.impl.db.BasicDatabase.backup(Unknown Source)
      at org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE(Unknown Source)
      at org.apache.derby.exe.ac2e31c0abx0117xfdbcx11f1x000014a914f00.g0(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown Source)
      at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
      at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source)
      at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.performBackup(OnlineBackup.java:89)
      at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.run(OnlineBackup.java:60)
      at java.lang.Thread.run(Thread.java:801)
      ============= end nested exception, level (3) ===========

      2008-02-09 10:28:15.171 GMT:
      Shutting down instance c013800d-0117-fdbc-11f1-000014a914f0
      ----------------------------------------------------------------
      ERROR XSDG3: Meta-data for Container org.apache.derby.impl.store.raw.data.RAFContainer4@52325232 could not be accessed
      at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      at org.apache.derby.impl.store.raw.data.RAFContainer.clean(Unknown Source)
      at org.apache.derby.impl.services.cache.CachedItem.clean(Unknown Source)
      at org.apache.derby.impl.services.cache.Clock.cleanCache(Unknown Source)
      at org.apache.derby.impl.services.cache.Clock.cleanAll(Unknown Source)
      at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(Unknown Source)
      at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
      at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
      at org.apache.derby.impl.store.access.RAMAccessManager.backup(Unknown Source)
      at org.apache.derby.impl.db.BasicDatabase.backup(Unknown Source)
      at org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE(Unknown Source)
      at org.apache.derby.exe.ac2e31c0abx0117xfdbcx11f1x000014a914f00.g0(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown Source)
      at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
      at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source)
      at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.performBackup(OnlineBackup.java:89)
      at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.run(OnlineBackup.java:60)
      at java.lang.Thread.run(Thread.java:801)
      Caused by: java.io.EOFException
      at java.io.RandomAccessFile.readFully(RandomAccessFile.java:408)
      at java.io.RandomAccessFile.readFully(RandomAccessFile.java:386)
      at org.apache.derby.impl.store.raw.data.FileContainer.getEmbryonicPage(Unknown Source)
      at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(Unknown Source)
      ... 27 more
      ============= begin nested exception, level (1) ===========
      java.io.EOFException
      at java.io.RandomAccessFile.readFully(RandomAccessFile.java:408)
      at java.io.RandomAccessFile.readFully(RandomAccessFile.java:386)
      at org.apache.derby.impl.store.raw.data.FileContainer.getEmbryonicPage(Unknown Source)
      at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(Unknown Source)
      at org.apache.derby.impl.store.raw.data.RAFContainer.clean(Unknown Source)
      at org.apache.derby.impl.services.cache.CachedItem.clean(Unknown Source)
      at org.apache.derby.impl.services.cache.Clock.cleanCache(Unknown Source)
      at org.apache.derby.impl.services.cache.Clock.cleanAll(Unknown Source)
      at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.checkpoint(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.checkpointWithTran(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.checkpoint(Unknown Source)
      at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
      at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
      at org.apache.derby.impl.store.access.RAMAccessManager.backup(Unknown Source)
      at org.apache.derby.impl.db.BasicDatabase.backup(Unknown Source)
      at org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE(Unknown Source)
      at org.apache.derby.exe.ac2e31c0abx0117xfdbcx11f1x000014a914f00.g0(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown Source)
      at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
      at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source)
      at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.performBackup(OnlineBackup.java:89)
      at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.run(OnlineBackup.java:60)
      at java.lang.Thread.run(Thread.java:801)
      ============= end nested exception, level (1) ===========

      ------------ END SHUTDOWN ERROR STACK -------------

      Cleanup action completed

      ------------------------------------------------------

      Attachments

        1. storemore.zip
          3.60 MB
          Mike Matrigali

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mikem Mike Matrigali
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: