java.lang.VerifyError: Inconsistent stackmap frames at branch target 29 Exception Details: Location: my/Broken.someMethod([Ljava/lang/Object;)V @29: aload_0 Reason: Type '[I' (current frame, locals[1]) is not assignable to '[Ljava/lang/Object;' (stack map, locals[1]) Current Frame: bci: @18 flags: { } locals: { '[Ljava/lang/Object;', '[I' } stack: { } Stackmap Frame: bci: @29 flags: { } locals: { '[Ljava/lang/Object;', '[Ljava/lang/Object;' } stack: { } Bytecode: 0000000: 014c b800 0b0a 949a 000e 01c0 0007 b800 0000010: 0c4c a700 0b01 c000 07b8 000d 4c2a c000 0000020: 0203 2b53 b1 Stackmap Table: same_frame(@21) append_frame(@29,Object[#2])

proguard | aaleshnikov | 2 years ago
  1. 0

    VerifyError: Inconsistent stackmap frames at branch target

    proguard | 2 years ago | aaleshnikov
    java.lang.VerifyError: Inconsistent stackmap frames at branch target 29 Exception Details: Location: my/Broken.someMethod([Ljava/lang/Object;)V @29: aload_0 Reason: Type '[I' (current frame, locals[1]) is not assignable to '[Ljava/lang/Object;' (stack map, locals[1]) Current Frame: bci: @18 flags: { } locals: { '[Ljava/lang/Object;', '[I' } stack: { } Stackmap Frame: bci: @29 flags: { } locals: { '[Ljava/lang/Object;', '[Ljava/lang/Object;' } stack: { } Bytecode: 0000000: 014c b800 0b0a 949a 000e 01c0 0007 b800 0000010: 0c4c a700 0b01 c000 07b8 000d 4c2a c000 0000020: 0203 2b53 b1 Stackmap Table: same_frame(@21) append_frame(@29,Object[#2])
  2. 0

    Bug ID: JDK-8067429 java.lang.VerifyError: Inconsistent stackmap frames at branch target

    java.com | 1 year ago
    java.lang.VerifyError: Inconsistent stackmap frames at branch target 84 Exception Details: Location: VerifyBug.problematicMethod(I)V @84: goto Reason: Type top (current frame, locals[4]) is not assignable to long (stack map, locals[4]) Current Frame: bci: @51 flags: { } locals: { 'VerifyBug', integer } stack: { integer } Stackmap Frame: bci: @84 flags: { } locals: { 'VerifyBug', integer, top, top, long, long_2nd } stack: { } Bytecode: 0000000: 1bab 0000 0000 0028 0000 0002 0000 0002 0000010: 0000 001e 0000 0003 0000 001b a700 0007 0000020: 3604 1b10 109f 0007 b1a7 0000 1b10 079f 0000030: 0028 1bab 0000 0024 0000 0002 0000 0001 0000040: 0000 0019 0000 0002 0000 0021 1400 0237 0000050: 04a7 0006 a700 03b1 Stackmap Table: same_frame(@28) same_frame(@31) same_frame(@41) same_frame(@44) same_frame(@76) append_frame(@84,Top,Top,Long) chop_frame(@87,3)
  3. 0

    YourKit Java Profiler and .NET Profiler Forums • View topic - YourKit Profiler 2015.15074 + Mule ESB = False

    yourkit.com | 1 year ago
    java.lang.VerifyError: Expecting a stackmap frame at branch target 73 Exception Details:   Location: org/mule/module/reboot/MuleContainerBootstrap.parseCommandLine([Ljava/lang/String;)Lorg/apache/commons/cli/CommandLine; @36: goto   Reason: Expected stackmap frame at this location.   Bytecode: 0000000: 02c4 3600 0311 48ef 1100 00b8 0169 bb00 0000010: ff59 b701 0159 c415 0003 b801 70c4 3600 0000020: 034c 033d a700 252b b200 2e1c 3203 3212 0000030: 18b2 002e 1c32 0432 b601 02b2 002e 1c32 0000040: 0532 b601 0657 8402 011c b200 2ebe a1ff 0000050: d9bb 010a 59b7 010c 59c4 1500 03b8 0170 0000060: c436 0003 2b2a 04b6 010d 1148 ef11 0000 0000070: b801 6cb0                             
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Commented] (HDFS-8132) Namenode Startup Failing If we export JAVA_OPTS

    apache.org | 1 year ago
    java.lang.VerifyError: Expecting a stackmap frame at branch target 21 Exception Details: Location: org/apache/hadoop/hdfs/server/namenode/NameNode.createHAState(Lorg/apache/hadoop/hdfs/server/common/HdfsServerConstants$StartupOption;)Lorg/apache/hadoop/hdfs/server/namenode/ha/HAState; @4: ifeq Reason: Expected stackmap frame at this location. Bytecode: 0000000: 2ab4 02d2 9900 112b b203 08a5 000a 2bb2 0000010: 030b a600 07b2 030d b0b2 030f b0
  6. 0

    Why do I get a VerifyError?

    Stack Overflow | 8 months ago | Nadir Ali Baloch
    java.lang.VerifyError: Constructor must call super() or this() before return Exception Details: Location: first/program/login.<init>()V @0: return Reason: Error exists in the bytecode Bytecode: 0000000: b1

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.VerifyError

      Inconsistent stackmap frames at branch target 29 Exception Details: Location: my/Broken.someMethod([Ljava/lang/Object;)V @29: aload_0 Reason: Type '[I' (current frame, locals[1]) is not assignable to '[Ljava/lang/Object;' (stack map, locals[1]) Current Frame: bci: @18 flags: { } locals: { '[Ljava/lang/Object;', '[I' } stack: { } Stackmap Frame: bci: @29 flags: { } locals: { '[Ljava/lang/Object;', '[Ljava/lang/Object;' } stack: { } Bytecode: 0000000: 014c b800 0b0a 949a 000e 01c0 0007 b800 0000010: 0c4c a700 0b01 c000 07b8 000d 4c2a c000 0000020: 0203 2b53 b1 Stackmap Table: same_frame(@21) append_frame(@29,Object[#2])

      at java.lang.Class.getDeclaredMethods0()
    2. Java RT
      LauncherHelper.checkAndLoadMain
      1. java.lang.Class.getDeclaredMethods0(Native Method)
      2. java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
      3. java.lang.Class.getMethod0(Class.java:2856)
      4. java.lang.Class.getMethod(Class.java:1668)
      5. sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
      6. sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
      6 frames