java.lang.VerifyError: Expecting a stackmap frame at branch target 12 Exception Details: Location: org/springframework/oxm/jibx/Flights.JiBX_binding_newinstance_1_0(Lorg/springframework/oxm/jibx/Flights;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/springframework/oxm/jibx/Flights; @1: ifnonnull Reason: Expected stackmap frame at this location. Bytecode: 0000000: 2ac7 000b bb00 0959 b700 2e4b 2ab0

Spring JIRA | Phil Webb | 4 years ago
  1. 0

    JiBX 1.2.5 doesn't work for me locally either when setting test compatibility to 1.7. Let's leave this as-is for 3.2.x and just addressed it for 4.0 once JiBX actually works with JDK 7. Juergen

    Spring JIRA | 4 years ago | Phil Webb
    java.lang.VerifyError: Expecting a stackmap frame at branch target 12 Exception Details: Location: org/springframework/oxm/jibx/Flights.JiBX_binding_newinstance_1_0(Lorg/springframework/oxm/jibx/Flights;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/springframework/oxm/jibx/Flights; @1: ifnonnull Reason: Expected stackmap frame at this location. Bytecode: 0000000: 2ac7 000b bb00 0959 b700 2e4b 2ab0
  2. 0

    [SPR-10423] Upgrade JiBX and fix workaround in build - Spring JIRA

    spring.io | 1 year ago
    java.lang.VerifyError: Expecting a stackmap frame at branch target 12 Exception Details: Location: org/springframework/oxm/jibx/Flights.JiBX_binding_newinstance_1_0(Lorg/springframework/oxm/jibx/Flights;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/springframework/oxm/jibx/Flights; @1: ifnonnull Reason: Expected stackmap frame at this location. Bytecode: 0000000: 2ac7 000b bb00 0959 b700 2e4b 2ab0
  3. 0

    JDK 1.7 fails on JIBX: java.lang.VerifyError error | Tiriboy's Blog

    blogspot.dk | 11 months ago
    java.lang.VerifyError: Expecting a stackmap frame at branch target 12 Exception Details: Location: org/wso2/appserver/jibx/library/beans/Book.JiBX_jibx_unwrapped_newinstance_1_0(Lorg/wso2/appserver/jibx/library/beans/Book;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/wso2/appserver/jibx/library/beans/Book; @1: ifnonnull Reason: Expected stackmap frame at this location. Bytecode: 0000000: 2ac7 000b bb00 0a59 b700 744b 2ab0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    VerifyError on JBoss 6

    Stack Overflow | 2 years ago | Augusto
    java.lang.VerifyError: (class: br/com/re/lojas/bo/nfe/ServicosNfeBOBean, method: consultarNotaFiscal signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Map;) Incompatible object argument for function call
  6. 0

    java.lang.VerifyError after running the DataNucleus Enhancer

    Stack Overflow | 6 years ago | joecks
    java.lang.VerifyError: (class: de/suur/wr/generated/FlagType$FlagTypeRemoveFlagsItem, method: setItem signature: (Ljava/lang/Object;)V) Incompatible argument to function </code></pre> <p>The original declaration of the method is: </p> <pre><code> public void setItem(String value) { this.item = value; } </code></pre> <p>I figured out that java adds some synthetic bridge methods to the bytecode, which would indeed match the error (see below). But usually this methods can coexist peacefully. Maybe the error is not related to the enhancer at all, but however I have no other intuition I thought it is related. What could be the reasons? </p> <pre><code> // Method descriptor #53 (Ljava/lang/Object;)V // Stack: 2, Locals: 2 public bridge synthetic void setItem(java.lang.Object arg0); 0 aload_0 [this] 1 aload_1 [arg0] 2 checkcast java.lang.String [54] 5 invokevirtual de.suur.wr.generated.FlagType$FlagTypeRemoveFlagsItem.setItem(java.lang.String) : void [56] 8 return Line numbers: [pc: 0, line: 1] </code></pre> <p>and the original method:</p> <pre><code> // Method descriptor #36 (Ljava/lang/String;)V // Stack: 2, Locals: 2 public void setItem(java.lang.String value); 0 aload_0 [this] 1 aload_1 [value] 2 putfield de.suur.wr.generated.FlagType$FlagTypeRemoveFlagsItem.item : java.lang.String [33] 5 return Line numbers: [pc: 0, line: 314] [pc: 5, line: 315] Local variable table: [pc: 0, pc: 6] local: this index: 0 type: de.suur.wr.generated.FlagType.FlagTypeRemoveFlagsItem [pc: 0, pc: 6] local: value index: 1 type: java.lang.String </code></pre> <p>I'm used the datanucleus(DN) and the datanucleus maven plugin(DNM2) in servile combinations: (DN,DNM2) 1.1.4 , 2.0.0 and 2.1.1, 2.1.1 . The stacktrace is </p> <pre><code> at java.lang.Class.getDeclaredMethods0(Native Method)

    2 unregistered visitors
    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

      Expecting a stackmap frame at branch target 12 Exception Details: Location: org/springframework/oxm/jibx/Flights.JiBX_binding_newinstance_1_0(Lorg/springframework/oxm/jibx/Flights;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/springframework/oxm/jibx/Flights; @1: ifnonnull Reason: Expected stackmap frame at this location. Bytecode: 0000000: 2ac7 000b bb00 0959 b700 2e4b 2ab0

      at java.lang.Class.getDeclaredMethods0()
    2. Java RT
      Class.getDeclaredMethods
      1. java.lang.Class.getDeclaredMethods0(Native Method)
      2. java.lang.Class.privateGetDeclaredMethods(Class.java:2566)
      3. java.lang.Class.getDeclaredMethods(Class.java:1885)
      3 frames
    3. jibx-bind - JiBX binding
      CompileTask.execute
      1. org.jibx.binding.Compile.compile(Compile.java:283)
      2. org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
      2 frames
    4. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:491)
      3 frames
    6. Ant
      DispatchUtils.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      1 frame