The OnlineCompressTest failed in the following nightly test run:
http://people.apache.org/~fuzzylogic/derby_test_results/main/testlog/ibm142/539664-derbyall_diff.txt
The diff reported is:
*** Start: OnlineCompressTest jdk1.4.2 storeall:storemore 2007-05-18 19:53:53 ***
83 del
< Executing test: delete all rows case succeeded.
84 del
< Executing test: end simple deleteAllRows,104000 row test.
85 del
< Ending test: test6
85 add
> ERROR XJ001: Java exception: ': java.lang.NullPointerException'.
> java.sql.SQLException: Java exception: ': java.lang.NullPointerException'.
> Caused by: java.lang.NullPointerException
> ... 5 more
Test Failed.
*** End: OnlineCompressTest jdk1.4.2 storeall:storemore 2007-05-18 20:12:33 ***
The null pointers look like the result of stuff going on while the system is doing a hard shutdown because it encountered an checksum error,
I'll attach a full derby.log - but here is the stack of interest.
------------ BEGIN SHUTDOWN ERROR STACK -------------
^M
ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1584)), expected=3,548
,973,544, on-disk version=3,871,832,684, page dump follows: Hex dump:
...
00000fe0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000ff0: 0000 0000 0000 0000 0000 0000 e6c7 7a6c .............?zl
^M
at org.apache.derby.iapi.error.StandardException.newException(Unknown Source
)^M
at org.apache.derby.impl.store.raw.data.StoredPage.validateChecksum(Unknown
Source)^M
at org.apache.derby.impl.store.raw.data.StoredPage.initFromData(Unknown Sour
ce)^M
at org.apache.derby.impl.store.raw.data.AllocPage.initFromData(Unknown Sourc
e)^M
at org.apache.derby.impl.store.raw.data.CachedPage.setIdentity(Unknown Sourc
e)^M
at org.apache.derby.impl.store.raw.data.CachedPage.setIdentity(Unknown Sourc
e)^M
at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(Unknown So
urce)^M
at org.apache.derby.impl.services.cache.Clock.addEntry(Unknown Source)^M
at org.apache.derby.impl.services.cache.Clock.find(Unknown Source)^M
at org.apache.derby.impl.store.raw.data.FileContainer.getAllocPage(Unknown S
ource)^M
at org.apache.derby.impl.store.raw.data.BaseContainer.getAllocPage(Unknown S
ource)^M
at org.apache.derby.impl.store.raw.data.BaseContainerHandle.getAllocPage(Unk
nown Source)^M
at org.apache.derby.impl.store.raw.data.FileContainer.deallocatePagenum(Unkn
own Source)^M
at org.apache.derby.impl.store.raw.data.FileContainer.deallocatePage(Unknown
Source)^M
at org.apache.derby.impl.store.raw.data.BaseContainer.removePage(Unknown Sou
rce)^M
at org.apache.derby.impl.store.raw.data.BaseContainerHandle.removePage(Unkno
wn Source)^M
at org.apache.derby.impl.store.access.heap.HeapController.removePage(Unknown
Source)^M
at org.apache.derby.impl.store.access.heap.HeapPostCommit.purgeCommittedDele
tes(Unknown Source)^M
at org.apache.derby.impl.store.access.heap.HeapPostCommit.performWork(Unknow
n Source)^M
at org.apache.derby.impl.store.raw.xact.Xact.postTermination(Unknown Source)
^M
at org.apache.derby.impl.store.raw.xact.Xact.completeCommit(Unknown Source)^
M
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)^M
at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)^M
at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)^
M
at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(
Unknown Source)^M
at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommi
t(Unknown Source)^M
at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
^M
at org.apache.derby.impl.jdbc.EmbedConnection.commit(Unknown Source)^M
at org.apache.derbyTesting.functionTests.tests.store.BaseTest.executeQuery(B
aseTest.java:124)^M
at org.apache.derbyTesting.functionTests.tests.store.OnlineCompressTest.test
6(OnlineCompressTest.java:1409)^M
at org.apache.derbyTesting.functionTests.tests.store.OnlineCompressTest.test
List(OnlineCompressTest.java:1448)^M
at org.apache.derbyTesting.functionTests.tests.store.OnlineCompressTest.main
(OnlineCompressTest.java:1462)^M
^M
------------ END SHUTDOWN ERROR STACK -------------
This test passed in many other environments against this build, so my assumption is that this is intermittent. I have not seen this issue in this test before.