Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-79

java.lang.ClassFormatError: LVTT entry for 'local' in class file org/shiftone/jrat/test/dummy/CrashTestDummy does not match any LVT entry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 6.1
    • Main
    • None

    Description

      I have tried both the release at http://people.apache.org/~tcurdt/bcel/rc2/ , as
      well as a build from head (410655). I see the same ClassFormatError with both.

      I get this error when running a JRat test case. This project and the test case
      is avalible on sourceforge (http://sourceforge.net/projects/jrat) - or I can
      provide it directly. The test case uses BCEL to isntrument a class and then
      tries to execute methods various methods on it.

      see org.shiftone.jrat.test.InjectorTestCase

      java.lang.ClassFormatError: LVTT entry for 'local' in class file
      org/shiftone/jrat/test/dummy/CrashTestDummy does not match any LVT entry
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
      at org.shiftone.jrat.test.TestClassLoader.loadClass(TestClassLoader.java:36)
      at org.shiftone.jrat.test.InjectorTestCase.setUp(InjectorTestCase.java:52)
      at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:32)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

      Attachments

        1. bcel-patch-method.txt
          3 kB
          Erik Bengtson
        2. bug79.diff
          2 kB
          Mark Roberts

        Activity

          People

            issues@commons.apache.org Apache Commons Developers
            jeff@drost.com Jeff Drost
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: