java.lang.VerifyError: Bad type on operand stack Exception Details: Location: javacbug.<init>()V @18: invokespecial Reason: Type uninitializedThis (current frame, stack[3]) is not assignable to 'javacbug' Current Frame: bci: @18 flags: { flagThisUninit } locals: { uninitializedThis } stack: { uninitializedThis, uninitialized 1, uninitialized 1, uninitializedThis, 'Outer' } Bytecode: 0x0000000: 2abb 0001 592a bb00 0259 b700 0359 b600 0x0000010: 0457 b700 05b7 0006 b1

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 JDK Bug System by Webbug Group, 1 year ago
Bad type on operand stack Exception Details: Location: javacbug.<init>()V @18: invokespecial Reason: Type uninitializedThis (current frame, stack[3]) is not assignable to 'javacbug' Current Frame: bci: @18 flags
via GitHub by ntroutman
, 6 months ago
Bad type on operand stack Exception Details: Location: VerifyErrorBadOperandLombokExtensionMethodTest.main([Ljava/lang/String;)V @19: checkcast Reason: Type integer (current frame, stack[1]) is not assignable to 'java/lang/Object
via javacodegeeks.com by Unknown author, 1 year ago
Bad type on operand stack Exception Details: Location: TestClassC.main([Ljava/lang/String;)V @9: invokestatic Reason: Type 'TestClassB' (current frame, stack[0]) is not assignable to 'TestClassA' Current Frame: bci: @9 flags
via java.net by Unknown author, 2 years ago
Bad type on operand stack Exception Details: Location: Valhalla.main([Ljava/lang/String;)V @36: invokevirtual Reason: Type 'Valhalla$Point3D' (current frame, stack[2]) is not assignable to 'Valhalla$Point3D${0=I}' Current Frame
via JDK Bug System by Webbug Group, 1 year ago
Bad local variable type Exception Details: Location: FinalLocalStringUsedInSetter.test()V @9: aload_1 Reason: Type top (current frame, locals[1]) is not assignable to reference type Current Frame: bci: @9 flags: { } locals
via JDK Bug System by Webbug Group, 1 year ago
Inconsistent stackmap frames at branch target 82 Exception Details: Location: SwitchCompilerErr.switchTo()V @82: new Reason: Type top (current frame, locals[3]) is not assignable to 'java/lang/String' (stack map, locals[3]) Current
java.lang.VerifyError: Bad type on operand stack Exception Details: Location: javacbug.<init>()V @18: invokespecial Reason: Type uninitializedThis (current frame, stack[3]) is not assignable to 'javacbug' Current Frame: bci: @18 flags: { flagThisUninit } locals: { uninitializedThis } stack: { uninitializedThis, uninitialized 1, uninitialized 1, uninitializedThis, 'Outer' } Bytecode: 0x0000000: 2abb 0001 592a bb00 0259 b700 0359 b600 0x0000010: 0457 b700 05b7 0006 b1
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)

Users with the same issue

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
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 more bugmates

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