File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Weird Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Weird Exception" Watch "Weird Exception" New topic
Author

Weird Exception

Hrishi Pippadipally
Greenhorn

Joined: Jun 15, 2005
Posts: 2
Can someone tell me what this exception mean.

I am getting this exception in my local machine but it doesn't in other developers machine/DEV/PROD.

I guess it has something to do with JARS/Library because that is the only difference i see compared to my peers.

Exception creating bean of class com.gmacb.warehouse.webfund.presentation.FRSummaryDynaForm: {1}' javax.servlet.jsp.JspException: Exception creating bean of class com.gmacb.warehouse.webfund.presentation.FRSummaryDynaForm: {1} at org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:563) at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:520) at jsp_servlet._webfund.__fundingmanagementsummaryform._jspService(__fundingmanagementsummaryform.java:109) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:490) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:316) at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:116) at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137) at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177) at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756) at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881) at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473) at jsp_servlet.__standard._jspService(__standard.java:213) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:250) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274) at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:254) at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:309) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)


Form bean

import org.apache.struts.validator.DynaValidatorForm;

public class FRSummaryDynaForm extends DynaValidatorForm {

private Collection fundingRequestCollection;
.............................
}
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
My first guess would be that Struts can't find a no-args public constructor for this object, and therefore can't create it. Since this works in other environments, I'm wondering if maybe you have an old version of this class somewhere in your classpath.


Merrill
Consultant, Sima Solutions
Hrishi Pippadipally
Greenhorn

Joined: Jun 15, 2005
Posts: 2
I have the no-arg public constructor and i think that's fine.
Can you explain me what your below statement mean?
"I'm wondering if maybe you have an old version of this class somewhere in your classpath".

Thanks,
Hrishi.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weird Exception
 
Similar Threads
NoSuchObjectException: Bean has been deleted
Exception creating bean of class
Bean Deleted Exception
code too large
Software caused connection abort: socket write error