junit.framework.AssertionFailedError

received error 400 : Request\[/select\] does not contain handler parameter named task

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via strutstestcase by jd001982
    ,
  • via strutstestcase by nobody
    ,
  • via strutstestcase by jkanagy
    ,
  • Stack trace

    • junit.framework.AssertionFailedError: received error 400 : Request\[/select\] does not contain handler parameter named task at servletunit.HttpServletResponseSimulator.sendError(HttpServletResponseSimulator.java:445) at org.apache.struts.actions.DispatchAction.unspecified(DispatchAction.java:243) at java.lang.reflect.Method.invoke(Native Method) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280) at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:220) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:249) at mike.web.TestSubappLoginAction.testUpdate(TestSubappLoginAction.java:28) at java.lang.reflect.Method.invoke(Native Method) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:72) at junit.textui.TestRunner.run(TestRunner.java:57) at mike.web.TestSubappLoginAction.main(TestSubappLoginAction.java:35)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.