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

NPE in IndexRowGenerator.getExecutionFactory()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 10.11.1.1
    • Fix Version/s: None
    • Component/s: Miscellaneous
    • Labels:
      None
    • Environment:
    • Bug behavior facts:
      Crash

      Description

      Derby crashed with the following stack trace while running our application's integration tests. This is the first time I've seen this, and cannot reproduce it. It happened during our application's startup. The embedded database had been opened by this point, and some initial queries had been executed.

      java.lang.NullPointerException: null
      at org.apache.derby.iapi.sql.dictionary.IndexRowGenerator.getExecutionFactory(Unknown Source) ~[derby-10.11.1.1.jar:na]
      at org.apache.derby.iapi.sql.dictionary.IndexRowGenerator.getIndexRowTemplate(Unknown Source) ~[derby-10.11.1.1.jar:na]
      at org.apache.derby.iapi.sql.dictionary.IndexRowGenerator.getNullIndexRow(Unknown Source) ~[derby-10.11.1.1.jar:na]
      at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.updateIndexStatsMinion(Unknown Source) ~[derby-10.11.1.1.jar:na]
      at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.generateStatistics(Unknown Source) ~[derby-10.11.1.1.jar:na]
      at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.processingLoop(Unknown Source) ~[derby-10.11.1.1.jar:na]
      at org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.run(Unknown Source) ~[derby-10.11.1.1.jar:na]
      at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_45]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ehowe Edward Howe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: