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

Edward Howe commented on DERBY-6833:
------------------------------------

We had the crash occur again, with the following derby log output.  (We are 
writing the derby log to our application log by setting 
derby.stream.error.method).  derby.stream.error.logSeverityLevel is set to 
20000.

2015-09-21 04:15:11,333 5378        DEBUG   Thread-20       
----------------------------------------------------------------    []  
o.a.derby
2015-09-21 04:15:11,336 5381        DEBUG   Thread-20       Mon Sep 21 04:15:11 
EDT 2015:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.11.1.1 
- (1616546): instance a816c00e-014f-eef8-8f6b-000026a5cbda
on database directory 
/mnt/raid0/jenkins/grid/main/deployment/integration-tests/build/grid/var/replica-node/database/jyrusNodeDb
 with class loader sun.misc.Launcher$AppClassLoader@6e0be858
Loaded from 
file:/mnt/raid0/jenkins/grid/main/deployment/integration-tests/build/grid/lib/derby-10.11.1.1.jar
   []  o.a.derby
2015-09-21 04:15:11,336 5381        DEBUG   Thread-20       java.vendor=Oracle 
Corporation
java.runtime.version=1.8.0_45-b14
user.dir=/mnt/raid0/jenkins/grid/main/deployment/integration-tests/build/grid/bin
   []  o.a.derby
2015-09-21 04:15:11,336 5381        DEBUG   Thread-20       os.name=Linux
os.arch=amd64
os.version=3.10.0-229.4.2.el7.x86_64    []  o.a.derby
2015-09-21 04:15:11,336 5381        DEBUG   Thread-20       
derby.system.home=/mnt/raid0/jenkins/grid/main/deployment/integration-tests/build/grid/var/replica-node/database
    []  o.a.derby
2015-09-21 04:15:11,336 5381        DEBUG   Thread-20       
derby.stream.error.method=com.nexidia.jyrus.hosting.beans.DbInitializingBean.getLogWriter
   []  o.a.derby
2015-09-21 04:15:11,543 5588        DEBUG   Thread-20       Database Class 
Loader started - derby.database.classpath='' []  o.a.derby
2015-09-21 04:15:12,851 6896        DEBUG   Thread-21       
----------------------------------------------------------------    []  
o.a.derby
2015-09-21 04:15:12,853 6898        DEBUG   Thread-21       Mon Sep 21 04:15:12 
EDT 2015:
Shutting down instance a816c00e-014f-eef8-8f6b-000026a5cbda on database 
directory 
/mnt/raid0/jenkins/grid/main/deployment/integration-tests/build/grid/var/replica-node/database/jyrusNodeDb
 with class loader sun.misc.Launcher$AppClassLoader@6e0be858    []  o.a.derby
Booting Derby version The Apache Software Foundation - Apache Derby - 10.11.1.1 
- (1616546): instance e0b94027-014f-eef8-8f6b-000026a5cbda
on database directory 
/mnt/raid0/jenkins/grid/main/deployment/integration-tests/build/grid/var/replica-node/database/jyrusNodeDb
 with class loader sun.misc.Launcher$AppClassLoader@6e0be858
Loaded from 
file:/mnt/raid0/jenkins/grid/main/deployment/integration-tests/build/grid/lib/derby-10.11.1.1.jar
   []  o.a.derby
java.runtime.version=1.8.0_45-b14
user.dir=/mnt/raid0/jenkins/grid/main/deployment/integration-tests/build/grid/bin
   []  o.a.derby
os.arch=amd64
os.version=3.10.0-229.4.2.el7.x86_64    []  o.a.derby
2015-09-21 04:15:13,281 7326        DEBUG   rkServerStarter Mon Sep 21 04:15:13 
EDT 2015 : Apache Derby Network Server - 10.11.1.1 - (1616546) started and 
ready to accept connections on port 25421    []  o.a.derby
2015-09-21 04:15:13,298 7343        DEBUG   rkServerStarter Mon Sep 21 04:15:13 
EDT 2015 : Apache Derby Network Server - 10.11.1.1 - (1616546) started and 
ready to accept connections on port 25521    []  o.a.derby
2015-09-21 04:15:13,561 7606        DEBUG   dex-stat-thread Mon Sep 21 04:15:13 
EDT 2015 Thread[derby.index-stat-thread,5,derby.daemons]    []  o.a.derby
2015-09-21 04:15:13,561 7606        DEBUG   dex-stat-thread {istat} runtime 
exception during normal operation   []  o.a.derby
2015-09-21 04:15:13,562 7607        DEBUG   dex-stat-thread 
java.lang.NullPointerException  []  o.a.derby
2015-09-21 04:15:13,562 7607        DEBUG   dex-stat-thread at 
org.apache.derby.iapi.sql.dictionary.IndexRowGenerator.getExecutionFactory(Unknown
 Source)   []  o.a.derby
2015-09-21 04:15:13,563 7608        DEBUG   dex-stat-thread at 
org.apache.derby.iapi.sql.dictionary.IndexRowGenerator.getIndexRowTemplate(Unknown
 Source)   []  o.a.derby
2015-09-21 04:15:13,563 7608        DEBUG   dex-stat-thread at 
org.apache.derby.iapi.sql.dictionary.IndexRowGenerator.getNullIndexRow(Unknown 
Source)   []  o.a.derby
2015-09-21 04:15:13,563 7608        DEBUG   dex-stat-thread at 
org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.updateIndexStatsMinion(Unknown
 Source)   []  o.a.derby
2015-09-21 04:15:13,563 7608        DEBUG   dex-stat-thread at 
org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.generateStatistics(Unknown
 Source)   []  o.a.derby
2015-09-21 04:15:13,563 7608        DEBUG   dex-stat-thread at 
org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.processingLoop(Unknown
 Source)   []  o.a.derby
2015-09-21 04:15:13,563 7608        DEBUG   dex-stat-thread at 
org.apache.derby.impl.services.daemon.IndexStatisticsDaemonImpl.run(Unknown 
Source)  []  o.a.derby
2015-09-21 04:15:13,563 7608        DEBUG   dex-stat-thread at 
java.lang.Thread.run(Thread.java:745)    []  o.a.derby
2015-09-21 04:15:13,582 7627        ERROR   dex-stat-thread Terminating service 
due to uncaught exception on thread "derby.index-stat-thread"   []  c.n.j.FATAL
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]


> NPE in IndexRowGenerator.getExecutionFactory()
> ----------------------------------------------
>
>                 Key: DERBY-6833
>                 URL: https://issues.apache.org/jira/browse/DERBY-6833
>             Project: Derby
>          Issue Type: Bug
>          Components: Miscellaneous
>    Affects Versions: 10.11.1.1
>         Environment: Tue Sep 08 19:39:37 EDT 2015:
> Booting Derby version The Apache Software Foundation - Apache Derby - 
> 10.11.1.1 - (1616546): instance a816c00e-014f-af54-3c5f-0000350a3da0 
> on database directory 
> /mnt/raid0/jenkins/grid/main/deployment/integration-tests/build/grid/var/apps/archive/database/jyrusNodeDb
>  with class loader sun.misc.Launcher$AppClassLoader@7852e922 
> Loaded from 
> file:/mnt/raid0/jenkins/grid/main/deployment/integration-tests/build/grid/lib/derby-10.11.1.1.jar
> java.vendor=Oracle Corporation
> java.runtime.version=1.8.0_45-b14
> user.dir=/mnt/raid0/jenkins/grid/main/deployment/integration-tests/build/grid/bin
> os.name=Linux
> os.arch=amd64
> os.version=2.6.32-431.29.2.el6.x86_64
> derby.system.home=null
> Database Class Loader started - derby.database.classpath=''
>            Reporter: Edward Howe
>            Priority: Critical
>
> 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]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to