java.lang.VerifyError: Bad type on operand stack Exception Details: Location: a/k.r()Ljava/lang/Object; @1: getfield Reason: Type 'a/k' (current frame, stack[0]) is not assignable to 'a/ji' Current Frame: bci: @1 flags: { } locals: { 'a/k' } stack: { 'a/k' } Bytecode: 0000000: 2ab4 0017 b900 3901 00b0

proguard | gotofinal | 2 years ago
  1. 0

    VerifyError when using optimization with class/merging/horizontal

    proguard | 2 years ago | gotofinal
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: a/k.r()Ljava/lang/Object; @1: getfield Reason: Type 'a/k' (current frame, stack[0]) is not assignable to 'a/ji' Current Frame: bci: @1 flags: { } locals: { 'a/k' } stack: { 'a/k' } Bytecode: 0000000: 2ab4 0017 b900 3901 00b0
  2. 0

    VerifyError: Bad type on operand stack

    java.net | 8 months ago
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: A.main([Ljava/lang/String;)V @1: invokedynamic Reason: Type '[Ljava/lang/String;' (current frame, stack[0]) is not assignable to 'A' Current Frame: bci: @1 flags: { } locals: { '[Ljava/lang/String;' } stack: { '[Ljava/lang/String;' } Bytecode: 0000000: 2aba 0002 0000 4cb1
  3. 0

    VerifyError when inlining object literal extending inner class

    YouTrack | 10 months ago
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: X$foo$$inlined$with$lambda$1.<init>(LX;)V @7: getfield Reason: Type uninitializedThis (current frame, stack[1]) is not assignable to 'X$foo$$inlined$with$lambda$1' Current Frame: bci: @7 flags: { flagThisUninit } locals: { uninitializedThis, 'X' } stack: { uninitializedThis, uninitializedThis } Bytecode: 0000000: 2a2b b500 202a 2ab4 0020 b700 22b1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DataObjectEnhancer generated hashCode method failed when fields number exceed 5

    GitHub | 6 months ago | greenlaw110
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: testapp/model/Person2.hashCode()I @30: invokestatic Reason: Type 'java/lang/Integer' (current frame, stack[5]) is not assignable to '[Ljava/lang/Object;' Current Frame: bci: @30 flags: { } locals: { 'testapp/model/Person2' } stack: { 'java/lang/String', 'java/lang/String', 'testapp/model/Address2', 'testapp/model/Person2$Gender', 'java/lang/Integer', 'java/lang/Integer' } Bytecode: 0000000: 2ab4 0021 2ab4 0023 2ab4 0025 2ab4 001f 0000010: 2ab4 002d b800 5e2a b400 2fb8 005e b800 0000020: 62ac
  6. 0

    invokedynamic VerifyError on construction of inner class

    Stack Overflow | 1 year ago | Martin
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: com/tumbleweed/LambdaTest$A.<init>(Lcom/tumbleweed/LambdaTest;)V @7: invokedynamic Reason: Type uninitializedThis (current frame, stack[1]) is not assignable to 'com/tumbleweed/LambdaTest$A' Current Frame: bci: @7 flags: { flagThisUninit } locals: { uninitializedThis, 'com/tumbleweed/LambdaTest' } stack: { uninitializedThis, uninitializedThis } Bytecode: 0x0000000: 2a2b b500 012a 2aba 0002 0000 b700 03b1 0x0000010:

    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

      Bad type on operand stack Exception Details: Location: a/k.r()Ljava/lang/Object; @1: getfield Reason: Type 'a/k' (current frame, stack[0]) is not assignable to 'a/ji' Current Frame: bci: @1 flags: { } locals: { 'a/k' } stack: { 'a/k' } Bytecode: 0000000: 2ab4 0017 b900 3901 00b0

      at main.Main.<init>()
    2. main
      Main.<init>
      1. main.Main.<init>(Unknown Source)[?:?]
      1 frame
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[?:1.7.0_45]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)[?:1.7.0_45]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[?:1.7.0_45]
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)[?:1.7.0_45]
      5. java.lang.Class.newInstance(Class.java:374)[?:1.7.0_45]
      5 frames