Discussion:
[openjms-developer] [ openjms-Bugs-949270 ] JmsServer(config) throws NPE
SourceForge.net
2005-07-13 04:58:37 UTC
Permalink
Bugs item #949270, was opened at 2004-05-07 01:24
Message generated for change (Settings changed) made by tanderson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=949270&group_id=54559

Please 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: server
Group: v0.7.6
Status: Closed
Resolution: Fixed
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: 2005-07-13 14:58

Message:
Logged In: YES
user_id=557161

Applied NPE change to HEAD. Fix will be available in 0.7.7
release.

----------------------------------------------------------------------

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
Loading...