| Author |
Null Pointer Exception in StrutsActionProxy on running application
|
Shikha Dhawan
Greenhorn
Joined: Jun 07, 2011
Posts: 10
|
|
Hi,
When I run my web application (struts2) , the index page is displayed correctly. When I click the button on the index page, the following error occurs:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
org.apache.struts2.impl.StrutsActionProxy.getErrorMessage(StrutsActionProxy.java:69)
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:500)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:434)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.35 logs.
I'm not able to understand the reason. I'm new to web app development, please help..
Struts.xml :
POM.xml:
Thanks,
Shikha
|
Best Regards,
Shikha
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 7921
|
|
The full stack trace of the root cause is available in the Apache Tomcat/6.0.35 logs.
Can you show us the complete stack trace?
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
 |
|
|
subject: Null Pointer Exception in StrutsActionProxy on running application
|
|
|