aspose file tools*
The moose likes Struts and the fly likes DynaActionForm -null pointer exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DynaActionForm -null pointer exception " Watch "DynaActionForm -null pointer exception " New topic
Author

DynaActionForm -null pointer exception

N Suresh
Greenhorn

Joined: Jan 07, 2004
Posts: 1
We have developed an application using Struts Framework .
we are using DynaValidatorForm with all properties of the form bean is defined in the Struts Config.xml


While submitting the form bean data , dynaform resets to null, and there
by throwing the following error .

The Dynaform resets to null and the following error is getting in Production Environment which is not happening in the Development Environment



DynaActionForm[dynaClass = , <NULL> ...]
...

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:21)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.citigroup.eceemea.edealer.filters.CompressionFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.citigroup.eceemea.edealer.filters.CachingFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2552)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2260)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DynaActionForm -null pointer exception