org.codehaus.jackson.map.JsonMappingException

Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token at [Source: java.io.StringReader@232ed90b; line: 1, column: 2]


Samebug tips1

Types used for deserialization should be used in the way such that the annotation @JsonTypeInfo is visible.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web317

Solution icon of github
Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token at [Source: java.io.StringReader@232ed90b; line: 1, column: 2]

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
Can not deserialize instance of java.lang.String[] out of VALUE_STRING token at [Source: java.io.StringReader@3d0b8bc1; line: 1, column: 219]

Solution icon of stackoverflow
Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: java.io.StringReader@314ed053; line: 2, column: 1]

Solution icon of atlassian
via Atlassian JIRA by Peter Obara [Atlassian], 1 year ago
Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token at [Source: org.apache.catalina.connector.CoyoteInputStream@8576a2; line: 1, column: 1]

Solution icon of atlassian
via Atlassian JIRA by Peter Obara [Atlassian], 1 year ago
Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token at [Source: org.apache.catalina.connector.CoyoteInputStream@8576a2; line: 1, column: 1]

Solution icon of web
via mulesoft.com by Unknown author, 1 year ago
Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token at [Source: java.io.InputStreamReader@18ed284; line: 1, column: 1]

Solution icon of github
via GitHub by dtamajon
, 1 year ago
Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: java.io.StringReader@532c780f; line: 1, column: 1]

Solution icon of googlegroups
Can not deserialize instance of org.cometd.server.ServerMessageImpl[] out of VALUE_STRING token at [Source: java.io.StringReader@52fac2; line: 1, column: 1] at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java: 163) org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java: 198)

Solution icon of stackoverflow
Can not deserialize instance of com.threetierlogic.AccountService.models.User out of START_ARRAY token at [Source: java.io.StringReader@39494ff0; line: 1, column: 2]

Solution icon of web
Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: ; line: 1, column: 1]

Stack trace

  • org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token at [Source: java.io.StringReader@232ed90b; line: 1, column: 2] at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:219)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:212)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.StringCollectionDeserializer.handleNonArray(StringCollectionDeserializer.java:210)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:156)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:146)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:18)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.MapDeserializer._readAndBind(MapDeserializer.java:319)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:249)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:33)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1870)[jackson-mapper-asl-1.9.5.jar:1.9.5] at nl.surfnet.mujina.saml.xml.AssertionGenerator.getAttributesFromCookie(AssertionGenerator.java:140)[classes/:na] at nl.surfnet.mujina.saml.xml.AssertionGenerator.generateAssertion(AssertionGenerator.java:114)[classes/:na] at nl.surfnet.mujina.saml.xml.AuthnResponseGenerator.generateAuthnResponse(AuthnResponseGenerator.java:63)[classes/:na] at nl.surfnet.mujina.saml.SSOSuccessAuthnResponder.handleRequest(SSOSuccessAuthnResponder.java:133)[classes/:na]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

10 times, 2 months ago
177 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
23 more bugmates