Skip to content

How to resolve "Expected stackmap frame at this location" #693

@ikus060

Description

@ikus060

I'm using powermock in my code base for quite a while. After minor modification to the code, I'm getting this error when running "mvn clean install". I'm wondering how to investigate an drill down this issue.

  1. Using OpenJDK 1.7.0_55 on debian linux x86_84
  2. Using powermock latest version (1.6.5)
  3. All the test are running using Java Agent (@rule public PowerMockRule rule = new PowerMockRule())
  4. I'm compiling my code for java 1.6 (enforced using maven-compiler-plugin)
java.lang.VerifyError: Expecting a stackmap frame at branch target 17
Exception Details:
  Location:
    org/neo4j/jdbc/Driver.createExecutor(Ljava/lang/String;Ljava/util/Properties;)Lorg/neo4j/jdbc/QueryExecutor; @4: ifnonnull
  Reason:
    Expected stackmap frame at this location.
  Bytecode:
    0000000: 2ab4 0024 c700 0dbb 00b3 5912 b5b7 00b8
    0000010: bf2a b400 242b 2cb9 00ba 0300 b0       

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions