File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DynaActionForm -null pointer exception " Watch "DynaActionForm -null pointer exception " New topic

DynaActionForm -null pointer exception

N Suresh

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(
at org.apache.struts.action.RequestProcessor.process(
at org.apache.struts.action.ActionServlet.process(
at org.apache.struts.action.ActionServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
at weblogic.servlet.internal.TailFilter.doFilter(
at weblogic.servlet.internal.FilterChainImpl.doFilter(
at com.citigroup.eceemea.edealer.filters.CompressionFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(
at com.citigroup.eceemea.edealer.filters.CachingFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(
at weblogic.servlet.internal.ServletRequestImpl.execute(
at weblogic.kernel.ExecuteThread.execute(
I agree. Here's the link:
subject: DynaActionForm -null pointer exception
It's not a secret anymore!