You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Manjula Kutty (JIRA)" <ji...@apache.org> on 2007/12/12 00:33:43 UTC

[jira] Commented: (DERBY-3087) NPE while running the SVT MailJdbc

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

Manjula Kutty commented on DERBY-3087:
--------------------------------------

Hit this issue again with the 10.3.2.1 release run. There is slight difference in the Error message: 

ERROR :Purging Thread : Error while deleting mails by expiry manager: Page Page(1793,Container(0, 960)) could not be read from disk.

No NPE  this time. And the derby.log is more or less same. Also I 'm attaching the full derby.log for reference.

Here is the derby.log

ERROR XSDB3: Container information cannot change once written: was 0, now 80
 at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
 at org.apache.derby.impl.store.raw.data.AllocPage.WriteContainerInfo(Unknown Source)
 at org.apache.derby.impl.store.raw.data.FileContainer.writeHeader(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.raw.RawStore.backupAndEnableLogArchiveMode(Unknown Source)
 at org.apache.derby.impl.store.access.RAMAccessManager.backupAndEnableLogArchiveMode(Unknown Source)
 at org.apache.derby.impl.db.BasicDatabase.backupAndEnableLogArchiveMode(Unknown Source)
 at org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE_AND_ENABLE_LOG_ARCHIVE_MODE_NOWAIT(Unknown Source)
 at org.apache.derby.exe.ac71b840bfx0116xa1a5xb88bx0000001275781.g0(Unknown Source)
 at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:618)
 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.system.mailjdbc.utils.DbTasks.Backup(DbTasks.java:644)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.DoBackup(Backup.java:83)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.doWork(Backup.java:68)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.run(Backup.java:45)

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

ERROR XSDG3: Meta-data for Container org.apache.derby.impl.store.raw.data.RAFContainer4@3f7a3f7a 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.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown Source)
 at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
 at org.apache.derby.impl.db.DatabaseContextImpl.cleanupOnError(Unknown Source)
 at org.apache.derby.iapi.services.context.ContextManager.cleanupOnError(Unknown Source)
 at org.apache.derby.impl.jdbc.TransactionResourceImpl.cleanupOnError(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.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.system.mailjdbc.utils.DbTasks.Backup(DbTasks.java:644)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.DoBackup(Backup.java:83)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.doWork(Backup.java:68)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.run(Backup.java:45)
Caused by: java.io.IOException: The handle is invalid.
 at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(Unknown Source)
 ... 25 more
============= begin nested exception, level (1) ===========
java.io.IOException: The handle is invalid.
 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.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown Source)
 at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
 at org.apache.derby.impl.db.DatabaseContextImpl.cleanupOnError(Unknown Source)
 at org.apache.derby.iapi.services.context.ContextManager.cleanupOnError(Unknown Source)
 at org.apache.derby.impl.jdbc.TransactionResourceImpl.cleanupOnError(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.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.system.mailjdbc.utils.DbTasks.Backup(DbTasks.java:644)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.DoBackup(Backup.java:83)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.doWork(Backup.java:68)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.run(Backup.java:45)
============= end nested exception, level (1) ===========


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


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

ERROR XSDG3: Meta-data for Container org.apache.derby.impl.store.raw.data.RAFContainer4@3f7a3f7a 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.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown Source)
 at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
 at org.apache.derby.impl.db.DatabaseContextImpl.cleanupOnError(Unknown Source)
 at org.apache.derby.iapi.services.context.ContextManager.cleanupOnError(Unknown Source)
 at org.apache.derby.impl.jdbc.TransactionResourceImpl.cleanupOnError(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.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.system.mailjdbc.utils.DbTasks.Backup(DbTasks.java:644)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.DoBackup(Backup.java:83)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.doWork(Backup.java:68)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.run(Backup.java:45)
Caused by: java.io.IOException: The handle is invalid.
 at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(Unknown Source)
 ... 25 more
============= begin nested exception, level (1) ===========
java.io.IOException: The handle is invalid.
 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.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown Source)
 at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
 at org.apache.derby.impl.db.DatabaseContextImpl.cleanupOnError(Unknown Source)
 at org.apache.derby.iapi.services.context.ContextManager.cleanupOnError(Unknown Source)
 at org.apache.derby.impl.jdbc.TransactionResourceImpl.cleanupOnError(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.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.system.mailjdbc.utils.DbTasks.Backup(DbTasks.java:644)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.DoBackup(Backup.java:83)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.doWork(Backup.java:68)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.run(Backup.java:45)
============= end nested exception, level (1) ===========


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


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

ERROR XSDG3: Meta-data for Container org.apache.derby.impl.store.raw.data.RAFContainer4@3f7a3f7a 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.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown Source)
 at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
 at org.apache.derby.impl.db.DatabaseContextImpl.cleanupOnError(Unknown Source)
 at org.apache.derby.iapi.services.context.ContextManager.cleanupOnError(Unknown Source)
 at org.apache.derby.impl.jdbc.TransactionResourceImpl.cleanupOnError(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.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.system.mailjdbc.utils.DbTasks.Backup(DbTasks.java:644)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.DoBackup(Backup.java:83)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.doWork(Backup.java:68)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.run(Backup.java:45)
Caused by: java.io.IOException: The handle is invalid.
 at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(Unknown Source)
 ... 25 more
============= begin nested exception, level (1) ===========
java.io.IOException: The handle is invalid.
 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.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown Source)
 at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
 at org.apache.derby.impl.db.DatabaseContextImpl.cleanupOnError(Unknown Source)
 at org.apache.derby.iapi.services.context.ContextManager.cleanupOnError(Unknown Source)
 at org.apache.derby.impl.jdbc.TransactionResourceImpl.cleanupOnError(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.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.system.mailjdbc.utils.DbTasks.Backup(DbTasks.java:644)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.DoBackup(Backup.java:83)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.doWork(Backup.java:68)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.run(Backup.java:45)
============= end nested exception, level (1) ===========


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


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

ERROR XSDG3: Meta-data for Container org.apache.derby.impl.store.raw.data.RAFContainer4@3f7a3f7a 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.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown Source)
 at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
 at org.apache.derby.impl.db.DatabaseContextImpl.cleanupOnError(Unknown Source)
 at org.apache.derby.iapi.services.context.ContextManager.cleanupOnError(Unknown Source)
 at org.apache.derby.impl.jdbc.TransactionResourceImpl.cleanupOnError(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.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.system.mailjdbc.utils.DbTasks.Backup(DbTasks.java:644)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.DoBackup(Backup.java:83)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.doWork(Backup.java:68)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.run(Backup.java:45)
Caused by: java.io.IOException: The handle is invalid.
 at org.apache.derby.impl.store.raw.data.RAFContainer.writeRAFHeader(Unknown Source)
 ... 25 more
============= begin nested exception, level (1) ===========
java.io.IOException: The handle is invalid.
 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.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source)
 at org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown Source)
 at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
 at org.apache.derby.impl.db.DatabaseContextImpl.cleanupOnError(Unknown Source)
 at org.apache.derby.iapi.services.context.ContextManager.cleanupOnError(Unknown Source)
 at org.apache.derby.impl.jdbc.TransactionResourceImpl.cleanupOnError(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.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.system.mailjdbc.utils.DbTasks.Backup(DbTasks.java:644)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.DoBackup(Backup.java:83)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.doWork(Backup.java:68)
 at org.apache.derbyTesting.system.mailjdbc.tasks.Backup.run(Backup.java:45)
============= end nested exception, level (1) ===========


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


2007-12-05 07:35:32.559 GMT:
Shutting down instance c013800d-0116-a1a5-b88b-000000127578
----------------------------------------------------------------
Cleanup action completed
 - Manjula.



> NPE while running the SVT MailJdbc
> ----------------------------------
>
>                 Key: DERBY-3087
>                 URL: https://issues.apache.org/jira/browse/DERBY-3087
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.3.2.1
>         Environment: Windows 2000 , with ibmjvm15
>            Reporter: Manjula Kutty
>             Fix For: 10.4.0.0
>
>         Attachments: derby.log
>
>
> Here is the error I got in the out put file 
>  : ERROR :Purging Thread : Error while deleting mails by expiry manager: Java exception: ': java.lang.NullPointerException'.
>  : ERROR :Refresh Thread : Exception while deleting mail by Thread: Java exception: ': java.lang.NullPointerException'.
>  : ERROR :Refresh Thread : Exception while rolling back: java.sql.SQLException: No current connection.
>  : ERROR :Purging Thread : Exception while rolling back: java.sql.SQLException: No current connection.
>  : ERROR :deleteMailByRefresh() failed Java exception: ': java.lang.NullPointerException'.
>  : INFO :Refresh doWork() completed
>  : ERROR :Purging Thread :  No current connection.
>  : ERROR :Backup Thread : Error while doing the backup system procedure: Invalid checksum on Page Page(1491,Container(0, 960)), expected=3,208,159,254, on-disk version=1,403,141,298, page dump follows: Hex dump:
> 00000000: 0076 0000 0001 0000 0000 0003 5c3a 0000  .v..............
> 00000010: 0000 0006 0000 0000 0000 0000 0000 0000  ................
> 00000020: 0000 0000 0001 0000 0000 0000 0000 0000  ................
> 00000030: 0000 0000 0000 0000 0000 0000 ffff ffff  ................
> 00000040: ffff ffff 0000 0000 0000 0000 0000 0000  ................
> After the error Connections are lost. Here is the stack trace from the derby.log
> Checkpoint Daemon caught standard exception
> ------------  BEGIN ERROR STACK -------------
> ERROR XSDB3: Container information cannot change once written: was 0, now 80
> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
> 	at org.apache.derby.impl.store.raw.data.AllocPage.WriteContainerInfo(Unknown Source)
> 	at org.apache.derby.impl.store.raw.data.FileContainer.writeHeader(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.checkpoint(Unknown Source)
> 	at org.apache.derby.impl.store.raw.log.LogToFile.performWork(Unknown Source)
> 	at org.apache.derby.impl.services.daemon.BasicDaemon.serviceClient(Unknown Source)
> 	at org.apache.derby.impl.services.daemon.BasicDaemon.work(Unknown Source)
> 	at org.apache.derby.impl.services.daemon.BasicDaemon.run(Unknown Source)
> 	at java.lang.Thread.run(Thread.java:797)
> ------------  END ERROR STACK -------------
> Checkpoint Daemon caught standard exception
> ------------  BEGIN ERROR STACK -------------
> ERROR XSDB3: Container information cannot change once written: was 0, now 80
> 	at java.lang.Throwable.<init>(Throwable.java:57)
> 	at java.lang.Throwable.<init>(Throwable.java:68)
> 	at org.apache.derby.iapi.error.StandardException.<init>(Unknown Source)
> 	at org.apache.derby.iapi.error.StandardException.<init>(Unknown Source)
> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
> 	at org.apache.derby.impl.store.raw.data.AllocPage.WriteContainerInfo(Unknown Source)
> 	at org.apache.derby.impl.store.raw.data.FileContainer.writeHeader(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.checkpoint(Unknown Source)
> 	at org.apache.derby.impl.store.raw.log.LogToFile.performWork(Unknown Source)
> 	at org.apache.derby.impl.services.daemon.BasicDaemon.serviceClient(Unknown Source)
> 	at org.apache.derby.impl.services.daemon.BasicDaemon.work(Unknown Source)
> 	at org.apache.derby.impl.services.daemon.BasicDaemon.run(Unknown Source)

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