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 az3
, 5 months ago
Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: N/A; line: -1, column: -1] (through reference chain: java.util.ArrayList[2])
via Google Groups by Philip Walenta, 7 months ago
Instantiation of [simple type, class io.druid.data.input.impl.StringInputRowParser] value failed: json can not be null or empty
via Google Groups by Ben Markham, 10 months ago
Instantiation of [simple type, class io. druid.data.input.impl.StringInputRowParser] value failed: json can not be null or empty
via Google Groups by Unknown author, 1 year ago
Instantiation of [simple type, class io.druid.data.input.impl.DelimitedParseSpec] value failed: columns
via Google Groups by Ben Vogan, 1 year ago
Instantiation of [simple type, class io.druid.data.input.impl.DelimitedParseSpec] value failed: columns
via GitHub by liangqing
, 1 year ago
Instantiation of [simple type, class io.druid.data.input.impl.StringInputRowParser] value failed: com.metamx.common.parsers.JSONPathParser
java.lang.IllegalArgumentException: Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: N/A; line: -1, column: -1] (through reference chain: java.util.ArrayList[2]) at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:2774)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:2700)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at io.druid.segment.indexing.DataSchema.getParser(DataSchema.java:101)[io.druid.druid-server-0.9.0.jar:0.9.0] at com.metamx.tranquility.druid.DruidBeams$.fromConfigInternal(DruidBeams.scala:293)[io.druid.tranquility-core-0.8.0.jar:0.8.0] at com.metamx.tranquility.druid.DruidBeams$.fromConfig(DruidBeams.scala:199)[io.druid.tranquility-core-0.8.0.jar:0.8.0] at com.metamx.tranquility.kafka.KafkaBeamUtils$.createTranquilizer(KafkaBeamUtils.scala:40)[io.druid.tranquility-kafka-0.8.0.jar:0.8.0] at com.metamx.tranquility.kafka.KafkaBeamUtils.createTranquilizer(KafkaBeamUtils.scala)[io.druid.tranquility-kafka-0.8.0.jar:0.8.0] at com.metamx.tranquility.kafka.writer.TranquilityEventWriter.<init>(TranquilityEventWriter.java:64)[io.druid.tranquility-kafka-0.8.0.jar:0.8.0] at com.metamx.tranquility.kafka.writer.WriterController.createWriter(WriterController.java:171)[io.druid.tranquility-kafka-0.8.0.jar:0.8.0] at com.metamx.tranquility.kafka.writer.WriterController.getWriter(WriterController.java:98)[io.druid.tranquility-kafka-0.8.0.jar:0.8.0] at com.metamx.tranquility.kafka.KafkaConsumer$2.run(KafkaConsumer.java:231)[io.druid.tranquility-kafka-0.8.0.jar:0.8.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_152] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_152] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[na:1.8.0_152] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[na:1.8.0_152] at java.lang.Thread.run(Thread.java:748)[na:1.8.0_152]Caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: N/A; line: -1, column: -1] (through reference chain: java.util.ArrayList[2]) at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:762)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseString(StdDeserializer.java:799)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:180)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:154)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:19)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:538)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:344)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1064)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:264)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:124)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:538)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:344)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1064)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:264)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:156)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:126)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:113)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:84)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:132)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:536)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:344)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1064)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:264)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:156)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:126)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:113)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:84)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:132)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.deser.impl.TypeWrappedDeserializer.deserialize(TypeWrappedDeserializer.java:41)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:2769)[com.fasterxml.jackson.core.jackson-databind-2.4.6.jar:2.4.6] ... 15 more