[Opensource] problem with Expresso503 in Iplanet
larry hamel
expresso at codeguild.com
Wed Apr 9 13:28:49 PDT 2003
looks like a bug to me... why write a null there? does it go away if you comment out line 429?
larry
At 08:06 AM 4/9/2003, you wrote:
>Hi,
>
>I have installed Expresso503 in Iplanet web server. (simply deployed expresso5-0-3-bin.war, with no changes on any config file)
>When I try to login, I get :
>
>ERROR [Thread-11] controller.Controller (Controller.java:1180) - Error in substate
>java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:380)
> at com.iplanet.server.http.servlet.NSServletRequest.setAttribute(NSServletRequest.java:342)
> at com.jcorporate.expresso.core.controller.session.HTTPPersistentSession.setAttribute(HTTPPersistentSession.java:78)
> at com.jcorporate.expresso.core.controller.ControllerRequest.getErrorCollection(ControllerRequest.java:429)
> at com.jcorporate.expresso.services.controller.LoginController.runPromptLoginState(LoginController.java:945)
>and so on
>
>
>method getErrorCollection() of ControllerRequest looks like :
>
>public ErrorCollection getErrorCollection() throws ControllerException {
> ErrorCollection ec = (ErrorCollection) getSession().getAttribute(Action.ERROR_KEY);
> if (ec == null) {
> ec = (ErrorCollection)getSession().getPersistentAttribute(Action.ERROR_KEY);
> getSession().removePersistentAttribute(Action.ERROR_KEY);
> getSession().setAttribute(Action.ERROR_KEY,ec); // line 429
> }
>}
>
>It seams that in line 429 variable 'ec' comes as 'null' and this causes the NullPointerException.
>
>Does anyone has any clue on why this might happen ???
>really appreciate any help
>
>Lirian
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/
More information about the Opensource
mailing list