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 | 4 months ago
  1. 0

    Deprecated findSerializationType might be breaking refineSerializationType (v2.8.1)

    GitHub | 4 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 | 4 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

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

    GitHub | 4 years ago | mosyda
    com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: test.jackson.Entity["relatedEntities"]->test.jackson.RelatedEntities["relatedEntity"])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring Boot Actuator /env endpoint response malformed when closure specified in application.groovy

    Stack Overflow | 5 months ago | Matthew Long
    org.springframework.http.converter.HttpMessageNotWritableException: Could not write content: No serializer found for class groovy.lang.GroovyClassLoader$1 and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: java.util.LinkedHashMap["applicationConfig: [classpath:/application.groovy]#development"]->java.util.LinkedHashMap["a"]->_run_closure1["delegate"]->script14676936485701338056614["binding"]->groovy.util.ConfigBinding["callable"]->groovy.util._parse_closure6["delegate"]->groovy.util.ConfigSlurper["classLoader"]->groovy.lang.GroovyClassLoader["resourceLoader"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class groovy.lang.GroovyClassLoader$1 and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: java.util.LinkedHashMap["applicationConfig: [classpath:/application.groovy]#development"]->java.util.LinkedHashMap["a"]->_run_closure1["delegate"]->script14676936485701338056614["binding"]->groovy.util.ConfigBinding["callable"]->groovy.util._parse_closure6["delegate"]->groovy.util.ConfigSlurper["classLoader"]->groovy.lang.GroovyClassLoader["resourceLoader"])
  6. 0

    I see ClientHandlerException when I am trying to write a POJO

    GitHub | 2 years ago | sravanr
    com.sun.jersey.api.client.ClientHandlerException: org.apache.http.client.ClientProtocolException

    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