db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-5030) "index-stat-thread" java.lang.NullPointerException at store.access.btree.ControlRow.getControlRowForPage in suites.All
Date Wed, 16 Feb 2011 09:06:01 GMT

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

Kristian Waagan commented on DERBY-5030:
----------------------------------------

With patch 2a attached to DERBY-5037 applied and an insane build, I get:

...Exception in thread "index-stat-thread" java.lang.RuntimeException: got non-assert on/during
shutdown db: java.lang.NullPointerException::null
        at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.run(I
ndexStatisticsDaemonImpl.java:742)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at org.apache.derby.impl.store.access.btree.ControlRow.getControlRowForPage(ControlRow.java:878)
        at org.apache.derby.impl.store.access.btree.ControlRow.get(ControlRow.java:844)
        at org.apache.derby.impl.store.access.btree.ControlRow.get(ControlRow.java:820)
        at org.apache.derby.impl.store.access.btree.BTreeScan.reposition(BTreeScan.java:850)
        at org.apache.derby.impl.store.access.btree.BTreeForwardScan.fetchRows(BTreeForwardScan.java:109)
        at org.apache.derby.impl.store.access.btree.BTreeScan.fetchNextGroup(BTreeScan.java:1596)
        at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl$KeyComparator.fetchRows(IndexStatisticsDaemonImpl.java:1126)
        at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.updateIndexStatsMinion(IndexStatisticsDaemonImpl.java:453)
        at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.generateStatistics(IndexStatisticsDaemonImpl.java:324)
        at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.run(IndexStatisticsDaemonImpl.java:710)
        ... 1 more
....
Time: 127,545

OK (7 tests)

This seems to confirm Knut's suggestion above.

>  "index-stat-thread" java.lang.NullPointerException at store.access.btree.ControlRow.getControlRowForPage
in suites.All 
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5030
>                 URL: https://issues.apache.org/jira/browse/DERBY-5030
>             Project: Derby
>          Issue Type: Bug
>          Components: Services
>    Affects Versions: 10.8.0.0
>            Reporter: Kathey Marsden
>              Labels: derby_triage10_8
>
> I happened to be looking at the  tinderbox results at:
> http://dbtg.foundry.sun.com/derby/test/tinderbox_trunk16/jvm1.6/testing/testlog/SunOS-5.10_i86pc-i386/1069920-org.apache.derbyTesting.functionTests.suites.All_diff.txt
> And saw this at the end of the run:
> Exception in thread "index-stat-thread" java.lang.NullPointerException
> 	at org.apache.derby.impl.store.access.btree.ControlRow.getControlRowForPage(Unknown
Source)
> 	at org.apache.derby.impl.store.access.btree.ControlRow.get(Unknown Source)
> 	at org.apache.derby.impl.store.access.btree.ControlRow.get(Unknown Source)
> 	at org.apache.derby.impl.store.access.btree.BTreeScan.reposition(Unknown Source)
> 	at org.apache.derby.impl.store.access.btree.BTreeForwardScan.fetchRows(Unknown Source)
> 	at org.apache.derby.impl.store.access.btree.BTreeScan.fetchNextGroup(Unknown Source)
> 	at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl$KeyComparator.fetchRows(Unknown
Source)
> 	at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.updateIndexStatsMinion(Unknown
Source)
> 	at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.generateStatistics(Unknown
Source)
> 	at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.run(Unknown Source)
> 	at java.lang.Thread.run(Thread.java:619)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message