dbTalk Databases Forums  

JE2.0.42 Database Recovery Failure - NullPointerException in Key.java

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss JE2.0.42 Database Recovery Failure - NullPointerException in Key.java in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dsigma80@yahoo.com
 
Posts: n/a

Default JE2.0.42 Database Recovery Failure - NullPointerException in Key.java - 07-05-2005 , 05:38 PM






I have an application that I'm in the process of doing reliablity
testing on. Part of this process involves doing a kill -9 and
attempting to restart the appliation. Most of the time, this works just
fine, the app starts up, and is able to use it's DB without issues. But
about 1 in 5 times, when I startup, it will throw the exception listed
below.

Any ideas on what might cause this? Is there any other information I
could provide that would help?

Thanks,
-Dave


Other Info:
-The enviroment is transactional
-The enviroment has setAllowCreate(true);
-Using java 1.5.04 on redhat/linux
-There are 3 databases in the enviroment, each database has 1 to 4
secondary databases.
-The cache sizings are left default.


The Exception:

last LSN=0x339/0x173aaf - - EXCEPTION:
com.sleepycat.je.DatabaseException:

com.sleepycat.je.recovery.RecoveryManager.traceAnd ThrowException(RecoveryManager.java:2125)

com.sleepycat.je.recovery.RecoveryManager.redoLNs( RecoveryManager.java:1002)

com.sleepycat.je.recovery.RecoveryManager.buildTre e(RecoveryManager.java:539)

com.sleepycat.je.recovery.RecoveryManager.recover( RecoveryManager.java:155)

com.sleepycat.je.dbi.EnvironmentImpl.<init>(Enviro nmentImpl.java:236)
com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEn vPool.java:101)
com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEn vPool.java:54)
com.sleepycat.je.Environment.<init>(Environment.ja va:80)
null - CAUSED BY - EXCEPTION: java.lang.NullPointerException:
com.sleepycat.je.tree.Key.hashCode(Key.java:86)
java.util.HashMap.hash(HashMap.java:264)
java.util.HashMap.put(HashMap.java:382)
java.util.HashSet.add(HashSet.java:194)

com.sleepycat.je.tree.BINReference.addDeletedKey(B INReference.java:55)

com.sleepycat.je.incomp.INCompressor.addBinKeyToQu eueAlreadyLatched(INCompressor.java:256)

com.sleepycat.je.incomp.INCompressor.addBinKeyToQu eue(INCompressor.java:184)

com.sleepycat.je.dbi.EnvironmentImpl.addToCompress orQueue(EnvironmentImpl.java:453)

com.sleepycat.je.recovery.RecoveryManager.redo(Rec overyManager.java:1626)

com.sleepycat.je.recovery.RecoveryManager.redoLNs( RecoveryManager.java:969)

com.sleepycat.je.recovery.RecoveryManager.buildTre e(RecoveryManager.java:539)

com.sleepycat.je.recovery.RecoveryManager.recover( RecoveryManager.java:155)

com.sleepycat.je.dbi.EnvironmentImpl.<init>(Enviro nmentImpl.java:236)
com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEn vPool.java:101)
com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEn vPool.java:54)
com.sleepycat.je.Environment.<init>(Environment.ja va:80)


Reply With Quote
  #2  
Old   
Mark Hayes
 
Posts: n/a

Default Re: JE2.0.42 Database Recovery Failure - NullPointerException inKey.java - 07-06-2005 , 01:26 PM






dsigma80 (AT) yahoo (DOT) com wrote:
Quote:
I have an application that I'm in the process of doing reliablity
testing on. Part of this process involves doing a kill -9 and
attempting to restart the appliation. Most of the time, this works just
fine, the app starts up, and is able to use it's DB without issues. But
about 1 in 5 times, when I startup, it will throw the exception listed
below.

Any ideas on what might cause this? Is there any other information I
could provide that would help?
Dave,

We will take this issue off the newsgroup for debugging. You should get
a support request email shortly.

In the future for JE problems you may want to use the bdbje mailing
list, as the response time is faster. See the bottom of this page for
information on the mailing list:

http://sleepycat.com/products/je.shtml

Mark


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.