Comments (8)
Hi. Can you please share more details about this issue? what version of GraalVM are you using? how did you create the native image? what OS are you using?
And finally, share the steps we need to take to reproduce this issue.
from graal.
@imgoby could you please try with Oracle GraalVM for JDK 17 (sdk install java 17.0.10-graal
), or CE? Maybe this issue was already fixed in that release.
from graal.
I try to use this version: java 17.0.10-graal or version: java 17.0.9-graalce
the problem is the same.
from graal.
@fniephaus
@fernando-valdez Is there any ways?
from graal.
Looks like your serialization-config.json
doesn't follow the JSON schema described in https://www.graalvm.org/latest/reference-manual/native-image/metadata/#serialization-metadata-in-json (types must be declared under the "types" key)
Something like this may work:
{
"types": [
{ "name": "[F" }
]
}
from graal.
I tried this way before.It doesn't work. @mukel
from graal.
@imgoby, can you please confirm if this is happening in the non-community edition? please try java 17.0.10-graal
instead of java 17.0.9-graalce
from graal.
Yes, it is indeed。
neither java 17.0.10-graal or java 17.0.9-graalce,there is the same exception.
this is a small project,you can reproduce it:
https://github.com/imgoby/graalvm-array-serialization
from graal.
Related Issues (20)
- Native-image of CLI application is failing with less than 32 GB of virtual memory HOT 3
- reflect-config-schema-v1.0.0.json doesn't mention certain attributes that can actually be supplied
- Problem java.lang.NoClassDefFoundError: sun/misc/Unsafe
- [GR-52454] Native Image shutdown hooks don't run upon SIGINT HOT 2
- [GR-52453] [jfr] jdk.ContainerConfiguration doesn't set hostTotalMemory correctly
- [GR-52484] [jfr] jdk.PhysicalMemory event doesn't set 'usedSize' HOT 3
- Is there any problem with graalvm checking illegal strings? HOT 2
- [GR-52483] Native Image call graph imprecision HOT 7
- [GR-52515] META-INF/native-image/... files are ignored in some JARs (large, zip64, self-extracting) HOT 6
- Main entry point class 'HelloWorld.java' neither found on... on M2 HOT 5
- [GR-52475] Error with native image for ktfmt - Resource not found: /org/jetbrains/kotlin/cli/jvm/compiler/KotlinCoreEnvironment$Companion.class HOT 1
- Is there anything missing when graalvm-11uses JVM parameters to run java code? HOT 3
- GraalVM crashes with "fatal error: Initial size of CodeCache is too small" HOT 2
- [GR-52473] Serialization of arrays is not supported in Native Image HOT 4
- Classes not getting initialized HOT 1
- Build a spring boot3 project with hibernate-search and lucene backend, throw a 'undefined reference' error HOT 1
- [GR-52560] Size regression from GraalVM CE 23.0 to GraalVM for JDK 21 (CE) for `byte[] for code metadata` HOT 2
- JSON Metadata Versioning, Backwards Compatibility, and Evolution
- [GR-52553] Defining new classes at runtime is not supported HOT 2
- [GR-52591] Warning: Error processing trace entry map(size=5, {(tracer,reflect),(function,getSystemResource),(caller_class,org.apache.logging.log4j.core.util.Loader),(result,true),(args,[null])}): java.lang.NullPointerException HOT 3
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.