[ openjms-Bugs-949270 ] JmsServer(config) throws NPE
"SourceForge.net" <[email protected]> Fri, 07 May 2004 00:32:15 -0700
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #949270, was opened at 2004-05-07 01:24 Message generated for change (Comment added) made by tanderson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=949270&group_id=54559 Category: server Group: v0.7.6 Status: Open Resolution: None Priority: 5 Submitted By: J Aaron Farr (jaaron_farr) Assigned to: Nobody/Anonymous (nobody) Summary: JmsServer(config) throws NPE Initial Comment: The JmsServer(Configuration config) constructor does not properly initialize the configuration variables which causes a NullPointerException to be thrown when JmsServer.init() is called. Patches are attatched for both the JmsServer and the ConfigurationManager (to use the ConfigurationLoader when handling Configuration objects instead of a file name). ---------------------------------------------------------------------- >Comment By: Tim Anderson (tanderson) Date: 2004-05-07 17:32 Message: Logged In: YES user_id=557161 The patch file only contains a patch for ConfigurationManager, which I don't quite agree with - the Configuration instance should be completely populated before being passed to the JmsServer constructor. I've applied a change to JmsServer to correct the NPE, on the openjms_0_7_6_maint branch. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=949270&group_id=54559 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3