junit.framework.AssertionFailedError: Exception in constructor: testSuccessfulLogin (java.lang.ClassFormatError: Invalid index 0 in LocalVariableTable in class file org/apache/cactus/util/log/LogAspect

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

    Problem running TestCactusLoginAction program

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: Exception in constructor: testSuccessfulLogin (java.lang.ClassFormatError: Invalid index 0 in LocalVariableTable in class file org/apache/cactus/util/log/LogAspect
  2. 0

    Syntax error in SQL statement for DB2

    Google Groups | 3 years ago | Alexey Kalugin
    junit.framework.AssertionFailedError: Exception in constructor: testDriverDataLoaded (java.lang.UnsupportedClassVersionError: org/h2/tools/RunScript : Unsupported major.minor version 51.0

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      Exception in constructor: testSuccessfulLogin (java.lang.ClassFormatError: Invalid index 0 in LocalVariableTable in class file org/apache/cactus/util/log/LogAspect

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.loadClassInternal
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      5. java.net.URLClassLoader.access$100(URLClassLoader.java:56)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:195)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      9. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      10. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
      11. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      12. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      12 frames
    3. org.apache.cactus
      AbstractCactusTestCase.init
      1. org.apache.cactus.internal.server.ServerTestCaseCaller.setDelegatedTest(ServerTestCaseCaller.java)
      2. org.apache.cactus.internal.server.ServerTestCaseCaller.<init>(ServerTestCaseCaller.java:66)
      3. org.apache.cactus.internal.AbstractCactusTestCase.init(AbstractCactusTestCase.java:200)
      3 frames