-
Notifications
You must be signed in to change notification settings - Fork 630
Open
Description
Describe the issue
The same problem described in #1614.
When I try to GET the localhost:8080/actuator/bindings, I got a error:
Could not write JSON: Direct self-reference leading to cycle (through reference chain: org.springframework.cloud.stream.binder.ExtendedProducerProperties[\"extension\"]->org.springframework.cloud.stream.binder.rabbit.properties.RabbitProducerProperties[\"routingKeyExpression\"]->org.springframework.expression.spel.standard.SpelExpression[\"ast\"]->org.springframework.expression.spel.ast.StringLiteral[\"literalValue\"]->org.springframework.expression.TypedValue[\"typeDescriptor\"]->org.springframework.core.convert.TypeDescriptor[\"resolvableType\"]->org.springframework.core.ResolvableType[\"componentType\"]->org.springframework.core.ResolvableType[\"componentType\"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Direct self-reference leading to cycle (through reference chain: org.springframework.cloud.stream.binder.ExtendedProducerProperties[\"extension\"]->org.springframework.cloud.stream.binder.rabbit.properties.RabbitProducerProperties[\"routingKeyExpression\"]->org.springframework.expression.spel.standard.SpelExpression[\"ast\"]->org.springframework.expression.spel.ast.StringLiteral[\"literalValue\"]->org.springframework.expression.TypedValue[\"typeDescriptor\"]->org.springframework.core.convert.TypeDescriptor[\"resolvableType\"]->org.springframework.core.ResolvableType[\"componentType\"]->org.springframework.core.ResolvableType[\"componentType\"]) (through reference chain: java.util.ArrayList[1]->org.springframework.cloud.stream.binder.AbstractMessageChannelBinder$1[\"extendedInfo\"])",
With:
spring boot: 3.5.10
spring cloud stream: 4.3.0
spring cloud starter stream rabbit: 4.3.0
The problem is related to ObjectMapper configuration and configurable items of Java type: org.springframework.expression.Expression
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels