struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@gmail.com>
Subject Re: java.lang.NullPointerException: Module 'null' not found.
Date Thu, 02 Nov 2006 22:00:04 GMT
On 11/2/06, bue <buelens.paul@gmail.com> wrote:
>
> I had exactly the same error message (with struts distribution 1.3.5 and
> Weblogic 8.1sp5).
> It turned out that the struts-config.xml file was missing (or at a wrong
> place).
> After supplying a proper struts-config.xml file in the proper place
> (WEB-INF/struts-config.xml)
> the error disappeared.

Hey thanks, I was wondering what could cause this. I guess the thing
that surprises me is that there wern't errors when the webapp started
up. Sounds like something we should plug. Would be good if you could
document this in a JIRA ticket so that it doesn't get forgotten.

https://issues.apache.org/struts/browse/STR

Niall

> This is the stacktrace as it appeared on the log at the time of the error:
> java.lang.NullPointerException: Module 'null' not found.
>         at
> org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:743)
>         at
> org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:723)
>         at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:742)
>         at
> org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:417)
>         at jsp_servlet.__index._jspService(index.jsp:16)
>         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
>         at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
>         at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
>         at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>         at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>         at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
>         at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
>         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
> Hope this helps.
>
>
>
> urswagner@bluemail.ch wrote:
> >
> >
> > With the struts 1.3 distribution I get this exception. What have
> > I
> > to do?
> >
> > 22:30:10,984 ERROR [[jsp]] Servlet.service() for servlet jsp
> > threw
> > exception
> > java.lang.NullPointerException: Module 'null' not found.
> >       at org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.
> > java:
> > 743)
> >       at org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.
> > java:
> > 723)
> >       at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:742)
> >       at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:
> > 417)
> >       at org.apache.jsp.submit_jsp._jspx_meth_html_form_0(org.apache.
> > jsp.
> > submit_jsp:147)
> >       at org.apache.jsp.submit_jsp._jspService(org.apache.jsp.
> > submit_jsp:
> > 100)
> >       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.
> > java:
> > 97)
> >       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >       at org.apache.jasper.servlet.JspServletWrapper.service
> > (JspServletWrapper.java:322)
> >       at org.apache.jasper.servlet.JspServlet.serviceJspFile
> > (JspServlet.
> > java:314)
> >       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:
> > 264)
> >       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >       at org.apache.catalina.core.ApplicationFilterChain.
> > internalDoFilter
> > (ApplicationFilterChain.java:252)
> >       at org.apache.catalina.core.ApplicationFilterChain.doFilter
> > (ApplicationFilterChain.java:173)
> >       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
> > (ReplyHeaderFilter.java:96)
> >       at org.apache.catalina.core.ApplicationFilterChain.
> > internalDoFilter
> > (ApplicationFilterChain.java:202)
> >       at org.apache.catalina.core.ApplicationFilterChain.doFilter
> > (ApplicationFilterChain.java:173)
> >       at org.apache.catalina.core.StandardWrapperValve.invoke
> > (StandardWrapperValve.java:213)
> >       at org.apache.catalina.core.StandardContextValve.invoke
> > (StandardContextValve.java:178)
> >       at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke
> > (CustomPrincipalValve.java:54)
> >       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
> > (SecurityAssociationValve.java:174)
> >       at org.jboss.web.tomcat.security.JaccContextValve.invoke
> > (JaccContextValve.java:74)
> >       at org.apache.catalina.core.StandardHostValve.invoke
> > (StandardHostValve.java:126)
> >       at org.apache.catalina.valves.ErrorReportValve.invoke
> > (ErrorReportValve.java:105)
> >       at org.apache.catalina.core.StandardEngineValve.invoke
> > (StandardEngineValve.java:107)
> >       at org.apache.catalina.connector.CoyoteAdapter.service
> > (CoyoteAdapter.java:148)
> >       at org.apache.coyote.http11.Http11Processor.process
> > (Http11Processor.java:868)
> >       at org.apache.coyote.http11.
> > Http11BaseProtocol$Http11ConnectionHandler.processConnection
> > (Http11BaseProtocol.java:663)
> >       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> > (PoolTcpEndpoint.java:527)
> >       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run
> > (MasterSlaveWorkerThread.java:112)
> >       at java.lang.Thread.run(Thread.java:595)
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/java.lang.NullPointerException%3A-Module-%27null%27-not-found.-tf2536213.html#a7132710
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message