com.fasterxml.jackson.databind.JsonMappingException: Can not refine serialization key type [simple type, class java.util.Currency] into java.lang.String; types not related

GitHub | cowtowncoder | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Deprecated findSerializationType might be breaking refineSerializationType (v2.8.1)

    GitHub | 8 months ago | cowtowncoder
    com.fasterxml.jackson.databind.JsonMappingException: Can not refine serialization key type [simple type, class java.util.Currency] into java.lang.String; types not related
  2. 0

    Deprecated findSerializationType might be breaking refineSerializationType (v2.8.1)

    Google Groups | 8 months ago | JonyD
    com.fasterxml.jackson.databind.JsonMappingException: Can not refine serialization key type [simple type, class java.util.Currency] into java. lang.String; types not related
  3. 0

    @JsonIgnoreProperties fails on a property when a property value references its own bean

    GitHub | 3 years ago | benze
    com.fasterxml.jackson.databind.JsonMappingException: Direct self-reference leading to cycle (through reference chain: java.util.HashMap["user"]->com.ia.domain.User["createdBy"])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Option Module not working with Spring MVC 3.x

    GitHub | 3 years ago | yairogen
    com.fasterxml.jackson.databind.JsonMappingException: (None,None) (of class scala.Tuple2) (through reference chain: com.foo.Instance["product"]->com.cisco.vcs.foundation.scope.model.Product["foundationMachineId"])
  6. 0

    Infinite recursion error when using JaxbAnnotationIntrospector with JavaTypeXmlAdapter that does not change entity class.

    GitHub | 5 years ago | mosyda
    com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: test.jackson.Entity["relatedEntities"]->test.jackson.RelatedEntities["relatedEntity"])

    10 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

      Can not refine serialization key type [simple type, class java.util.Currency] into java.lang.String; types not related

      at com.fasterxml.jackson.databind.AnnotationIntrospector.refineSerializationType()
    2. Jackson
      ObjectMapper.writeValue
      1. com.fasterxml.jackson.databind.AnnotationIntrospector.refineSerializationType(AnnotationIntrospector.java:891)
      2. com.fasterxml.jackson.databind.ser.PropertyBuilder.findSerializationType(PropertyBuilder.java:188)
      3. com.fasterxml.jackson.databind.ser.PropertyBuilder.buildWriter(PropertyBuilder.java:75)
      4. com.fasterxml.jackson.databind.ser.BeanSerializerFactory._constructWriter(BeanSerializerFactory.java:818)
      5. com.fasterxml.jackson.databind.ser.BeanSerializerFactory.findBeanProperties(BeanSerializerFactory.java:609)
      6. com.fasterxml.jackson.databind.ser.BeanSerializerFactory.constructBeanSerializer(BeanSerializerFactory.java:390)
      7. com.fasterxml.jackson.databind.ser.BeanSerializerFactory.findBeanSerializer(BeanSerializerFactory.java:273)
      8. com.fasterxml.jackson.databind.ser.BeanSerializerFactory._createSerializer2(BeanSerializerFactory.java:225)
      9. com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:159)
      10. com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1272)
      11. com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1222)
      12. com.fasterxml.jackson.databind.SerializerProvider.findValueSerializer(SerializerProvider.java:499)
      13. com.fasterxml.jackson.databind.SerializerProvider.findTypedValueSerializer(SerializerProvider.java:697)
      14. com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:270)
      15. com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3672)
      16. com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:3030)
      16 frames