Comments (4)
Hi, can you please share which version was working before? was that version working on iOS and Linux too?
Finally, the error is showing this message:
The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image runtime by using the option --initialize-at-run-time=<class-name>. Or you can write your own initialization methods and call them explicitly from your main entry point.
did you try that?
from graal.
Hi, can you please share which version was working before? was that version working on iOS and Linux too?
Finally, the error is showing this message:
The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image runtime by using the option --initialize-at-run-time=<class-name>. Or you can write your own initialization methods and call them explicitly from your main entry point.
did you try that?
My laptop is macOS, it can build successfully. The build error happened on Linux, the version is latest graalvm here https://github.com/optimism-java/hildr/blob/jdk22/docker/Dockerfile#L3 .
I have added all the classes in the trace, however still not works.
from graal.
Can you try to add this flag -H:ThrowMissingRegistrationErrors
and share your results?
Also, just to be sure, you are getting this error when building the native image, right?
from graal.
Can you try to add this flag
-H:ThrowMissingRegistrationErrors
and share your results? Also, just to be sure, you are getting this error when building the native image, right?
Got error when added this flag Error: Invalid native-image hosted-option -H:ThrowMissingRegistrationErrors at user
.
Yes, only build native image on ubuntu, macOS is OK.
from graal.
Related Issues (20)
- [GR-53491] Consider adding support for Callback on closing event of polyglot Context object
- Accented characters issue when using java.nio.file.Path HOT 2
- Premature initialization of SVM encodings HOT 2
- [GR-53706] Behaviour of `Class#getPackage()` in Native Image is different than Java for Proxy classes HOT 2
- Invalid logger interface org.infinispan.commons.logging.Log (implementation not found in jdk.internal.loader.ClassLoaders$AppClassLoader@629f0666)
- Cannot invoke "clojure.lang.Var.isBound()" because "clojure.lang.Compiler.LOADER" is null HOT 1
- Can't find a way to use Value.as with generic types HOT 1
- No such file or directory: graal/sdk/mxbuild/linux-amd64/polybench.image/polybench HOT 1
- [GR-53595] Segmentation fault in jvmci JIT method call HOT 3
- [GR-53596] Dump a native memory tracking (NMT) report on signal HOT 4
- `native-image` parameters are not compatible after upgrade to the patch version `22.0.1` HOT 6
- Unable to find language by ID despite registration, adding classpath, and jar HOT 5
- [GR-53767] Error: Feature com.oracle.truffle.runtime.enterprise.EnableEnterpriseFeature class not found on the classpath. Ensure that the name is correct and that the class is on the classpath. HOT 4
- [Truffle][NFI] Related DLL Could not be loaded with Specified Module could not be found HOT 3
- BouncyCastle SP800SecureRandom initialization at build-time HOT 1
- Can't create isolate on Macos Sonoma 14.3.1 HOT 13
- no error message while having Exception. HOT 3
- GraalJS should support Ahead-of-Time(AOT) compilation to Native binary like GraalPy. HOT 5
- NoClassDefFoundError: com.oracle.svm.core.c.function.CEntryPointNativeFunctions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graal.