java.lang.IllegalArgumentException: Class jackson.test.JacksonParent not subtype of [simple type, class jackson.test.JacksonChild]

GitHub | cshannon | 4 months ago
  1. 0

    GitHub comment 1311#240223986

    GitHub | 4 months ago | cshannon
    java.lang.IllegalArgumentException: Class jackson.test.JacksonParent not subtype of [simple type, class jackson.test.JacksonChild]
  2. 0

    Polymorphic deserialization causes IllegalArgumentException in Jackson 2.8.1

    GitHub | 4 months ago | cshannon
    java.lang.IllegalArgumentException: Class jackson.test.JacksonParent not subtype of [simple type, class jackson.test.JacksonChild]
  3. 0

    Polymorphic deserialization regression in 2.8.1

    GitHub | 5 months ago | pkwarren
    java.lang.IllegalArgumentException: Class Test$DefaultFactory not subtype of [simple type, class Test$SimpleFactory]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Use of DelegatingDeserialzer around BeanDeserializer breaks back-references

    GitHub | 3 years ago | cowtowncoder
    java.lang.IllegalArgumentException: Can not handle managed/back reference 'defaultReference': value deserializer is of type ContainerDeserializerBase, but content type is not handled by a BeanDeserializer (instead it's of type com.ibm.jaxrsplus.providers.DynaBeanDeserializer)
  6. 0

    Jackson 2.4.1 IllegalArgumentException: Invalid type id : no such class found when parent class is in another package

    Stack Overflow | 2 years ago
    java.lang.IllegalArgumentException: Invalid type id 'mypackage.sub.AnohterSerializableClass' (for id type 'Id.class'): no such class found

    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. java.lang.IllegalArgumentException

      Class jackson.test.JacksonParent not subtype of [simple type, class jackson.test.JacksonChild]

      at com.fasterxml.jackson.databind.type.TypeFactory.constructSpecializedType()
    2. Jackson
      ObjectMapper.readValue
      1. com.fasterxml.jackson.databind.type.TypeFactory.constructSpecializedType(TypeFactory.java:359)
      2. com.fasterxml.jackson.databind.jsontype.impl.StdTypeResolverBuilder.buildTypeDeserializer(StdTypeResolverBuilder.java:118)
      3. com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.findTypeDeserializer(BasicDeserializerFactory.java:1363)
      4. com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:481)
      5. com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:3890)
      6. com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3785)
      7. com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2833)
      7 frames
    3. jackson.test
      BrokenJackson.test
      1. jackson.test.BrokenJackson.test(BrokenJackson.java:16)
      1 frame