Skip to content

Problem serializing JsonMappingException due to addition of non-ignored processor property #1368

@jecaplan

Description

@jecaplan

I notice that, e.g., JsonMappingException has several bidirectional links in internal fields like _processor.

Why not annotate those fields with @JsonIgnore? You've already got the Java serialization "transient" on them.

One symptom of not eating your own dog food here is that AWS SWF Flow Framework is broken. If it attempts to deserialize the result of an activity and that attempt fails with a JsonMappingException, the framework then attempts to serialize the resulting DataConverterException via Jackson...which fails with a different JsonMappingException (StackOverflowError) because of the embedded JsonMappingException.

I see no reason why a serde framework should not be able to serde itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions