-
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
GraalVM JS Engine does not work with version 3.8.3 #39833
Comments
Some additional info, strangely if run the project through main (not quarkus plugin from intellij) or just building an uber-jar and running that this work with graalvm 24.0.0. |
I kind of expected this honestly as the issue is likely certainly ClassLoader related |
As for GraalVM 24 error, there might be some artifacts missing as parent first. |
But I wasn't able to reproduce your |
for for (24.0.0) was also happening in dev mode, just running simply |
I wonder if I misunderstood: you're tring GraalVM 24.0.0 with 3.8.3 and it doesn't work but it works with 3.9.1? |
It does not work with 3.9.1 either. First I thought it does , but just tried it running differently. |
@csviri I can't reproduce the issue with:
I tried both Quarkus 3.8.3 and 3.9.1. Are you doing something different? Can you please provide step by step instructions on how to reproduce? Thanks Update: I also tried the graal-24 branch with:
and still couldn't reproduce the issue. |
I was able to reproduce the issue with 3.8.3 but 3.9.1 works for me (but I'm actually surprised it works) |
I also tried what @zakkak tried and everything worked |
I'm using openJDK-17 and I can reproduce the error. I see some of the graal jars are missing from |
Related to quarkusio#39833 (cherry picked from commit cb0eb38)
Related to quarkusio#39833 (cherry picked from commit cb0eb38)
Related to quarkusio#39833 (cherry picked from commit cb0eb38)
Related to quarkusio#39833 (cherry picked from commit cb0eb38)
Related to quarkusio#39833 (cherry picked from commit cb0eb38)
Hi @gsmet, would it be possible to get this into 3.8.4? |
Hey @stalep , we discussed it with Luis last week and I can confirm the fix will be released with 3.8.4. I plan to release 3.8.4 on Wednesday. |
You can test the 3.8 branch already if you want to make sure everything is fine on your side. |
Has this since been fixed? |
Yes! |
👌🏼 |
Describe the bug
When want to use graalvm js with quarkus 3.8.3, the js engine cannot be instantiated, receiving message:
created a reproducer here:
https://github.com/csviri/quarkus-graalvm-js-reproducer
Note that this uses graalvm version
23.1.2
.With GraalVM version
24.0.0
the engine can be instantiated but I receive an error:See branch
graal-24
in same repo.Expected behavior
Java sctript engine instantiated and can execute scripts.
Actual behavior
No response
How to Reproduce?
Use the mentioned reproducer project. Just simply run the project on main branch.
Output of
uname -a
orver
Linux csviri-desctop 5.15.0-101-generic #111-Ubuntu SMP Tue Mar 5 20:16:58 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk 21.0.2 2024-01-16
Quarkus version or git rev
3.8.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) Maven home: /home/csviri/Applications/apache-maven-3.9.6 Java version: 21.0.2, vendor: Private Build, runtime: /usr/lib/jvm/java-21-openjdk-amd64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.15.0-101-generic", arch: "amd64", family: "unix"
Additional information
No response
The text was updated successfully, but these errors were encountered: