-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 Not Found org/graalvm/polyglot/Value 1.4.1 #41306
Comments
Same issue here, with Quarkus |
A small Maven reproducer might help. |
How to reproduceOk, so that's what I found.I don't expect any real answer : I'm just writting my search :) Step 1: upgrade Quarkus to
|
Bump ? |
Hello, |
Bump again. |
@jamailun You should use the new version of |
@Lmbwilly I've checked it with latest release of Quarkus. Now, we don't have errors but Karate cannot find any tests. I've updated my reproducer. Just to insist : the tests do work well with Quarkus 3.8.2 and Karate 1.4.1. |
@jamailun I've checked your reproducer and I only changed the call of the runner to |
Polyglot@Lmbwilly You did ? Didn't you also add to add the
So Truffle and Polyglot do not have the same verion in karate 1.5.0 🤔 It's not that bad, but I still find it sad to be obligated of using a specific environment variable. And without it, Truffle will refuse to execute the Karate test. Replacement of
|
Describe the bug
Using Karate for int testing, getting the below error when trying to run tests using
<dependency> <groupId>com.intuit.karate</groupId> <artifactId>karate-junit5</artifactId> <scope>test</scope> </dependency>
. TheValue
class is missing.java.lang.NoClassDefFoundError: org/graalvm/polyglot/Value at com.intuit.karate.core.Variable.<init>(Variable.java:72) at com.intuit.karate.core.Variable.<clinit>(Variable.java:66) at com.intuit.karate.core.Config.<init>(Config.java:94) at com.intuit.karate.core.ScenarioCall.getParentConfig(ScenarioCall.java:67) at com.intuit.karate.core.ScenarioRuntime.<init>(ScenarioRuntime.java:74) at com.intuit.karate.core.ScenarioIterator.tryAdvance(ScenarioIterator.java:162) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:292) at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206) at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:161) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:298) at java.base/java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681) at com.intuit.karate.junit5.FeatureNode.hasNext(FeatureNode.java:63) at com.intuit.karate.junit5.Karate.iterator(Karate.java:65) at java.base/java.lang.Iterable.spliterator(Iterable.java:101) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
I managed to overcome this by adding
graal-sdk 22.3.3
manually to be compatible with Truffle.found this
<dependency> <groupId>org.graalvm.sdk</groupId> <artifactId>graal-sdk</artifactId> <version>23.1.2</version> <exclusions> <exclusion> <groupId>org.graalvm.polyglot</groupId> <artifactId>polyglot</artifactId> </exclusion> </exclusions> </dependency>
in "quarkus-bom-3.10.2.pom", might be useful.Expected behavior
No response
Actual behavior
No response
How to Reproduce?
com.intuit.karate karate-junit5-1.4.1
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: