portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5091] - CastorRegistryService.addEntry method fails
Date Mon, 26 Nov 2001 19:25:45 GMT
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 kimptoc_mail@yahoo.com  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:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message