com.fasterxml.jackson.core.JsonGenerationException: Can not write a field name, expecting a value

  1. 0

    How to serialize a double-wrapped list?

    Stack Overflow | 3 months ago | Steffen Kreutz
    com.fasterxml.jackson.core.JsonGenerationException: Can not write a field name, expecting a value
  2. 0

    GitHub comment 753#156817841

    GitHub | 1 year ago | rpatrick00
    com.fasterxml.jackson.core.JsonGenerationException: Can not write a field name, expecting a value
  3. 0

    CSV mapper does not support Views or filtering correctly for serialization

    GitHub | 1 year ago | triviski
    com.fasterxml.jackson.core.JsonGenerationException: Can not skip a field, expecting a value
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception serializing double[][]

    GitHub | 2 months ago | rsc1975
    com.fasterxml.jackson.core.JsonGenerationException: Array size mismatch: number of element encoded is not equal to reported array/map size.
  6. 0

    @JsonTypeInfo (de)serialization fails for polymorphic array types and external property

    GitHub | 2 years ago | dashorst
    com.fasterxml.jackson.core.JsonGenerationException: Can not write a field name, expecting a value

    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.core.JsonGenerationException

      Can not write a field name, expecting a value

      at com.fasterxml.jackson.core.JsonGenerator._reportError()
    2. Jackson-core
      JsonGenerator._reportError
      1. com.fasterxml.jackson.core.JsonGenerator._reportError(JsonGenerator.java:1676)
      1 frame
    3. Jackson-dataformat-XML
      ToXmlGenerator.writeFieldName
      1. com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator.writeFieldName(ToXmlGenerator.java:444)
      1 frame
    4. Jackson-core
      JsonGenerator.writeArrayFieldStart
      1. com.fasterxml.jackson.core.JsonGenerator.writeArrayFieldStart(JsonGenerator.java:1409)
      1 frame
    5. Unknown
      Playground$ObjectListSerializer.serialize
      1. Playground$ObjectListSerializer.serialize(Playground.java:89)
      2. Playground$ObjectListSerializer.serialize(Playground.java:85)
      2 frames
    6. Jackson-dataformat-XML
      XmlSerializerProvider.serializeValue
      1. com.fasterxml.jackson.dataformat.xml.ser.XmlBeanPropertyWriter.serializeAsField(XmlBeanPropertyWriter.java:145)
      2. com.fasterxml.jackson.dataformat.xml.ser.XmlBeanSerializerBase.serializeFields(XmlBeanSerializerBase.java:202)
      3. com.fasterxml.jackson.dataformat.xml.ser.XmlBeanSerializer.serialize(XmlBeanSerializer.java:119)
      4. com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider.serializeValue(XmlSerializerProvider.java:92)
      4 frames
    7. Jackson
      ObjectMapper.writeValueAsString
      1. com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3631)
      2. com.fasterxml.jackson.databind.ObjectMapper.writeValueAsString(ObjectMapper.java:2998)
      2 frames
    8. Unknown
      Playground.main
      1. Playground.main(Playground.java:27)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    10. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame