camunda / camunda-bpm-platform

Flexible framework for workflow and decision automation with BPMN and DMN. Integration with Quarkus, Spring, Spring Boot, CDI.
https://camunda.com/
Apache License 2.0
4.08k stars 1.54k forks source link

Deserialization in `wildfly/jackson-annotations` example shows error #4235

Open danielkelemen opened 5 months ago

danielkelemen commented 5 months ago

Environment (Required on creation)

The wildfly/jackson-annotations example: Repo: https://github.com/camunda/camunda-bpm-examples/tree/master/wildfly/jackson-annotations

The issue is present in previous versions too (7.20, 7.19, 7.15) and for tomcat.

Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)

The wildfly/jackson-annotations example: shows an error in the Deserialized variable view:

image The example still works fine apart from this.

Steps to reproduce (Required on creation)

  1. Run the example with the latest release.
  2. Open a waitingProcess instance.
  3. Go to variables, look at the variable called variable
  4. Open the Deserialized tab.

Observed Behavior (Required on creation)

Deserialization error is displayed.

Expected behavior (Required on creation)

Deserialized value is displayed, without error.

Root Cause (Required on prioritization)

Solution Ideas

Hints

Links

Breakdown

### Pull Requests

Dev2QA handover

punitdarira commented 4 months ago

Was researching about this existing issue and maybe this is the expected behavior. Camunda needs to have the class in its classpath in order to deserialize. Found this link where this issue was discussed- https://groups.google.com/g/camunda-bpm-users/c/AvA0ZYnh_hM/m/OyB1qY3NAQAJ