Look at the form class. If it couldn't find the class it should throw a
ClassNotFoundException, the fact that it throws an InstantiationException
implies theres a problem with how the class is defined - its not abstract is
it or an interface?

Niall

----- Original Message ----- 
From: "Brian Ivey" <[EMAIL PROTECTED]>
To: "Struts Users - List" <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 7:04 PM
Subject: Why am I getting a java.lang.InstantiationException?


> After several months of working on new additions to our web application, I
> have returned to a module that was working well not so long ago.  Now I
get
> this error:
>
> java.lang.InstantiationException: mypackage.myactionformname
>
> The location of this error as reported by chainsaw is:
>
>
org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:847)
>
> After closely inspecting my struts-config.xml I can find no discrepancies.
> After examining the change history in Source Safe I still find nothing
> suspicious.
>
> I am at my wits end and am getting seriously upset by this.  When I first
> experienced this issue it seemed like a quick fix.  After spending half a
> day working on this I am beginning to doubt that I will fix this before
the
> end of the day without outside help.  Any help will be appreciated.
>
> Thanks,
> Brian Ivey
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to