*
The moose likes Struts and the fly likes Throwing NullPoninterException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Throwing NullPoninterException" Watch "Throwing NullPoninterException" New topic
Author

Throwing NullPoninterException

Ram Mohan Khambhampati
Greenhorn

Joined: Sep 04, 2006
Posts: 6
Hi,

I have a small Struts application which is throwing the NullPointerException.struts-config.xml is in same location and <load-on-starup>has a valid integer value.Still it is throwing that exception.Please help out of this?I am copying the stack trace from browser.

exception

org.apache.jasper.JasperException: Module 'null' not found.
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

java.lang.NullPointerException: Module 'null' not found.
org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:755)
org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:364)
org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:285)
org.apache.struts.taglib.logic.RedirectTag.generateRedirectURL(RedirectTag.java:289)
org.apache.struts.taglib.logic.RedirectTag.doEndTag(RedirectTag.java:268)
org.apache.jsp.index_jsp._jspx_meth_logic_redirect_0(index_jsp.java:82)
org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



Thanks in advance.


Ram
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Throwing NullPoninterException
 
Similar Threads
not able to run html:text tag of struts tld
Module 'null' not found struts1.3.8+spring2.0
Module 'null' not found
TagUtils. computeURLWithCharEncoding
NullPointerException in struts