java.lang.ClassFormatError: g2/Main (Bad magic number)

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

Solutions on the web

via Oracle Community by 807546, 1 year ago
g2/Main (Bad magic number)
via Oracle Community by 843835, 1 year ago
jrun__positive__structures2ejsp18 (Bad magic number)
via xerces-j-users by jpablo, 1 year ago
org/apache/xerces/framework/XMLErrorReporter ( Bad magic number)
via Oracle Community by 843793, 1 year ago
... (Local variable name has bad constant pool index)
via Oracle Community by 807541, 1 year ago
nz/net/quickstep/uiobjects/Cba2efkSflctl (Bad index in constant pool #1)
via Oracle Community by 843804, 1 year ago
xxx (Bad magic number)
java.lang.ClassFormatError: g2/Main (Bad magic number)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.lang.ClassLoader.defineClass(ClassLoader.java:431)
at undefined.LoadG2.findClass(LoadG2.java:118)
at undefined.LoadG2.main(LoadG2.java:132)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 more bugmates

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