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

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

  2. ,

    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.

Solutions on the web

via GitHub by jbubier
, 1 year ago
Could not resolve type id 'int' into a subtype of [simple type, class org.apache.drill.synth.FieldSampler] at [Source: schema; line: 3, column: 23]
via GitHub by drcrallen
, 2 years ago
Could not resolve type id 'kafka' into a subtype of [simple type, class io.druid.query.lookup.LookupExtractorFactory] at [Source: {"type":"kafka","kafkaTopic":"testTopic","kafkaProperties":{"request.required.acks":"1","zookeeper.connect":"127.0.0.1:54849/kafka","zookeeper.sync.time.ms":"200","zookeeper.session.timeout.ms":"10000"}}; line: 1, column: 2]
via Google Groups by Ben Vogan, 11 months ago
Could not resolve type id 'index_kafka' into a subtype of [simple type, class io.druid.indexing.common.task.Task] at [Source: [B@5035ce8a; line: 1, column: 2]
via Google Groups by Gian Merlino, 11 months ago
Could not resolve type id 'index_kafka' into a subtype of [simple type, class io.druid.indexing.common.task.Task] at [Source: [B@6e841513; line: 1, column: 2]
via GitHub by gaydenko
, 2 years ago
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]
via Stack Overflow by Andrew Gaydenko
, 2 years ago
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]
com.fasterxml.jackson.databind.JsonMappingException: Could not resolve type id 'int' into a subtype of [simple type, class org.apache.drill.synth.FieldSampler] at [Source: schema; line: 3, column: 23] at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164) at com.fasterxml.jackson.databind.DeserializationContext.unknownTypeException(DeserializationContext.java:701) at com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:155) at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:98) at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:82) at com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:107) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:228) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:203) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:23) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:2796) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:1903) at org.apache.drill.synth.SchemaSampler.<init>(SchemaSampler.java:34) at org.apache.drill.synth.Synth.main(Synth.java:30)