Git Product home page Git Product logo

Comments (8)

fernando-valdez avatar fernando-valdez commented on June 9, 2024

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.

fniephaus avatar fniephaus commented on June 9, 2024

@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.

imgoby avatar imgoby commented on June 9, 2024

I try to use this version: java 17.0.10-graal or version: java 17.0.9-graalce

the problem is the same.

1709343446916

from graal.

imgoby avatar imgoby commented on June 9, 2024

@fniephaus
@fernando-valdez Is there any ways?

from graal.

mukel avatar mukel commented on June 9, 2024

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.

imgoby avatar imgoby commented on June 9, 2024

I tried this way before.It doesn't work. @mukel

from graal.

fernando-valdez avatar fernando-valdez commented on June 9, 2024

@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.

imgoby avatar imgoby commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.