com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class org.jgrapht.graph.AbstractBaseGraph$ArrayListFactory and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: org.jgrapht.graph.SimpleDirectedGraph["edgeSetFactory"])

Stack Overflow | yann89 | 3 months ago
  1. 0

    How can I serialize a jgrapht simple graph to json?

    Stack Overflow | 3 months ago | yann89
    com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class org.jgrapht.graph.AbstractBaseGraph$ArrayListFactory and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: org.jgrapht.graph.SimpleDirectedGraph["edgeSetFactory"])
  2. 0

    change master to slave

    GitHub | 2 years ago | wenxueliu
    com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class java.io.ByteArrayInputStream and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.SerializationFeature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: org.restlet.data.Status["throwable"]->com.fasterxml.jackson.databind.JsonMappingException["location"]->com.fasterxml.jackson.core.JsonLocation["sourceRef"])
  3. 0

    InputState refactoring broke /system/inputs REST endpoint

    GitHub | 2 years ago | bernd
    org.glassfish.jersey.server.internal.process.MappableException: com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class org.graylog2.inputs.codecs.GelfChunkAggregator and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: com.google.common.collect.RegularImmutableMap["inputs"]->java.util.ArrayList[1]->org.graylog2.plugin.IOState["stoppable"]->org.graylog2.inputs.gelf.tcp.GELFTCPInput["codec"]->org.graylog2.inputs.codecs.GelfCodec["aggregator"])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Serializing objects with Dates causes a StackOverflowError

    GitHub | 3 years ago | dgileadi
    com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: com.agilex.asthma.domain.ActionPlan["_id"])
  6. 0

    Spring and Jackson ObjectMapper not working with custom Filter

    Stack Overflow | 3 years ago | user1236874
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.mongojack.MongoJsonMappingException: Error mapping BSON to POJOs

  1. qavid 1 times, last 7 months ago
9 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

    No serializer found for class org.jgrapht.graph.AbstractBaseGraph$ArrayListFactory and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: org.jgrapht.graph.SimpleDirectedGraph["edgeSetFactory"])

    at com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.failForEmpty()
  2. Jackson
    ObjectWriter.writeValue
    1. com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.failForEmpty(UnknownSerializer.java:69)
    2. com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.serialize(UnknownSerializer.java:32)
    3. com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:693)
    4. com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:675)
    5. com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:157)
    6. com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:130)
    7. com.fasterxml.jackson.databind.ObjectWriter$Prefetch.serialize(ObjectWriter.java:1387)
    8. com.fasterxml.jackson.databind.ObjectWriter._configAndWriteValue(ObjectWriter.java:1088)
    9. com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:909)
    9 frames
  3. ms.fragment
    JSONTreeGenerator.main
    1. ms.fragment.JSONTreeGenerator.main(JSONTreeGenerator.java:45)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  5. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
    1 frame