java.lang.VerifyError: 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 Frame: bci: @57 flags: { } locals: { 'SwitchCompilerErr', integer, integer } stack: { integer } Stackmap Frame: bci: @82 flags: { } locals: { 'SwitchCompilerErr', integer, integer, 'java/lang/String' } stack: { } Bytecode: 0x0000000: bb00 0259 b700 03b6 0004 3cbb 0002 59b7 0x0000010: 0003 b600 043d 1bab 0000 0017 0000 0001 0x0000020: 0000 0000 0000 0011 1205 4ea7 000d bb00 0x0000030: 0659 1207 b700 08bf 1cab 0000 0000 0019 0x0000040: 0000 0001 0000 0000 0000 0013 1205 4ea7 0x0000050: 000d bb00 0659 1207 b700 08bf b1 Stackmap Table: append_frame(@40,Integer,Integer) same_frame(@46) same_frame(@56) same_frame(@76) append_frame(@82,Object[#19]) chop_frame(@92,1)

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 JDK Bug System by Webbug Group, 1 year ago
: { } Bytecode: 0x0000000: bb00 0259 b700 03b6 0004 3cbb 0002 59b7 0x0000010: 0003 b600 043d 1bab 0000 0017 0000 0001 0x0000020: 0000 0000 0000 0011 1205 4ea7 000d bb00 0x0000030: 0659 1207 b700 08bf 1cab 0000 0000 0019 0x0000040: 0000 0001
via proguard by max-kammerer
, 2 months ago
Inconsistent stackmap frames at branch target 105 Exception Details: Location: test/FileUtilsKt.main([Ljava/lang/String;)V @105: iload_0 Reason: Type uninitialized 78 (current frame, locals[2]) is not assignable to 'java/io/File' (stack
via GitHub by KeenS
, 2 years ago
Bad type on operand stack Exception Details: Location: If.main([Ljava/lang/String;)V @21: ifeq Reason: Type top (current frame, stack[0]) is not assignable to integer Current Frame: bci: @21 flags: { } locals: { '[Ljava
via GitHub by ntroutman
, 6 months ago
' Current Frame: bci: @19 flags: { } locals: { '[Ljava/lang/String;', 'VerifyErrorBadOperandLombokExtensionMethodTest$CanReturnInt' } stack: { 'java/lang/Object', integer } Bytecode: 0x0000000: bb00 1059 b700 124c bb00 0359 b700 082b 0x0000010: b600 13c0 0017 b800 19b2 001f 1225 b600 0x0000020: 27b1
via java.net by Unknown author, 2 years ago
: bci: @36 flags: { } locals: { '[Ljava/lang/String;', 'Valhalla$Point3D' } stack: { 'java/io/PrintStream', 'java/lang/StringBuilder', 'Valhalla$Point3D' } Bytecode: 0000000: bb00 0259 04b8 0003 05b8 0003 06b8 0003 0000010: b700 044c b200 05bb 0006 59b7 0007 1208 0000020: b600 092b b600 0ab6 000b b600 0cb6 000d 0000030: b1
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
java.lang.VerifyError: 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 Frame: bci: @57 flags: { } locals: { 'SwitchCompilerErr', integer, integer } stack: { integer } Stackmap Frame: bci: @82 flags: { } locals: { 'SwitchCompilerErr', integer, integer, 'java/lang/String' } stack: { } Bytecode: 0x0000000: bb00 0259 b700 03b6 0004 3cbb 0002 59b7 0x0000010: 0003 b600 043d 1bab 0000 0017 0000 0001 0x0000020: 0000 0000 0000 0011 1205 4ea7 000d bb00 0x0000030: 0659 1207 b700 08bf 1cab 0000 0000 0019 0x0000040: 0000 0001 0000 0000 0000 0013 1205 4ea7 0x0000050: 000d bb00 0659 1207 b700 08bf b1 Stackmap Table: append_frame(@40,Integer,Integer) same_frame(@46) same_frame(@56) same_frame(@76) append_frame(@82,Object[#19]) chop_frame(@92,1)
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

Write tip

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