java.lang.NullPointerException: Module 'null' not found.

07-03-04 luckstarzb
我昨天在调试时,一开始还是正确的,后来不知为什么什么页面都出现这种错误,估计引入tld的地方就出现了问题,但开始的时候都是正常的,哪位高手碰到过呀?

原程序:http://www.chcode.net/zb.rar

严重: 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.computeURLWithCharEncoding(TagUtils.java:360)

at org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:281)

at org.apache.struts.taglib.logic.RedirectTag.generateRedirectURL

(RedirectTag.java:286)

at org.apache.struts.taglib.logic.RedirectTag.doEndTag(RedirectTag.java:265)

at org.apache.jsp.index_jsp._jspx_meth_logic_redirect_0(index_jsp.java:93)

at org.apache.jsp.index_jsp._jspService(index_jsp.java:66)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)

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:802)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter

(ApplicationFilterChain.java:252)

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.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.Http11AprProcessor.process(Http11AprProcessor.java:833)

at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process

(Http11AprProtocol.java:639)

at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)

at java.lang.Thread.run(Thread.java:595)

banq
2007-03-06 09:57
大概是struts的标签出问题了

猜你喜欢