struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: 0702 build and Weblogic 5.1
Date Mon, 03 Jul 2000 16:04:00 GMT
Wong Kok Wai wrote:

> Encountered the following exception with the latest build when running
> on Weblogic 5.1sp3:
>
> Mon Jul 03 14:03:23 GMT+08:00 2000:<E> <WebAppServletContext-struts>
> Root cause
> of ServletException
> java.lang.NullPointerException:
>         at
> weblogic.servlet.jsp.PageContextImpl.getAttribute(PageContextImpl.jav
> a:159)
>         at
> org.apache.struts.taglib.MessageTag.doStartTag(MessageTag.java:358)
>

Lines 357-358 of MessageTag say this:

    MessageResources resources = (MessageResources)
      pageContext.getAttribute(bundle, PageContext.APPLICATION_SCOPE);

which cannot throw a null pointer exception itself.  This sounds like a
bug in Weblogic's "weblogic.servlet.jsp.PageContextImpl" class (at line
159).  It sounds like you might be able to use Struts as a test case in a
bug report to BEA.

Craig McClanahan



Mime
View raw message