java.lang.ClassFormatError: Invalid code attribute name index 66 in class file Test

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via jakarta-bcel-user by Marwa_mma73, 1 year ago
Invalid code attribute name index 66 in class file Test
via proguard by cowwoc
, 1 year ago
Invalid or out-of-bounds class index in EnclosingMethod attribute in class file com/tog/desktopbeautifier 1/client/DesktopBeautifier$6
via Oracle Community by 195661, 1 month ago
Invalid length 65528 in LocalVariableTable in class file com/whirlpool/sjtc/ldap/Junk
via mail-archive.com by Unknown author, 2 years ago
Illegal exception table range in class file HelloWorld
via Google Groups by ikov, 2 months ago
Incompatible magic value 791617608 in class file HelloDate
via jakarta-bcel-user by Andrew Cornwall, 1 year ago
Illegal exception table range in class file HelloWorld
java.lang.ClassFormatError: Invalid code attribute name index 66 in class file Test
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 12 hours ago
3 times, 1 month ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
2 times, 9 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.