com.fasterxml.jackson.databind.JsonMappingException: Could not resolve type id 'io.l5d.zkLeader' into a subtype of [simple type, class io.buoyant.namer.NamerConfig]: known type ids = [NamerConfig, io.l5d.consul, io.l5d.fs, io.l5d.k8s, io.l5d.marathon, io.l5d.serversets] at [Source: java.io.StringReader@1e636ea3; line: 38, column: 9] (through reference chain: io.buoyant.namerd.NamerdConfig["namers"]->com.fasterxml.jackson.module.scala.deser.BuilderWrapper[0])

GitHub | JustinVenus | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 747#253832560

    GitHub | 7 months ago | JustinVenus
    com.fasterxml.jackson.databind.JsonMappingException: Could not resolve type id 'io.l5d.zkLeader' into a subtype of [simple type, class io.buoyant.namer.NamerConfig]: known type ids = [NamerConfig, io.l5d.consul, io.l5d.fs, io.l5d.k8s, io.l5d.marathon, io.l5d.serversets] at [Source: java.io.StringReader@1e636ea3; line: 38, column: 9] (through reference chain: io.buoyant.namerd.NamerdConfig["namers"]->com.fasterxml.jackson.module.scala.deser.BuilderWrapper[0])
  2. 0

    Namerd not recognizing io.l5d.zkLeader

    GitHub | 7 months ago | JustinVenus
    com.fasterxml.jackson.databind.JsonMappingException: Could not resolve type id 'io.l5d.zkLeader' into a subtype of [simple type, class io.buoyant.namer.NamerConfig]: known type ids = [NamerConfig, io.l5d.consul, io.l5d.fs, io.l5d.k8s, io.l5d.marathon, io.l5d.serversets] at [Source: java.io.StringReader@1e636ea3; line: 38, column: 9] (through reference chain: io.buoyant.namerd.NamerdConfig["namers"]->com.fasterxml.jackson.module.scala.deser.BuilderWrapper[0])
  3. 0

    com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of scala.collection.Seq out of START_OBJECT token

    GitHub | 4 months ago | JoshRosen
    com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of scala.collection.Seq out of START_OBJECT token at [Source: java.io.StringReader@4d157493; line: 1, column: 1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 233#187804075

    GitHub | 1 year ago | mancvso
    com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of scala.collection.immutable.Map out of START_OBJECT token at [Source: {"sKey":"sValue","mKey":{"mData":"mValue"}}; line: 1, column: 1]
  6. 0

    GitHub comment 362#217180528

    GitHub | 12 months ago | xinwu246810
    com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of scala.collection.immutable.List out of VALUE_STRING token at [Source: HttpInputOverHTTP@63e8873d; line: 1, column: 19] (through reference chain: com.cloudera.livy.server.batch.CreateBatchRequest["pyFiles"])

  1. rp 1 times, last 1 year ago
1 unregistered visitors
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

    Could not resolve type id 'io.l5d.zkLeader' into a subtype of [simple type, class io.buoyant.namer.NamerConfig]: known type ids = [NamerConfig, io.l5d.consul, io.l5d.fs, io.l5d.k8s, io.l5d.marathon, io.l5d.serversets] at [Source: java.io.StringReader@1e636ea3; line: 38, column: 9] (through reference chain: io.buoyant.namerd.NamerdConfig["namers"]->com.fasterxml.jackson.module.scala.deser.BuilderWrapper[0])

    at com.fasterxml.jackson.databind.JsonMappingException.from()
  2. Jackson
    CollectionDeserializer.deserialize
    1. com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
    2. com.fasterxml.jackson.databind.DeserializationContext.unknownTypeException(DeserializationContext.java:967)
    3. com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._handleUnknownTypeId(TypeDeserializerBase.java:277)
    4. com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:159)
    5. com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:108)
    6. com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:93)
    7. com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:131)
    8. com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:247)
    9. com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:217)
    9 frames
  3. jackson-module-scala
    SeqDeserializer.deserialize
    1. com.fasterxml.jackson.module.scala.deser.SeqDeserializer.deserialize(SeqDeserializerModule.scala:76)
    2. com.fasterxml.jackson.module.scala.deser.SeqDeserializer.deserialize(SeqDeserializerModule.scala:59)
    2 frames
  4. Jackson
    ObjectMapper.readValue
    1. com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
    2. com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeWithErrorWrapping(BeanDeserializer.java:463)
    3. com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:378)
    4. com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1099)
    5. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:296)
    6. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:133)
    7. com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3736)
    8. com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2764)
    8 frames
  5. jackson-module-scala
    ScalaObjectMapper$class.readValue
    1. com.fasterxml.jackson.module.scala.experimental.ScalaObjectMapper$class.readValue(ScalaObjectMapper.scala:184)
    1 frame
  6. io.buoyant.config
    Parser$$anon$1.readValue
    1. io.buoyant.config.Parser$$anon$1.readValue(Parser.scala:71)
    1 frame
  7. io.buoyant.namerd
    Main$.main
    1. io.buoyant.namerd.NamerdConfig$.loadNamerd(NamerdConfig.scala:95)
    2. io.buoyant.namerd.NamerdConfig$.loadNamerd(NamerdConfig.scala:99)
    3. io.buoyant.namerd.Main$.loadNamerd(Main.scala:49)
    4. io.buoyant.namerd.Main$.main(Main.scala:16)
    4 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  9. util-app
    App$$anonfun$nonExitingMain$3.apply
    1. com.twitter.app.App$$anonfun$nonExitingMain$3.apply(App.scala:176)
    2. com.twitter.app.App$$anonfun$nonExitingMain$3.apply(App.scala:175)
    2 frames
  10. Scala
    Option.foreach
    1. scala.Option.foreach(Option.scala:257)
    1 frame
  11. util-app
    App$class.nonExitingMain
    1. com.twitter.app.App$class.nonExitingMain(App.scala:175)
    1 frame
  12. io.buoyant.namerd
    Main$.nonExitingMain
    1. io.buoyant.namerd.Main$.nonExitingMain(Main.scala:9)
    1 frame
  13. util-app
    App$class.main
    1. com.twitter.app.App$class.main(App.scala:141)
    1 frame
  14. io.buoyant.namerd
    Main.main
    1. io.buoyant.namerd.Main$.main(Main.scala:9)
    2. io.buoyant.namerd.Main.main(Main.scala)
    2 frames