What happened:
In native mode, serialization fails with errors similar to:
com.fasterxml.jackson.databind.exc.InvalidDefinitionException:
No serializer found for class
io.serverlessworkflow.impl.lifecycle.ce.WorkflowStatusCEDataEvent
and no properties discovered to create BeanSerializer.
This appears to be a native image, in which case you may need to configure
reflection for the class that is to be serialized.
Similar failures occur for classes such as:
WorkflowStartedCEData
WorkflowCompletedCEData
TaskStartedCEData
TaskCompletedCEData
WorkflowStatusCEDataEvent
Native Image cannot discover the JavaBean properties 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 during serialization and deserialization.
How to reproduce it:
Quarkus-Flow Openshift Testsuite Messaging tests in native mode can reproduce it.
What happened:
In native mode, serialization fails with errors similar to:
This appears to be a native image, in which case you may need to configure
reflection for the class that is to be serialized.
Similar failures occur for classes such as:
Native Image cannot discover the JavaBean properties 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 during serialization and deserialization.
How to reproduce it:
Quarkus-Flow Openshift Testsuite Messaging tests in native mode can reproduce it.