Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.VerifyError: Expecting a stackmap frame at branch target 54 #11

Open
airportyh opened this issue Mar 25, 2021 · 0 comments
Open

Comments

@airportyh
Copy link

Hello, I am just trying out the ODB for the first time with a simple program and got this error. Want to see if this is a known issue and maybe I need to use a different version of java.

$ java -DDEBUG_DEBUGIFY -Xms400100100 -Xmx400100100 -DMEMORY=400100100 -cp LewisOmniscientDebugger-1.5.jar:$CLASSPATH com.lambda.Debugger.Debugger Play > output.txt
Exception in thread "main" java.lang.VerifyError: Expecting a stackmap frame at branch target 54
Exception Details:
  Location:
    Play.<init>()V @16: ifnonnull
  Reason:
    Expected stackmap frame at this location.
  Bytecode:
    0x0000000: b201 aa03 6013 01ab 1301 9304 b800 e759
    0x0000010: c700 2657 b201 aa03 60b2 01af 59c7 000e
    0x0000020: 5713 019a b801 a059 b301 af00 1301 ab13
    0x0000030: 0193 04b8 00eb 4c2a b700 01b2 01aa 0360
    0x0000040: 2bb8 00cb b1                           

	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
	at java.lang.Class.getDeclaredMethod(Class.java:2128)
	at com.lambda.Debugger.Debugger.runTarget(Debugger.java:1131)
	at com.lambda.Debugger.Debugger.runMain(Debugger.java:1036)
	at com.lambda.Debugger.Debugger.main2(Debugger.java:1028)
	at com.lambda.Debugger.Debugger.main(Debugger.java:967)

The test program looks like this:

public class Play {
    public static void main(String[] argv) {
        System.out.println("Hello world!");
    }
}

This is my java version:

$ java -version
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant