dcsimg
Servlet.service() for servlet action threw exception java.lang.NullPointerException
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   suc_Jag
Posted On:   Saturday, January 31, 2009 03:58 AM

I have logic tag in jsp file while accessing it getting null pointer exception. pasted the stack trace. all the struts mapping are fine. would some body help what is missing.. ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myproject].[action]] Servlet.service() for servlet action threw exception java.lang.NullPointerException ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myproject].[action]] Servlet.service() for servlet action threw exception java.lang.NullPointerException ERROR [org.apache.catalina.core.ContainerBase.[jboss.web]. [localhost].[/myproject].[jsp]] Servlet.service() for servlet jsp    More>>

I have logic tag in jsp file



while accessing it getting null pointer exception. pasted the stack trace. all the struts mapping are fine. would some body help what is missing..


ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myproject].[action]] Servlet.service() for servlet action threw exception

java.lang.NullPointerException

ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/myproject].[action]] Servlet.service() for servlet action threw exception

java.lang.NullPointerException

ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].
[localhost].[/myproject].[jsp]] Servlet.service() for
servlet jsp threw exception

javax.servlet.jsp.JspException: Exception forwarding for name MyForm: javax.servlet.ServletException

at
org.apache.struts.taglib.logic.ForwardTag.doForward(ForwardTag.java:125)

at
org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:105)

at
org.apache.jsp.check_jsp._jspx_meth_logic_forward_0(check_jsp.java:86)

at
org.apache.jsp.check_jsp._jspService(check_jsp.java:61)

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

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)

...

   <<Less
About | Sitemap | Contact