You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Afshartous, Nick" <ni...@proactcorp.com> on 2002/12/06 16:48:41 UTC
Struts TestCase v1.9 exception
Hi,
I'm trying to use Struts TestCase v1.9 and am getting the exception below
when calling actionPerform(). Thanks for any explanation.
--
Nick
<testcase name="testSuccessfulUserLogon" time="6.123">
<failure message="Error running action.perform(): class
java.lang.ClassCastException - org.apache.struts.action.ActionMapping"
type="org.apache.cactus.client.AssertionFailedErrorWrapper">junit.framework.
AssertionFailedError: Error running action.perform(): class
java.lang.ClassCastException - org.apache.struts.action.ActionMapping
at junit.framework.Assert.fail(Assert.java:51)
at
servletunit.struts.CactusStrutsTestCase.actionPerform(CactusStrutsTestCase.j
ava:278)
at
testcases.com.proactcorp.web.benmgmt.common.security.action.TestLogonAction.
logon(TestLogonAction.java:62)