-
Notifications
You must be signed in to change notification settings - Fork 9
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
Class file version error in DSE with SpecificationReader #35
Comments
I could narrow down the bug a bit: The problem seems to occur when multiple different DSEs are started with different specs from the GUI. I corrected the import of Opt4J to release 3.3.0. Further investigation is required to debug what exactly causes the problem in the SpecificationReader when a second optimization is launched and why a Java version exception ('file major version 58' has to do with Java 14 being used) occurs. |
Could you try it with Odse as present in the bugFixSpecRead branch? |
opendse-tutorial/specs/Specification*.xml all work for me now with Java 11. opendse-tutorial/spec.xml no longer causes the major version error, but results in a different set of errors, so there might be a problem with this specific specification: `va:~$ ./gradlew run
1 error
1 error |
When trying to run a standard DSE (EA, SumEvaluator, sequential completion, standard OptimizationModule), we encounter the following error when using the InputModule with input file opendse-tutorial/spec.xml (and other such xml-specs) (tested with Java 11 and 14).
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Unsupported class file major version 58' ' [...] at org.opt4j.core.config.Task.call(Task.java:41) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) at java.base/java.lang.Thread.run(Thread.java:832)' ' Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 58 at com.google.inject.internal.asm.$ClassReader.<init>(ClassReader.java:176) [...] ... 21 more
The text was updated successfully, but these errors were encountered: