DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5091>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5091

CastorRegistryService.addEntry method fails





------- Additional Comments From [EMAIL PROTECTED]  2001-11-26 11:25 -------
I don't understand ;-).   

When I apply the patch and run the test jsp supplied, I get a NPE on the else 
branch, line 224, 

   fragment.addEntry(regName,entry);

Is there some configuration that is meant to be done as well in WEB-INF/conf 
perhaps?

Looking more closely at the patch, I am not sure why it is any better than the 
current code - isn't it doing the same thing...

It seems like maybe there are 2 problems 
- the registry.getEntry(name) method should not throw an exception (unless its 
needed for something else...).
- the else clause needs to handle the "fragment" reference being null and doing 
the "right thing" - whatever that is...

HELP...

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to