Skip to content

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

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

Closed
spring-projects-issues opened this issue Feb 11, 2018 · 0 comments
Assignees
Labels
in: messaging Issues in messaging modules (jms, messaging) status: backported An issue that has been backported to maintenance branches type: regression A bug that is also a regression
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

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: https://gist.github.com/ItamarBenjamin/feb62ab96bda55555aa6c96dd545ddaf

Issue Links:

Referenced from: commits 4ee09c8, 2033f50

Backported to: 4.3.15

1 votes, 2 watchers

@spring-projects-issues spring-projects-issues added in: messaging Issues in messaging modules (jms, messaging) type: regression A bug that is also a regression status: backported An issue that has been backported to maintenance branches labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.0.4 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: messaging Issues in messaging modules (jms, messaging) status: backported An issue that has been backported to maintenance branches type: regression A bug that is also a regression
Projects
None yet
Development

No branches or pull requests

2 participants