Skip to content

Infinite loop when serializing to JSON #53848

Description

@metacosm

Describe the bug

Upgrading to 3.35 causes an infinite loop in the Jackson serialization stack.
Note that setting quarkus.rest.jackson.optimization.enable-reflection-free-serializers=false fixes the issue.

Expected behavior

Serialization to happen correctly.

Actual behavior

Infinite loop

How to Reproduce?

  1. Clone https://github.com/metacosm/power-server
  2. Change Quarkus version to 3.35
  3. Build with mvn clean install
  4. Issue occurs on macOS, Linux seems OK because the object tree is different there

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

area/jacksonIssues related to Jackson (JSON library)kind/bugSomething isn't working

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions