Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#462 ClassFormatError: LVTT entry for ... does not match any LVT entry

v4.8
open
None
5
2014-05-30
2013-01-29
Dmitry Katsubo
No

The same issue as bug#376 reported earlier.

Exception in thread "main" java.lang.ClassFormatError: LVTT entry for 'classOnTop' in class file org/.../PropertyHolderStrategy does not match any LVT entry
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)

No obfuscation tool place, only optimization.

Source code is attached. Java v1.6.0_37, ProGuard v4.8 (from Maven). Also tested for ProGuard v4.5 with the same result.

1 Attachments

Discussion

  • Eric Lafortune
    Eric Lafortune
    2013-01-29

    • assigned_to: Eric Lafortune
     
  • Eric Lafortune
    Eric Lafortune
    2013-01-29

    This is a duplicate of bug#376 and bug#459. Thanks for the additional example.

     
  • Dmitry Katsubo
    Dmitry Katsubo
    2013-01-30

    Thanks for pointing out the workaround: -optimizations !code/allocation/variable worked nicely!

     
    Last edit: Dmitry Katsubo 2013-01-30