java.lang.VerifyError

Expecting a stackmap frame at branch target 50 Exception Details: Location: coverage/with/powermock/BankTest.$jacocoInit()[Z @4: ifnonnull Reason: Expected stackmap frame at this location. Bytecode: 0x0000000: b200 5059 c700 2e57 b200 5606 bd00 0459 0x0000010: 0314 0057 b800 5e53 5904 125f 5359 0508 0x0000020: b800 6453 5ab6 0068 5703 32c0 0069 59b3 0x0000030: 0050 b0

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1529

  • via Google Groups by Adam Brenner, 6 months ago
    Expecting a stackmap frame at branch target 50 Exception Details: Location: coverage/with/powermock/BankTest.$jacocoInit()[Z @4: ifnonnull Reason: Expected stackmap frame at this location. Bytecode: 0x0000000: b200 5059 c700 2e57
  • Expecting a stackmap frame at branch target 52 Exception Details: Location: WeavingTest/Weaving.printWeaving()V @15: ifne Reason: Expected stackmap frame at this location. Bytecode: 0x0000000: b200 422a 2ab8 0048 4cb2 0067 b600
  • Expecting a stackmap frame at branch target 11 Exception Details: Location: Test.<init>()V @4: ifnonnull Reason: Expected stackmap frame at this location. Bytecode: 0000000: b200 1359 c700 0757 b800 1d03 324c 2ab7 0000010: 0001 2b03 0454 b1
  • Stack trace

    • java.lang.VerifyError: Expecting a stackmap frame at branch target 50 Exception Details: Location: coverage/with/powermock/BankTest.$jacocoInit()[Z @4: ifnonnull Reason: Expected stackmap frame at this location. Bytecode: 0x0000000: b200 5059 c700 2e57 b200 5606 bd00 0459 0x0000010: 0314 0057 b800 5e53 5904 125f 5359 0508 0x0000020: b800 6453 5ab6 0068 5703 32c0 0069 59b3 0x0000030: 0050 b0 at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.privateGetMethodRecursive(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at org.junit.internal.builders.SuiteMethodBuilder.hasSuiteMethod(SuiteMethodBuilder.java:18) at org.junit.internal.builders.SuiteMethodBuilder.runnerForClass(SuiteMethodBuilder.java:10) at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59) at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26) at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59) at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:33) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init>(JUnit4TestClassReference.java:25) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:48) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    3 more bugmates