You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
[nioEventLoopGroup-3-7] ERROR com.corundumstudio.socketio.JsonSupportWrapper - Can't read value: ["create_expense","{"id":0,"userId":1,"name":"test","amount":123123.0,"type":"EXPENSE","description":"123","date":"2024-04-10"}"] for type: class com.corundumstudio.socketio.protocol.Event
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of dev.lukaslist.models.ExpenseDTO (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('{"id":0,"userId":1,"name":"test","amount":123123.0,"type":"EXPENSE","description":"123","date":"2024-04-10"}')
at [Source: REDACTED (StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION disabled); line: 1, column: 19]
Seems like this error appeared because sender sent stringified object, so the actual value should be replaced: "{"id":0,"userId":1,"name":"test","amount":123123.0,"type":"EXPENSE","description":"123","date":"2024-04-10"}" -> {"id":0,"userId":1,"name":"test","amount":123123.0,"type":"EXPENSE","description":"123","date":"2024-04-10"}
Error:
[nioEventLoopGroup-3-7] ERROR com.corundumstudio.socketio.JsonSupportWrapper - Can't read value: ["create_expense","{"id":0,"userId":1,"name":"test","amount":123123.0,"type":"EXPENSE","description":"123","date":"2024-04-10"}"] for type: class com.corundumstudio.socketio.protocol.Event
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of dev.lukaslist.models.ExpenseDTO (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('{"id":0,"userId":1,"name":"test","amount":123123.0,"type":"EXPENSE","description":"123","date":"2024-04-10"}')
at [Source: REDACTED (StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION disabled); line: 1, column: 19]
Class:
The text was updated successfully, but these errors were encountered: