Skip to content

Missing for native JacksonModelCollectionSerializer and deserializer #1685

Description

@gmunozfe

What happened:

In native mode, serialization fails with errors similar to:

InvalidDefinitionException: 
Class io.serverlessworkflow.impl.model.jackson.JacksonModelCollectionSerializer 
has no default (no arg) constructor

This appears to be a native image, in which case you may need to configure
reflection for the class that is to be serialized.

Native Image cannot discover unless the corresponding classes are registered for reflection.

What you expected to happen:

Add GraalVM Native Image reflection metadata to the SDK modules that contain classes accessed dynamically by Jackson Collections during serialization and deserialization.

How to reproduce it:

Quarkus-Flow Openshift Testsuite agentic-ai tests in native mode can reproduce it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

javaPull requests that update java code

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions