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
This is because the data is serialized as JSON and deserialized later, and then Jackson guesses the type depending on size (see related FasterXML/jackson-databind#504).
I've faced with an exception that surprised me.
This is an example of the worker:
And it fails in runtime with java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.Long
Input list comes as
List<Integer>
in runtime and can't be matched to firstElement with type LongThe text was updated successfully, but these errors were encountered: