java.lang.VerifyError: Expecting a stackmap frame at branch target 18 Exception Details: Location: com/test/MainActivity.onCreate(Landroid/os/Bundle;)V @5: aload_0 Reason: Expected stackmap frame at this location. Bytecode: 0x0000000: 125d b800 632a b400 6712 6901 b800 6da7 0x0000010: 000b 5701 1269 01b8 006d 1202 b800 032a 0x0000020: b600 04b6 0005 2a2b b700 062a 1208 b600 0x0000030: 092a 2a12 0bb6 000c c000 0db5 000e 2ab4 0x0000040: 000e bb00 0f59 2ab7 0010 b600 11b8 0072 0x0000050: b1 Exception Handler Table: bci [5, 26] => handler: 18

newrelic.com | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    VerifyError: Expecting a stackmap frame at branch target - Android - New Relic Online Technical Community

    newrelic.com | 5 months ago
    java.lang.VerifyError: Expecting a stackmap frame at branch target 18 Exception Details: Location: com/test/MainActivity.onCreate(Landroid/os/Bundle;)V @5: aload_0 Reason: Expected stackmap frame at this location. Bytecode: 0x0000000: 125d b800 632a b400 6712 6901 b800 6da7 0x0000010: 000b 5701 1269 01b8 006d 1202 b800 032a 0x0000020: b600 04b6 0005 2a2b b700 062a 1208 b600 0x0000030: 092a 2a12 0bb6 000c c000 0db5 000e 2ab4 0x0000040: 000e bb00 0f59 2ab7 0010 b600 11b8 0072 0x0000050: b1 Exception Handler Table: bci [5, 26] => handler: 18
  2. 0

    Support Go c-shared library format

    GitHub | 3 months ago | laszlohordos
    java.lang.RuntimeException: java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/example/App$LibGo$jnr$ffi$0.Base64Encode([B)[Ljava/lang/String; @32: areturn Reason: Type long_2nd (current frame, stack[1]) is not assignable to reference type Current Frame: bci: @32 flags: { } locals: { 'org/example/App$LibGo$jnr$ffi$0', '[B', integer } stack: { long, long_2nd } Bytecode: 0x0000000: b200 0e2a b400 122a b400 162b 033d c600 0x0000010: 0a09 8402 01a7 0004 091c 9a00 07b6 001c 0x0000020: b01c 2bb8 0022 4e2b 2d2a b400 26b6 002a 0x0000030: a7ff f0 Stackmap Table: full_frame(@24,{Object[#2],Object[#44],Integer},{Object[#24],Object[#46],Long}) full_frame(@25,{Object[#2],Object[#44],Integer},{Object[#24],Object[#46],Long,Long}) same_locals_1_stack_item_frame(@32,Long) full_frame(@33,{Object[#2],Object[#44],Integer},{Object[#24],Object[#46],Long,Long})
  3. 0

    Why do Mock Testing Frameworks and RV-Monitor interact negatively?

    GitHub | 2 years ago | owolabileg
    java.lang.VerifyError: (class: br/com/caelum/vraptor/util/test/MockValidator$$FastClassByMockitoWithCGLIB$$a16639d0, method: newInstance signature: (I[Ljava/lang/Object;)Ljava/lang/Object;) Accessing value\ from uninitialized register 3
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Lolipop - Unable to test ActionBarActivity ( needed for backporting material design)

    GitHub | 2 years ago | fada21
    java.lang.VerifyError: Expecting a stackmap frame at branch target 47 Exception Details: Location: android/support/v7/app/ActionBarActivity.<init>()V @19: ifnull Reason: Expected stackmap frame at this location. Bytecode: 0000000: 2ab7 018b 2ab6 018e 1301 9003 1202 b801 0000010: 964c 2bc6 001c 2b2a 2ab6 019a 03bd 019c 0000020: b901 a204 0057 a700 144d 2cb8 01a6 bf2a 0000030: b701 86b1 4d2c b801 a6bf b1 Exception Handler Table: bci [22, 38] => handler: 41 bci [47, 51] => handler: 52
  6. 0

    Issue instantiating bean - verify error

    Stack Overflow | 3 years ago | Daniele Milani
    java.lang.VerifyError: (class: myproject/myclass/ImageStorageService, method: writePdfFile signature: (Ljava/lang/String;Ljava/lang/String;Lmyproject/myobjects/IObject;)Ljava/io/File;) Call to wrong initialization method

  1. Sebastian Pappert 1 times, last 9 months ago
4 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 18 Exception Details: Location: com/test/MainActivity.onCreate(Landroid/os/Bundle;)V @5: aload_0 Reason: Expected stackmap frame at this location. Bytecode: 0x0000000: 125d b800 632a b400 6712 6901 b800 6da7 0x0000010: 000b 5701 1269 01b8 006d 1202 b800 032a 0x0000020: b600 04b6 0005 2a2b b700 062a 1208 b600 0x0000030: 092a 2a12 0bb6 000c c000 0db5 000e 2ab4 0x0000040: 000e bb00 0f59 2ab7 0010 b600 11b8 0072 0x0000050: b1 Exception Handler Table: bci [5, 26] => handler: 18

    at java.lang.Class.getDeclaredConstructors0()
  2. Java RT
    Class.getDeclaredConstructor
    1. java.lang.Class.getDeclaredConstructors0(Native Method)
    2. java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
    3. java.lang.Class.getConstructor0(Class.java:3075)
    4. java.lang.Class.getDeclaredConstructor(Class.java:2178)
    4 frames
  3. Roboelectric
    Robolectric.setupActivity
    1. org.robolectric.util.ReflectionHelpers.callConstructor(ReflectionHelpers.java:283)
    2. org.robolectric.Robolectric.buildActivity(Robolectric.java:92)
    3. org.robolectric.Robolectric.buildActivity(Robolectric.java:88)
    4. org.robolectric.Robolectric.setupActivity(Robolectric.java:96)
    4 frames
  4. com.shutterstock.consumer
    MainActivityTest.setup
    1. com.shutterstock.consumer.MainActivityTest.setup(MainActivityTest.java:22)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. JUnit
    RunBefores.evaluate
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    4 frames
  7. Roboelectric
    RobolectricTestRunner.runChild
    1. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:248)
    2. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:174)
    3. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:63)
    3 frames
  8. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    5 frames
  9. Roboelectric
    RobolectricTestRunner$1.evaluate
    1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:140)
    1 frame
  10. JUnit
    JUnitCore.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    2. org.junit.runners.Suite.runChild(Suite.java:128)
    3. org.junit.runners.Suite.runChild(Suite.java:27)
    4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    9. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    10. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    10 frames
  11. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
    1 frame
  12. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    2 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  14. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame