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 "Mike Matrigali (JIRA)" <ji...@apache.org> on 2007/05/22 02:50:16 UTC

[jira] Created: (DERBY-2677) OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.

OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.
---------------------------------------------------------------------------------------------------------------

                 Key: DERBY-2677
                 URL: https://issues.apache.org/jira/browse/DERBY-2677
             Project: Derby
          Issue Type: Bug
          Components: Regression Test Failure, Store
    Affects Versions: 10.3.0.0
         Environment: ------------------ Java Information ------------------
Java Version:    1.4.2
Java Vendor:     IBM Corporation
Java home:       c:\jartest\ibm142\jre
Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/tools/java/junit.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
OS name:         Windows XP
OS architecture: x86
OS version:      5.1
Java user name:  cloudtest
Java user home:  C:\Documents and Settings\cloudtest
Java user dir:   C:\jartest\JarResults.2007-05-18\ibm142_derbyall
java.specification.name: Java Platform API Specification
java.specification.version: 1.4

            Reporter: Mike Matrigali
         Attachments: derby.log

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.

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


[jira] Commented: (DERBY-2677) OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584696#action_12584696 ] 

Kathey Marsden commented on DERBY-2677:
---------------------------------------

We had a user report with version  10.3.1.5 - (579866) that seems to have a similar trace:
------------  BEGIN SHUTDOWN ERROR STACK ------------- 

ERROR XSDG2: Invalid checksum on Page Page(144891,Container(0, 
2096)), expected=1,919,683,708, on-disk version=1,727,575,358, 
page dump follows: Hex dump: 
<snip hex dump>
 
        at 
org.apache.derby.iapi.error.StandardException.newException(Unkno
wn Source) 
        at 
org.apache.derby.impl.store.raw.data.StoredPage.validateChecksum
(Unknown Source) 
        at 
org.apache.derby.impl.store.raw.data.StoredPage.initFromData(Unk
nown Source) 
        at 
org.apache.derby.impl.store.raw.data.AllocPage.initFromData(Unkn
own Source) 
        at 
org.apache.derby.impl.store.raw.data.CachedPage.setIdentity(Unkn
own Source) 
        at 
org.apache.derby.impl.store.raw.data.CachedPage.setIdentity(Unkn
own Source) 
        at 
org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(U
nknown Source) 
        at 
org.apache.derby.impl.services.cache.Clock.addEntry(Unknown 
Source) 
        at 
org.apache.derby.impl.services.cache.Clock.find(Unknown Source) 

        at 
org.apache.derby.impl.store.raw.data.FileContainer.getUserPage(U
nknown Source) 
        at 
org.apache.derby.impl.store.raw.data.FileContainer.getPage(Unkno
wn Source) 
        at 
org.apache.derby.impl.store.raw.data.BaseContainerHandle.getPage
(Unknown Source) 
        at 
org.apache.derby.impl.store.raw.data.StoredPage.getOverflowPage(
Unknown Source) 
        at 
org.apache.derby.impl.store.raw.data.StoredPage.purgeOneColumnCh
ain(Unknown Source) 
        at 
org.apache.derby.impl.store.raw.data.StoredPage.purgeColumnChain
s(Unknown Source) 
        at 
org.apache.derby.impl.store.raw.data.StoredPage.purgeRowPieces(U
nknown Source) 
        at 
org.apache.derby.impl.store.raw.data.BasePage.purgeAtSlot(Unknow
n Source) 
        at 
org.apache.derby.impl.store.access.heap.HeapPostCommit.purgeComm
ittedDeletes(Unknown Source) 
        at 
org.apache.derby.impl.store.access.heap.HeapPostCommit.performWo
rk(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:801) 


Waiting for derby.log to see if there is some prior exception.


> OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2677
>                 URL: https://issues.apache.org/jira/browse/DERBY-2677
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Store
>    Affects Versions: 10.3.1.4
>         Environment: ------------------ Java Information ------------------
> Java Version:    1.4.2
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\ibm142\jre
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/tools/java/junit.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-18\ibm142_derbyall
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.4
>            Reporter: Mike Matrigali
>         Attachments: derby.log, derby2677.zip
>
>
> 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.

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


[jira] Issue Comment Edited: (DERBY-2677) OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605224#action_12605224 ] 

knutanders edited comment on DERBY-2677 at 6/16/08 3:59 AM:
--------------------------------------------------------------------

I don't think this failure has been seen after the fix for DERBY-3347 went in, so I'm marking the issue as resolved. If it happens again, please reopen or file a new bug.

      was (Author: knutanders):
    I don't think this failure has been seen after the fix for DERBY-3347 went in, so I'm closing the issue. If it happens again, please reopen or file a new bug.
  
> OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2677
>                 URL: https://issues.apache.org/jira/browse/DERBY-2677
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Store
>    Affects Versions: 10.3.1.4
>         Environment: ------------------ Java Information ------------------
> Java Version:    1.4.2
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\ibm142\jre
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/tools/java/junit.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-18\ibm142_derbyall
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.4
>            Reporter: Mike Matrigali
>         Attachments: derby.log, derby2677.zip
>
>
> 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.

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


[jira] Updated: (DERBY-2677) OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.

Posted by "Mamta A. Satoor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mamta A. Satoor updated DERBY-2677:
-----------------------------------

    Attachment: derby2677.zip

I am attaching the database, derby.log and the test run result files

> OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2677
>                 URL: https://issues.apache.org/jira/browse/DERBY-2677
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Store
>    Affects Versions: 10.3.1.4
>         Environment: ------------------ Java Information ------------------
> Java Version:    1.4.2
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\ibm142\jre
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/tools/java/junit.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-18\ibm142_derbyall
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.4
>            Reporter: Mike Matrigali
>         Attachments: derby.log, derby2677.zip
>
>
> 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.

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


[jira] Commented: (DERBY-2677) OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.

Posted by "Mamta A. Satoor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557146#action_12557146 ] 

Mamta A. Satoor commented on DERBY-2677:
----------------------------------------

I noticed this same problem on Derby 10.3.2.2 (revision 609085). Here is more info on the environment
------------------ Java Information ------------------
Java Version:    1.5.0
Java Vendor:     IBM Corporation
Java home:       E:\cloudtst\jartest\ibm15\jre
Java classpath:  E:/cloudtst/jartest/classes/derby.jar;E:/cloudtst/jartest/classes/derbyLocale_zh_TW.jar;E:/cloudtst/jartest/classes/derbyLocale_zh_CN.jar;E:/cloudtst/jartest/classes/derbyLocale_ru.jar;E:/cloudtst/jartest/classes/derbyLocale_pt_BR.jar;E:/cloudtst/jartest/classes/derbyLocale_pl.jar;E:/cloudtst/jartest/classes/derbyLocale_ko_KR.jar;E:/cloudtst/jartest/classes/derbyLocale_ja_JP.jar;E:/cloudtst/jartest/classes/derbyLocale_it.jar;E:/cloudtst/jartest/classes/derbyLocale_hu.jar;E:/cloudtst/jartest/classes/derbyLocale_fr.jar;E:/cloudtst/jartest/classes/derbyLocale_es.jar;E:/cloudtst/jartest/classes/derbyLocale_de_DE.jar;E:/cloudtst/jartest/classes/derbyLocale_cs.jar;E:/cloudtst/jartest/tools/java/junit.jar;E:/cloudtst/jartest/classes/derbytools.jar;E:/cloudtst/jartest/classes/derbynet.jar;E:/cloudtst/jartest/classes/derbyclient.jar;;E:/cloudtst/jartest/classes/derbyrun.jar;E:/cloudtst/jartest/classes/derbyTesting.jar;E:/cloudtst/jartest/classes/maps.jar;E:/cloudtst/jartest/classes/functionTests.jar;E:/cloudtst/jartest/classes/csext.jar;E:/cloudtst/jartest/tools/java/junit.jar;E:/cloudtst/jartest/tools/java/jndi/fscontext.jar;E:/cloudtst/jartest/tools/java/jakarta-oro-2.0.8.jar
OS name:         Windows 2000
OS architecture: x86
OS version:      5.0 build 2195 Service Pack 4
Java user name:  cloudtest
Java user home:  C:\Documents and Settings\cloudtest
Java user dir:   E:\cloudtst\jartest\JarResults.2008-01-04\ibm15_derbyall
java.specification.name: Java Platform API Specification
java.specification.version: 1.5
--------- Derby Information --------
JRE - JDBC: J2SE 5.0 - JDBC 3.0
[E:\cloudtst\jartest\classes\derby.jar] 10.3.2.2 - (609085)
[E:\cloudtst\jartest\classes\derbytools.jar] 10.3.2.2 - (609085)
[E:\cloudtst\jartest\classes\derbynet.jar] 10.3.2.2 - (609085)
[E:\cloudtst\jartest\classes\derbyclient.jar] 10.3.2.2 - (609085)
------------------------------------------------------
----------------- Locale Information -----------------
Current Locale :  [English/United States [en_US]]
Found support for locale: [cs]
	 version: 10.3.2.2 - (609085)
Found support for locale: [de_DE]
	 version: 10.3.2.2 - (609085)
Found support for locale: [es]
	 version: 10.3.2.2 - (609085)
Found support for locale: [fr]
	 version: 10.3.2.2 - (609085)
Found support for locale: [hu]
	 version: 10.3.2.2 - (609085)
Found support for locale: [it]
	 version: 10.3.2.2 - (609085)
Found support for locale: [ja_JP]
	 version: 10.3.2.2 - (609085)
Found support for locale: [ko_KR]
	 version: 10.3.2.2 - (609085)
Found support for locale: [pl]
	 version: 10.3.2.2 - (609085)
Found support for locale: [pt_BR]
	 version: 10.3.2.2 - (609085)
Found support for locale: [ru]
	 version: 10.3.2.2 - (609085)
Found support for locale: [zh_CN]
	 version: 10.3.2.2 - (609085)
Found support for locale: [zh_TW]
	 version: 10.3.2.2 - (609085)
------------------------------------------------------
Test environment information:
COMMAND LINE STYLE: jdk13
TEST CANONS: product_master
------------------------------------------------------
------------------------------------------------------


> OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2677
>                 URL: https://issues.apache.org/jira/browse/DERBY-2677
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Store
>    Affects Versions: 10.3.1.4
>         Environment: ------------------ Java Information ------------------
> Java Version:    1.4.2
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\ibm142\jre
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/tools/java/junit.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-18\ibm142_derbyall
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.4
>            Reporter: Mike Matrigali
>         Attachments: derby.log
>
>
> 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.

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


[jira] Updated: (DERBY-2677) OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.

Posted by "Mike Matrigali (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Matrigali updated DERBY-2677:
----------------------------------


If anyone is interested in looking at the database let me know, and we can figure something out.  Zipped it is around 11 meg,
so exceeds the attachment size for jira.  Most of that is one database file, which may or may not be important I have not had  a chance to do anything but report this.

> OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2677
>                 URL: https://issues.apache.org/jira/browse/DERBY-2677
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Store
>    Affects Versions: 10.3.0.0
>         Environment: ------------------ Java Information ------------------
> Java Version:    1.4.2
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\ibm142\jre
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/tools/java/junit.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-18\ibm142_derbyall
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.4
>            Reporter: Mike Matrigali
>         Attachments: derby.log
>
>
> 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.

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


Re: [jira] Resolved: (DERBY-2677) OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.

Posted by Kristian Waagan <Kr...@Sun.COM>.
Knut Anders Hatlen wrote:
> Kristian Waagan <Kr...@Sun.COM> writes:
> 
>> Knut Anders Hatlen (JIRA) wrote:
>>>      [ https://issues.apache.org/jira/browse/DERBY-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>>>
>>> Knut Anders Hatlen resolved DERBY-2677.
>>> ---------------------------------------
>>>
>>>     Resolution: Duplicate
>>>
>>> I don't think this failure has been seen after the fix for DERBY-3347 went in, so I'm closing the issue. If it happens again, please reopen or file a new bug.
>> Do you mean close or resolve?
> 
> I meant resolve. Have updated the comment.
> 
>> And what is our policy on closing when it comes to issues resolved as
>> duplicates again?
> 
> I don't know if we have any formal policy, but I would expect that it's
> more or less the same as how it's normally done for issues that are
> resolved as fixed: The reporter verifies that the problem has been
> resolved and closes the issue, or reopens it if the problem is still
> present. If there is no feedback within a reasonable period of time, we
> just assume that the resolution is OK and go ahead and close the issue.
> 

I read this as that the duplicate should follow the state of the issue 
it duplicates.

I think I sometimes have closed the issues I have resolved as duplicates 
immediately. I suppose the motivation for this is that one should go to 
the original issue for details on the problem, and that these duplicates 
tend to remain lingering for a while. This is especially true if we 
don't add a duplicate link between the issues.

Note that creating a link is visible from both issues, whereas if one 
only adds a regular comment one must do it manually for both issues.



-- 
Kristian



Re: [jira] Resolved: (DERBY-2677) OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.

Posted by Knut Anders Hatlen <Kn...@Sun.COM>.
Kristian Waagan <Kr...@Sun.COM> writes:

> Knut Anders Hatlen (JIRA) wrote:
>>      [ https://issues.apache.org/jira/browse/DERBY-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>>
>> Knut Anders Hatlen resolved DERBY-2677.
>> ---------------------------------------
>>
>>     Resolution: Duplicate
>>
>> I don't think this failure has been seen after the fix for DERBY-3347 went in, so I'm closing the issue. If it happens again, please reopen or file a new bug.
>
> Do you mean close or resolve?

I meant resolve. Have updated the comment.

> And what is our policy on closing when it comes to issues resolved as
> duplicates again?

I don't know if we have any formal policy, but I would expect that it's
more or less the same as how it's normally done for issues that are
resolved as fixed: The reporter verifies that the problem has been
resolved and closes the issue, or reopens it if the problem is still
present. If there is no feedback within a reasonable period of time, we
just assume that the resolution is OK and go ahead and close the issue.

-- 
Knut Anders

Re: [jira] Resolved: (DERBY-2677) OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.

Posted by Kristian Waagan <Kr...@Sun.COM>.
Knut Anders Hatlen (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/DERBY-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Knut Anders Hatlen resolved DERBY-2677.
> ---------------------------------------
> 
>     Resolution: Duplicate
> 
> I don't think this failure has been seen after the fix for DERBY-3347 went in, so I'm closing the issue. If it happens again, please reopen or file a new bug.

Do you mean close or resolve?

And what is our policy on closing when it comes to issues resolved as 
duplicates again?


-- 
Kristian

> 
>> OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.
>> ---------------------------------------------------------------------------------------------------------------
>>
>>                 Key: DERBY-2677
>>                 URL: https://issues.apache.org/jira/browse/DERBY-2677
>>             Project: Derby
>>          Issue Type: Bug
>>          Components: Regression Test Failure, Store
>>    Affects Versions: 10.3.1.4
>>         Environment: ------------------ Java Information ------------------
>> Java Version:    1.4.2
>> Java Vendor:     IBM Corporation
>> Java home:       c:\jartest\ibm142\jre
>> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/tools/java/junit.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
>> OS name:         Windows XP
>> OS architecture: x86
>> OS version:      5.1
>> Java user name:  cloudtest
>> Java user home:  C:\Documents and Settings\cloudtest
>> Java user dir:   C:\jartest\JarResults.2007-05-18\ibm142_derbyall
>> java.specification.name: Java Platform API Specification
>> java.specification.version: 1.4
>>            Reporter: Mike Matrigali
>>         Attachments: derby.log, derby2677.zip
>>
>>
>> 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.
> 


[jira] Resolved: (DERBY-2677) OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen resolved DERBY-2677.
---------------------------------------

    Resolution: Duplicate

I don't think this failure has been seen after the fix for DERBY-3347 went in, so I'm closing the issue. If it happens again, please reopen or file a new bug.

> OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2677
>                 URL: https://issues.apache.org/jira/browse/DERBY-2677
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Store
>    Affects Versions: 10.3.1.4
>         Environment: ------------------ Java Information ------------------
> Java Version:    1.4.2
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\ibm142\jre
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/tools/java/junit.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-18\ibm142_derbyall
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.4
>            Reporter: Mike Matrigali
>         Attachments: derby.log, derby2677.zip
>
>
> 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.

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


[jira] Updated: (DERBY-2677) OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.

Posted by "Mike Matrigali (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Matrigali updated DERBY-2677:
----------------------------------

    Attachment: derby.log

derby.log with the checksum error, and following shutdown problems.

> OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2677
>                 URL: https://issues.apache.org/jira/browse/DERBY-2677
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Store
>    Affects Versions: 10.3.0.0
>         Environment: ------------------ Java Information ------------------
> Java Version:    1.4.2
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\ibm142\jre
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/tools/java/junit.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-18\ibm142_derbyall
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.4
>            Reporter: Mike Matrigali
>         Attachments: derby.log
>
>
> 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.

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


[jira] Commented: (DERBY-2677) OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590859#action_12590859 ] 

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

This could be the same problem as the one that was fixed in DERBY-3347.

> OnlineCompressTest failed reporting NullPointerException, actual problem in derby.log is a page checksum error.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2677
>                 URL: https://issues.apache.org/jira/browse/DERBY-2677
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Store
>    Affects Versions: 10.3.1.4
>         Environment: ------------------ Java Information ------------------
> Java Version:    1.4.2
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\ibm142\jre
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.jar;c:/jartest/tools/java/junit.jar;c:/jartest/classes/derbytools.jar;c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-18\ibm142_derbyall
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.4
>            Reporter: Mike Matrigali
>         Attachments: derby.log, derby2677.zip
>
>
> 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.

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