Hi,
What are the possibilities of getting null-pointer exception in java?
Please help me out from this NullPointerException for my application -
When i send a string form my login page, it is unable to forward to the target page..I am using default struts-config.xml. able to identify ActionServlet also. please suggest me why iam geting this exception here?
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NullPointerException
org.apache.struts.chain.ComposableRequestProcessor .process(ComposableRequestProcessor.java:286)
org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet .java:621)
javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
root cause
java.lang.NullPointerException
org.apache.struts.config.FormBeanConfig.createActi onForm(FormBeanConfig.java:289)
org.apache.struts.config.FormBeanConfig.createActi onForm(FormBeanConfig.java:357)
org.apache.struts.chain.commands.CreateActionForm. execute(CreateActionForm.java:92)
org.apache.struts.chain.commands.ActionCommandBase .execute(ActionCommandBase.java:51)
org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:191)
org.apache.commons.chain.generic.LookupCommand.exe cute(LookupCommand.java:305)
org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:191)
org.apache.struts.chain.ComposableRequestProcessor .process(ComposableRequestProcessor.java:283)
org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet .java:621)
javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
Thanks in advance