java.lang.VerifyError: (class: servletunit/struts/Common, method: getActionConfig signature: (Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/ServletContext;)Lorg/apache/struts/config/ActionConfig;) Wrong return type in function

strutstestcase | nobody | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    getActionConfig Signature

    strutstestcase | 1 decade ago | nobody
    java.lang.VerifyError: (class: servletunit/struts/Common, method: getActionConfig signature: (Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/ServletContext;)Lorg/apache/struts/config/ActionConfig;) Wrong return type in function

    Root Cause Analysis

    1. java.lang.VerifyError

      (class: servletunit/struts/Common, method: getActionConfig signature: (Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/ServletContext;)Lorg/apache/struts/config/ActionConfig;) Wrong return type in function

      at servletunit.struts.MockStrutsTestCase.setRequestPathInfo()
    2. servletunit.struts
      MockStrutsTestCase.setRequestPathInfo
      1. servletunit.struts.MockStrutsTestCase.setRequestPathInfo(MockStrutsTestCase.java:378)
      2. servletunit.struts.MockStrutsTestCase.setRequestPathInfo(MockStrutsTestCase.java:355)
      2 frames
    3. com.uprr.app
      TestMyStrutsSample.testMySampleTest
      1. com.uprr.app.inl.TestScripts.TestMyStrutsSample.testMySampleTest(TestMyStrutsSample.java:23)
      1 frame
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      8 frames
    6. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
      3 frames