-
Notifications
You must be signed in to change notification settings - Fork 1.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
BytecodeParserError: java.lang.NullPointerException: Cannot invoke "jdk.vm.ci.meta.JavaType.toJavaName()" because "type" is null #5650
Comments
FWIW I also tried the same but without SpringBoot on this branch: https://github.com/eregon/truffleruby-embed-spring/tree/without-spring So somehow the combination Native Image + SpringBoot + GraalVM language seems to cause the above issue. |
Hi, thanks Benoit, we'll take a look into this shortly |
Hi, same error in spring boot when adding --language:js without it application starts
|
Tracked internally on GR 43212 |
The problem is that using field value transformers (a feature that Spring relies on) is not working with |
For reasons why Truffle languages are not supported in Spring yet please see #4473. I'm working on a PR to have a better error message. |
This PR #5781 explicitly disables |
…on ParseOnce Enabled but Truffle languages disabling ParseOnce on current Release oracle/graal#5650 Add UserCharacteristic to reflect-config.json to make it available during runtime for JacksonMapper. Otherwise Parsing Consents breaks.
Describe the issue
This error happens, when using
--language:js
or--language:ruby
.Without
--language:js
/--language:ruby
it builds fine (and fails at runtime due to the missing language).Found by @joshlong who wants to embed Ruby in a native image.
Sometimes it looks slightly different but it seems the same thing:
or
Steps to reproduce the issue
Please include both build steps as well as run steps
export JAVA_HOME=/path/to/graalvm
Describe GraalVM and your environment:
The text was updated successfully, but these errors were encountered: