org.codehaus.jackson.map.JsonMappingException: No serializer found for class Table and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) )

Google Groups | Tao, Yan | 4 years ago
  1. 0

    Terrastore --org.codehaus.jackson.map.JsonMappingException: No serializer found error

    Google Groups | 4 years ago | Tao, Yan
    org.codehaus.jackson.map.JsonMappingException: No serializer found for class Table and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) )
  2. 0

    Implementation of GCM in Android

    Stack Overflow | 9 months ago | T.P.P
    org.codehaus.jackson.map.JsonMappingException: No serializer found for class Content and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) )
  3. 0

    Performing a REST API call to get a file revision with {{revisionInfo}} is successful if the output is set to XML: {noformat} https://fisheye.inst.com/crucible/rest-service-fe/revisionData-v1/revisionInfo/FE-hg?path=buildit.xml&revision=489fa21 {noformat} However, for JSON it [fails|^screenshot.png]: {noformat} https://fisheye.inst.com/crucible/rest-service-fe/revisionData-v1/revisionInfo/FE-hg.json?path=buildit.xml&revision=489fa21 {noformat} In FishEye the following stacktrace can be seen: {noformat} 2012-11-22 10:55:12,694 ERROR [btpool0-39 ] fisheye.app com.cenqua.fisheye.web.filters.TotalityFilter-logExceptionDetails - Exception "Conflicting getter definitions for property "ancestor": com.atlassian.fisheye.spi.data.FileRevisionData#getAncestor(0 params) vs com.atlassian.fisheye.spi.data.FileRevisionData#getAncestors(0 params)" (org.codehaus.jackson.map.JsonMappingException) while processing "/fisheye/rest/api/1.0/rest-service-fe/revisionData-v1/revisionInfo/FE-hg" (Referer:"null") org.codehaus.jackson.map.JsonMappingException: Conflicting getter definitions for property "ancestor": com.atlassian.fisheye.spi.data.FileRevisionData#getAncestor(0 params) vs com.atlassian.fisheye.spi.data.FileRevisionData#getAncestors(0 params) at org.codehaus.jackson.map.ser.StdSerializerProvider._createAndCacheUntypedSerializer(StdSerializerProvider.java:740) at org.codehaus.jackson.map.ser.StdSerializerProvider.findValueSerializer(StdSerializerProvider.java:344) at org.codehaus.jackson.map.ser.StdSerializerProvider.findTypedValueSerializer(StdSerializerProvider.java:420) at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:601) at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:256) at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1604) at org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:558) at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306) {noformat}

    Atlassian JIRA | 4 years ago | Ricardo Martins [Atlassian]
    org.codehaus.jackson.map.JsonMappingException: Conflicting getter definitions for property "ancestor": com.atlassian.fisheye.spi.data.FileRevisionData#getAncestor(0 params) vs com.atlassian.fisheye.spi.data.FileRevisionData#getAncestors(0 params)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Odd error when attempting to serialize to application/rdf+json

    GitHub | 3 years ago | cjcolvar
    javax.servlet.ServletException: javax.servlet.ServletException: org.codehaus.jackson.map.JsonMappingException: No serializer found for class com.hp.hpl.jena.shared.LockMRSW and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: com.hp.hpl.jena.sparql.core.DatasetImpl["lock"])
  6. 0

    Infinite recursion when entering administration for entity with @ManyToOne field having LAZY fetch strategy

    GitHub | 3 years ago | ikostenko
    org.codehaus.jackson.map.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: org.springframework.hateoas.PagedResources["content"]->java.util.UnmodifiableCollection[0]->org.springframework.data.rest.webmvc.EntityResource["[anySetter]"]->java.util.LinkedHashMap["product"]->java.util.LinkedHashMap["value"]->org.springframework.hateoas.Resource["content"]->[...])

    16 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. org.codehaus.jackson.map.JsonMappingException

      No serializer found for class Table and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) )

      at org.codehaus.jackson.map.ser.impl.UnknownSerializer.failForEmpty()
    2. Data Mapper for Jackson
      ObjectMapper.writeValue
      1. org.codehaus.jackson.map.ser.impl.UnknownSerializer.failForEmpty(UnknownSerializer.java:52)
      2. org.codehaus.jackson.map.ser.impl.UnknownSerializer.serialize(UnknownSerializer.java:25)
      3. org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:610)
      4. org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:256)
      5. org.codehaus.jackson.map.ObjectMapper._configAndWriteValue(ObjectMapper.java:2575)
      6. org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:2065)
      6 frames
    3. terrastore.client.mapping
      JsonObjectWriter.writeTo
      1. terrastore.client.mapping.JsonObjectWriter.writeTo(JsonObjectWriter.java:61)
      1 frame
    4. RESTEasy JAX-RS Implementation
      ClientRequest.put
      1. org.jboss.resteasy.core.interception.MessageBodyWriterContextImpl.proceed(MessageBodyWriterContextImpl.java:117)
      2. org.jboss.resteasy.plugins.interceptors.encoding.GZIPEncodingInterceptor.write(GZIPEncodingInterceptor.java:48)
      3. org.jboss.resteasy.core.interception.MessageBodyWriterContextImpl.proceed(MessageBodyWriterContextImpl.java:123)
      4. org.jboss.resteasy.plugins.interceptors.encoding.GZIPEncodingInterceptor.write(GZIPEncodingInterceptor.java:48)
      5. org.jboss.resteasy.core.interception.MessageBodyWriterContextImpl.proceed(MessageBodyWriterContextImpl.java:123)
      6. org.jboss.resteasy.client.ClientRequest.writeRequestBody(ClientRequest.java:477)
      7. org.jboss.resteasy.client.core.executors.ApacheHttpClientExecutor$ClientRequestEntity.<init>(ApacheHttpClientExecutor.java:154)
      8. org.jboss.resteasy.client.core.executors.ApacheHttpClientExecutor.loadHttpMethod(ApacheHttpClientExecutor.java:226)
      9. org.jboss.resteasy.client.core.executors.ApacheHttpClientExecutor.execute(ApacheHttpClientExecutor.java:78)
      10. org.jboss.resteasy.core.interception.ClientExecutionContextImpl.proceed(ClientExecutionContextImpl.java:39)
      11. org.jboss.resteasy.plugins.interceptors.encoding.AcceptEncodingGZIPInterceptor.execute(AcceptEncodingGZIPInterceptor.java:40)
      12. org.jboss.resteasy.core.interception.ClientExecutionContextImpl.proceed(ClientExecutionContextImpl.java:45)
      13. org.jboss.resteasy.plugins.interceptors.encoding.AcceptEncodingGZIPInterceptor.execute(AcceptEncodingGZIPInterceptor.java:40)
      14. org.jboss.resteasy.core.interception.ClientExecutionContextImpl.proceed(ClientExecutionContextImpl.java:45)
      15. org.jboss.resteasy.client.ClientRequest.execute(ClientRequest.java:449)
      16. org.jboss.resteasy.client.ClientRequest.httpMethod(ClientRequest.java:679)
      17. org.jboss.resteasy.client.ClientRequest.put(ClientRequest.java:541)
      17 frames
    5. terrastore.client.connection
      HTTPConnection.putValue
      1. terrastore.client.connection.resteasy.HTTPConnection.putValue(HTTPConnection.java:185)
      1 frame
    6. terrastore.client
      KeyOperation.put
      1. terrastore.client.KeyOperation.put(KeyOperation.java:57)
      1 frame
    7. Unknown
      TerrastoreDBClient.main
      1. TerrastoreDBClient.test(TerrastoreDBClient.java:32)
      2. TerrastoreDBClient.main(TerrastoreDBClient.java:48)
      2 frames