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. ,

    You are trying to deserialize a type for which Jackson does not provide a default mapper. You should create your custom mapper for this type.

  2. ,

    The easiest solution is to provide a default constructor for the class you want to convert from/to json.

Solutions on the web

via GitHub by Fraid
, 1 year ago
Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: {"lastscan":"2017-01-04T02:21:33","7":{"name":"Kitchen door"},"8":{"name":"Kitchen table"}}; line: 1, column: 34] (through reference chain: java.util.LinkedHashMap["7"])
via Stack Overflow by sag
, 2 years ago
Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: [B@66fdec9; line: 1, column: 40] (through reference chain: com.sample.json.Result["records"])
via GitHub by timukas
, 2 years ago
Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: {"types":{"org.graylog2.inputs.gelf.http.GELFHttpInput":{"name":"GELF HTTP","requested_configuration":{"port":{"additional_info":{},"default_value":12201
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: {"lastscan":"2017-01-04T02:21:33","7":{"name":"Kitchen door"},"8":{"name":"Kitchen table"}}; line: 1, column: 34] (through reference chain: java.util.LinkedHashMap["7"]) at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148) at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:857) at com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:62) at com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:11) at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringMap(MapDeserializer.java:495) at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:341) at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:26) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3736) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2764) at org.mycontroller.restclient.core.DefaultClientResponse.parse(DefaultClientResponse.java:74) at org.mycontroller.restclient.core.DefaultClientResponse.getEntity(DefaultClientResponse.java:105) at org.mycontroller.standalone.gateway.philipshue.PhilipsHueGatewayPoller.run(PhilipsHueGatewayPoller.java:105) at java.lang.Thread.run(Thread.java:745)