JsonMappingException when trying to instantiate org.springframework.messaging.Message [SPR-16486] #21029
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
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
The text was updated successfully, but these errors were encountered: