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"])

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web1291

  • via GitHub by Fraid
    , 5 months 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"])
  • Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: java.io.StringReader@1b2c5e58; line: 7, column: 41] (through reference chain: com.ofg.underwriter.us.mappers.ClarityResponse["exception-descriptions"])
  • via Stack Overflow by John
    , 2 months ago
    Can not deserialize instance of java.lang.String out of START_OBJECT token\n at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@774da834; line: 2, column: 1] (through reference chain
  • Stack trace

    • 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)

    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

    Unknown user
    Once, 11 hours ago
    Unknown user
    Once, 11 hours ago
    Unknown user
    Once, 11 hours ago
    Unknown user
    Once, 11 hours ago
    Unknown user
    Once, 11 hours ago
    151 more bugmates