org.codehaus.jackson.map.JsonMappingException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 16#11576300
    via GitHub by luisfmp
    ,
    • 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)

    Users with the same issue

    jstrayerjstrayer
    10 times, last one,
    Andreas HäberAndreas Häber
    177 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    23 more bugmates