I ran to the same problem, here is top level stacktrace, (if it is not
already reported)



java.lang.NullPointerException
        at java.util.Hashtable.get(Hashtable.java:329)
        at
org.apache.jasper.runtime.PageContextImpl.findAttribute(PageContextImpl.java
:305)
        at
org.apache.struts.util.RequestUtils.getActionErrors(RequestUtils.java:1856)
        at org.apache.struts.taglib.html.ErrorsTag.doStartTag(ErrorsTag.java:194)
        at
org.apache.strutsel.taglib.html.ELErrorsTag.doStartTag(ELErrorsTag.java:181)

----- Original Message -----
From: "Wendy Smoak" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, February 25, 2003 7:30 AM
Subject: RE: NPE, webapp broken after moving to 1.1-rc1


> David Karr wrote:
> > I could use a full review of exactly the page that is causing problems,
> > including the full stack trace, along with a modified page that is not
> having a
> > problem.
>
> I filed a bug for it (#17375).  Basically, any page with <html-el:errors/>
> dies with a NPE.
>
> I thought maybe it wouldn't happen if there actually were errors to be
> displayed, but that's not the case.  I determined this by commenting out
the
> <html-el:errors/> tag so the form would display, then deliberately making
an
> error, but putting the tag back in and saving the .jsp before submitting
the
> form.  It recompiled and showed the NPE.  If I edit the .jsp again to use
> <html:errors/> save it and resubmit the form, I now see the html formatted
> validation errors.
>
> I hope the sample JSP and the stack trace in the bug report are enough to
go
> on.
>
> --
> Wendy Smoak
> Applications Systems Analyst, Sr.
> Arizona State University PA Information Resources Management
>

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

Reply via email to