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

Exception in thread "index-stat-thread" java.lang.NullPointerException while calling ControlRow.getControlRowForPage(Unknown Source)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 10.8.1.2
    • None
    • Store
    • None

    • Sun Microsystems Inc.
      1.6.0_181069888
      2011-02-11 18:00:25 MET
    • Regression, Regression Test Failure

    Description

      Nightly tests failed across many platforms with a number of failures. I noticed this stack from the background
      istats threa hanging out at the end
      of the output file in a some of the cases. I don't know if this stack caused the errors or not. It may just be a bad
      error handling on shutdown. It would be good to understand why it is printed when/where it is.

      FAILURES!!!
      Tests run: 13369, Failures: 3, Errors: 1

      ------------------------------
      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)

      Here are some links from sun nightly tests runs showing this error, it happened in a lot of the runs but not all the ones I looked at.

      http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.6/testing/testlog/lin/1069888-suitesAll_diff.txt
      http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.6/testing/testlog/sles/1069888-suitesAll_diff.txt
      http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.6/testing/testlog/sol/1069888-suitesAll_diff.txt
      http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.6/testing/testlog/sol32/1069888-suitesAll_diff.txt

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: