I traced it to a nullpointerexception. Didn't know why Struts is calling toString() which throws NullPointerException. Anyway, it uncovers the bug in my toString.
Thanks Hiran! Sebastian 2004-10-06 17:47:33,268 ERROR [org.apache.struts.util.RequestUtils] Error creating form bean of class sg.edu.astar.flamingo.web.proteomics.form.FileForm java.lang.NullPointerException at sg.edu.astar.flamingo.web.proteomics.form.FileForm.toString(FileForm.java:200) at java.lang.String.valueOf(String.java:2131) at java.lang.StringBuffer.append(StringBuffer.java:370) at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:844) at org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:364) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:253) 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) On Wed, 2004-10-06 at 19:08, [EMAIL PROTECTED] wrote: > Hi, Sebastian. > > It looks like the call to new FileForm() throws an exception. > Have a look at your Tomcat logfiles. There might be more information about the JSP > compiler failing. > > If that is not the case, check that the class exists (class name/package name). > If it is the first instantiation in your application, it might be a class loading > problem. Maybe another class FileForm relies on cannot be found. > If it is a second, ... instantiation check what code runs in the default constructor. > > This is what I'd go for. > > Hiran > > ----------------------------------------- > Hiran Chaudhuri > SAG Systemhaus GmbH > Elsenheimer StraÃe 11 > 80867 MÃnchen > Phone +49-89-54 74 21 34 > Fax +49-89-54 74 21 99 > > > > > > -----Original Message----- > > From: Sebastian Ho [mailto:[EMAIL PROTECTED] > > Sent: Mittwoch, 6. Oktober 2004 11:57 > > To: Struts Users Mailing List > > Subject: RE: Cannot create ActionForm > > > > You mean struts log file? Give me some time. Mean while this > > is the output from my server. > > > > 18:28:33,772 ERROR [Engine] ApplicationDispatcher[/Flamingo] > > Servlet.service() for servlet jsp threw exception > > org.apache.jasper.JasperException: Exception creating bean of class > > sg.edu.astar.flamingo.web.proteomics.form.FileForm: {1} > > at > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]