[ openjms-Bugs-949270 ] JmsServer(config) throws NPE

"SourceForge.net" <[email protected]> Tue, 12 Jul 2005 21:58:37 -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 (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


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar