Bugs item #2888874, was opened at 2009-10-29 17:05
Message generated for change (Tracker Item Submitted) made by moxlow
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=117691&aid=2888874&group_id=17691Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: moxlow (moxlow)
Assigned to: Nobody/Anonymous (nobody)
Summary: NullPointer during Exist shutdown
Initial Comment:
Version: Exist 1.5RC
Precondition: default configuration, embedded mode, journal turned off
When performing database shutdown via:
manager = (DatabaseInstanceManager) getStartCol().getService("DatabaseInstanceManager", "1.0");
manager.shutdown();
a NullPointer Exception is thrown:
Exception in thread "main" java.lang.NullPointerException
at org.exist.storage.BrokerPool.shutdown(BrokerPool.java:1608)
at org.exist.storage.BrokerPool.shutdown(BrokerPool.java:1561)
at org.exist.xmldb.LocalDatabaseInstanceManager.shutdown(LocalDatabaseInstanceManager.java:44)
at org.exist.xmldb.LocalDatabaseInstanceManager.shutdown(LocalDatabaseInstanceManager.java:27)
The corresponding source code line:
transactionManager.getJournal().flushToLog(true, true);
This indicates that getJournal() retruns NULL, since journal function is turned off in the deployed configuration.
Cheers,
moxlow
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=117691&aid=2888874&group_id=17691------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open