Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JsonMappingException when trying to instantiate org.springframework.messaging.Message [SPR-16486] #21029

spring-projects-issues opened this issue Feb 11, 2018 · 0 comments
in: messaging status: backported type: regression


Copy link

@spring-projects-issues spring-projects-issues commented Feb 11, 2018

Itamar Benjamin opened SPR-16486 and commented

in StreamListener input, when trying to receive a parameterized Message instance (see referenced github gist link), this exception is thrown:
org.springframework.messaging.converter.MessageConversionException: Could not read JSON: Can not construct instance of org.springframework.messaging.Message: abstract types either need to be mapped to concrete types, have custom deserializer, or contain additional type information

this was introduced in spring-messaging:4.3.14.RELEASE, overriding only this dependency to 4.3.13.RELEASE resolves this issues

Affects: 4.3.14

Reference URL:

Issue Links:

  • #20799 Exception when receiving Long collection in MessageMapping

Referenced from: commits 4ee09c8, 2033f50

Backported to: 4.3.15

1 votes, 2 watchers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: messaging status: backported type: regression
None yet

No branches or pull requests

2 participants