com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Can not construct instance of io.dropwizard.jersey.jackson.Tester: no boolean/Boolean-argument constructor/factory method to deserialize from boolean value (false) at [Source: false; line: 1, column: 1]

GitHub | nickbabcock | 2 months ago
  1. 0

    GitHub comment 1356#251933123

    GitHub | 2 months ago | nickbabcock
    com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Can not construct instance of io.dropwizard.jersey.jackson.Tester: no boolean/Boolean-argument constructor/factory method to deserialize from boolean value (false) at [Source: false; line: 1, column: 1]

    Root Cause Analysis

    1. com.fasterxml.jackson.databind.exc.InvalidDefinitionException

      Can not construct instance of io.dropwizard.jersey.jackson.Tester: no boolean/Boolean-argument constructor/factory method to deserialize from boolean value (false) at [Source: false; line: 1, column: 1]

      at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from()
    2. Jackson
      ObjectReader.readValue
      1. com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:67)
      2. com.fasterxml.jackson.databind.DeserializationContext.instantiationException(DeserializationContext.java:1455)
      3. com.fasterxml.jackson.databind.DeserializationContext.handleMissingInstantiator(DeserializationContext.java:1019)
      4. com.fasterxml.jackson.databind.deser.ValueInstantiator.createFromBoolean(ValueInstantiator.java:279)
      5. com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromBoolean(StdValueInstantiator.java:385)
      6. com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromBoolean(BeanDeserializerBase.java:1329)
      7. com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:168)
      8. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:150)
      9. com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1623)
      10. com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1217)
      10 frames