Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

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

Solutions on the web

via GitHub by ansell
, 1 year ago
Can not deserialize instance of java.lang.String[] out of START_OBJECT token at [Source: java.io.StringReader@2cdea607; line: 1, column: 1]
via Stack Overflow by msiles
, 1 year ago
Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: java.io.StringReader@314ed053; line: 2, column: 1]
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]
via Atlassian JIRA by Peter Obara [Atlassian], 2 years 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]
via JIRA by felix.martineau, 1 month ago
Can not deserialize instance of java.lang.String[] out of VALUE_STRING token at [Source: org.apache.catalina.connector.CoyoteInputStream@b55a044; line: 1, column: 32] (through reference chain: com.tempoplugin.team.rest.v2.permission.TeamPermissionUpdateBean["users"])
via Stack Overflow by Saurabh Jhunjhunwala
, 4 months ago
Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: C:\Sort.json; line: 2, column: 3] (through reference chain: com.test.Sort["messages"])
org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.lang.String[] out of START_OBJECT token at [Source: java.io.StringReader@2cdea607; line: 1, column: 1] at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163) at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:219) at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:212) at org.codehaus.jackson.map.deser.std.PrimitiveArrayDeserializers$StringDeser.handleNonArray(PrimitiveArrayDeserializers.java:153) at org.codehaus.jackson.map.deser.std.PrimitiveArrayDeserializers$StringDeser.deserialize(PrimitiveArrayDeserializers.java:119) at org.codehaus.jackson.map.deser.std.PrimitiveArrayDeserializers$StringDeser.deserialize(PrimitiveArrayDeserializers.java:107) at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732) at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1877) at au.org.ala.biocache.util.Json$.toArray(Json.scala:91) at au.org.ala.biocache.poso.POSO$class.setProperty(POSO.scala:62) at au.org.ala.biocache.model.Occurrence.setProperty(Occurrence.scala:11) at au.org.ala.biocache.poso.CompositePOSO$class.setNestedProperty(CompositePOSO.scala:123) at au.org.ala.biocache.model.FullRecord.setNestedProperty(FullRecord.scala:15) at au.org.ala.biocache.poso.CompositePOSO$class.setProperty(CompositePOSO.scala:97) at au.org.ala.biocache.model.FullRecord.setProperty(FullRecord.scala:15) at au.org.ala.biocache.load.FullRecordMapper$$anonfun$createFullRecord$4.apply(FullRecordMapper.scala:189) at au.org.ala.biocache.load.FullRecordMapper$$anonfun$createFullRecord$4.apply(FullRecordMapper.scala:145) at scala.collection.Iterator$class.foreach(Iterator.scala:727) at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) at scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:174) at au.org.ala.biocache.load.FullRecordMapper$.createFullRecord(FullRecordMapper.scala:145) at au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$pageOverRawProcessed$1.apply(OccurrenceDAOImpl.scala:420) at au.org.ala.biocache.dao.OccurrenceDAOImpl$$anonfun$pageOverRawProcessed$1.apply(OccurrenceDAOImpl.scala:417) at au.org.ala.biocache.persistence.CassandraPersistenceManager$$anonfun$pageOver$1.apply(CassandraPersistenceManager.scala:344) at au.org.ala.biocache.persistence.CassandraPersistenceManager$$anonfun$pageOver$1.apply(CassandraPersistenceManager.scala:336) at scala.collection.immutable.List.foreach(List.scala:318) at au.org.ala.biocache.persistence.CassandraPersistenceManager.pageOver(CassandraPersistenceManager.scala:336) at au.org.ala.biocache.persistence.CassandraPersistenceManager.pageOverAll(CassandraPersistenceManager.scala:482) at au.org.ala.biocache.dao.OccurrenceDAOImpl.pageOverRawProcessed(OccurrenceDAOImpl.scala:417) at au.org.ala.biocache.index.ProcessRecordsRunner.run(IndexRecordMultiThreaded.scala:392) at java.lang.Thread.run(Thread.java:745)