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
Unexpected exception encountered: java.lang.RuntimeException: Invalid StackMap offset 3: Invalid StackMap offset 3 #207
Comments
Hello, I met the same problem recently. |
I believe you omitted an important portion of the log files. When I followed your instructions I got a great many warnings of the form: Chicory warning: ClassFile: com.google.protobuf.AbstractMessage$Builder - classfile version (49) is out of date and may not be processed correctly. I suspect all the jar files in the lib directory have never been updated. Several (perhaps all) were built with Java 5. They need to be rebuilt with a much newer compiler. I would recommend Java 8 for now. |
Yes, there are such warnings. I will try to find the source and rebuild the libs. Thank you. |
It would be better for Daikon to output a clear error message when it is provided with classfiles that are too old and do not contain the information that its instrumentation needs. Is that possible? |
I will look into it.
|
The problem was an error in bcelutil/StackMapUtils. I have corrected the source, but we need to make a new release of bcel-util.jar. |
I should mention that even with this fix the original program will not run to completion as it runs out of Java heap space. It will probably require use of some combination of the --ppt-select-parttern and/or --ppt-omit-pattern options to get the generated data down to a manageable size. |
Hi,
I met
Unexpected exception encountered: java.lang.RuntimeException: Invalid StackMap offset 3: Invalid StackMap offset 3
when I use daikon to generate invariants for Closure project from defects4j.Daikon 5.7.2
Java:
How to reproduce:
defects4j checkout -p Closure -v 10f -w your_work_path
defects4j compile
java -Xmx10240M -cp lib/*:build/test/:build/classes/:build/lib/rhino.jar:build/lib/rhino1_7R4pre/js.jar:$DAIKONDIR/daikon.jar daikon.DynComp junit.textui.TestRunner com.google.javascript.jscomp.PeepholeFoldConstantsTest
java -Xmx10240M -cp lib/*:build/test/:build/classes/:build/lib/rhino.jar:build/lib/rhino1_7R4pre/js.jar:$DAIKONDIR/daikon.jar daikon.Chicory --comparability-file=TestRunner.decls-DynComp --daikon junit.textui.TestRunner com.google.javascript.jscomp.PeepholeFoldConstantsTest
Then you will see the exception which occurs multiple times.
Thank you!
The text was updated successfully, but these errors were encountered: