Exception performing checkpoint -
11-15-2005
, 12:07 AM
I am using the Berkeley DB JE to simulate an inverted index. When my
program inserts data into Berkeley DB beyond a certain point (10000
tuples or so), I get the following error while closing the environment
:
Exception in thread "main" com.sleepycat.je.RunRecoveryException:
Exception performing checkpoint: com.sleepycat.je.DatabaseException:
java.lang.NullPointerException
at
com.sleepycat.je.dbi.EnvironmentImpl.doClose(Envir onmentImpl.java:792)
at
com.sleepycat.je.dbi.EnvironmentImpl.close(Environ mentImpl.java:665)
at com.sleepycat.je.Environment.close(Environment.jav a:297)
at
infoSearch.berkeleyDB.SearchDictionary.close(Dicti onary.java:76)
at
infoSearch.berkeleyDB.DocumentIndexer.main(Diction ary.java:146)
I'm perplexed, because it works fine, without any exception when I
insert lesser tuples.
Any help will be appreciated.
-- |