com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of org.springframework.xd.rest.domain.JobExecutionInfoResource[] out of START_OBJECT token at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@4478de9f; line: 1, column: 1]

Stack Overflow | black jack | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Could not read JSON: Can not deserialize instance of org.springframework.xd.rest.domain.JobExecutionInfoResource[] out of START_OBJECT token

    Stack Overflow | 8 months ago | black jack
    com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of org.springframework.xd.rest.domain.JobExecutionInfoResource[] out of START_OBJECT token at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@4478de9f; line: 1, column: 1]
  2. 0

    Can not deserialize instance of my package out of START_ARRAY token

    Stack Overflow | 8 months ago | lakshman kumar
    com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of stpi.com.rest.Products out of START_ARRAY token at [Source: com.android.okhttp.internal.http.HttpTransport$ChunkedInputStream@41da0398; line: 1, column: 1]
  3. 0

    Consuming restful services on Android application

    Stack Overflow | 7 months ago | Didem
    com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of org.hello.tweetconsumer.Greeting out of START_ARRAY token at [Source: buffer(com.android.okhttp.internal.http.HttpConnection$ChunkedSource@a143f53).inputStream(); line: 1, column: 1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Could not read JSON: Can not deserialize instance of hello.Country[] out of START_OBJECT token

    Stack Overflow | 3 years ago | Volodymyr Levytskyi
    com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of hello.Country[] out of START_OBJECT token at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@1846149; line: 1, column: 1]
  6. 0

    How to read subtype?

    GitHub | 3 years ago | gaydenko
    com.fasterxml.jackson.databind.JsonMappingException: Can not instantiate abstract type [simple type, class scala.runtime.Nothing$] (need to add/enable type information?) at [Source: {"i":42}; line: 1, column: 2]
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.fasterxml.jackson.databind.JsonMappingException

    Can not deserialize instance of org.springframework.xd.rest.domain.JobExecutionInfoResource[] out of START_OBJECT token at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@4478de9f; line: 1, column: 1]

    at com.fasterxml.jackson.databind.JsonMappingException.from()
  2. Jackson
    ObjectMapper.readValue
    1. com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
    2. com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:691)
    3. com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:685)
    4. com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.handleNonArray(ObjectArrayDeserializer.java:222)
    5. com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:133)
    6. com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:18)
    7. com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2993)
    8. com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2158)
    8 frames
  3. Spring
    RestTemplate.getForObject
    1. org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.readJavaType(MappingJackson2HttpMessageConverter.java:225)
    2. org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.read(MappingJackson2HttpMessageConverter.java:220)
    3. org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:95)
    4. org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:553)
    5. org.springframework.web.client.RestTemplate.execute(RestTemplate.java:506)
    6. org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:243)
    6 frames
  4. org.springframework.xd
    JobTemplate.listJobExecutions
    1. org.springframework.xd.rest.client.impl.JobTemplate.listJobExecutions(JobTemplate.java:145)
    1 frame
  5. com.citiustech.hscale
    App.main
    1. com.citiustech.hscale.dataIngestion.App.main(App.java:20)
    1 frame