com.fasterxml.jackson.databind.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.

  • com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: java.io.PushbackInputStream@55f8669d; line: 1, column: 1] at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:228)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.read(AbstractJackson2HttpMessageConverter.java:213)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:95)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:884)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.web.client.RestTemplate$ResponseEntityResponseExtractor.extractData(RestTemplate.java:868)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:622)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:580)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:526)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE] at com.tjwhalen.game.service.dao.ItemSummaryURLConsumer.consumeItems(ItemSummaryURLConsumer.java:25)[classes/:na] at com.tjwhalen.game.service.impl.ItemSummaryRestServiceImpl.getItems(ItemSummaryRestServiceImpl.java:25)[classes/:na] at com.tjwhalen.game.loader.LoadItems.load(LoadItems.java:38)[classes/:na] at com.tjwhalen.game.loader.LoaderRunner.execute(LoaderRunner.java:26)[classes/:na] at com.tjwhalen.game.Application$AppConfig.run(Application.java:78)[classes/:na] at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:798)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE] Caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: java.io.PushbackInputStream@55f8669d; line: 1, column: 1] at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:261)[jackson-databind-2.8.1.jar:2.8.1] at com.fasterxml.jackson.databind.DeserializationContext.reportMappingException(DeserializationContext.java:1233)[jackson-databind-2.8.1.jar:2.8.1] at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1121)[jackson-databind-2.8.1.jar:2.8.1] at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1074)[jackson-databind-2.8.1.jar:2.8.1] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.handleNonArray(CollectionDeserializer.java:328)[jackson-databind-2.8.1.jar:2.8.1] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:259)[jackson-databind-2.8.1.jar:2.8.1] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:249)[jackson-databind-2.8.1.jar:2.8.1] at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:26)[jackson-databind-2.8.1.jar:2.8.1] at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3789)[jackson-databind-2.8.1.jar:2.8.1] at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2913)[jackson-databind-2.8.1.jar:2.8.1] at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:225)[spring-web-4.3.2.RELEASE.jar:4.3.2.RELEASE] ... 14 more

Users with the same issue

Unknown visitor1 times, last one,
Unknown visitor1 times, last one,
Unknown visitor1 times, last one,
tvrmsmith
15 times, last one,
Axelo
3 times, last one,
139 more bugmates