There was a bug fix for this recently. Try using 1.1RC1 or a nightly.

David



From: "Sloan Seaman" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: html:messages causing NullPointerException
Date: Thu, 27 Feb 2003 11:52:02 -0500

I have an interesting situation.

I've got an action chainer thing I wrote that works fine until one of the
actions jsp pages tried to have something like:

<html:messages id="retireMessage" property="success" message="true">
 <core:out value="${retireMessage}"/>
</html:messages>

All of the action is the chain work fine but for some reason the last action
in the chain (the one whose ActionForward I actually pay attention to) if it
has the above code, throws the following error:
----- Root Cause -----
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:389)
at
org.apache.jasper.runtime.PageContextImpl.setAttribute(PageContextImpl.java:
234)
at
org.apache.struts.taglib.html.MessagesTag.doStartTag(MessagesTag.java:250)
at org.apache.jsp.main_jsp._jspService(main_jsp.java:268)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
etc...


The message tag works fine otherwise....

Idea's?

Thanks..

--
Sloan



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


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



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



Reply via email to