com.fasterxml.jackson.core.JsonGenerationException: Split surrogate on writeRaw() input (last character)

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

    JsonGenerationException: Split surrogate on writeRaw() input thrown for input of a certain size

    GitHub | 8 months ago | mtnaseef
    com.fasterxml.jackson.core.JsonGenerationException: Split surrogate on writeRaw() input (last character)

    Root Cause Analysis

    1. com.fasterxml.jackson.core.JsonGenerationException

      Split surrogate on writeRaw() input (last character)

      at com.fasterxml.jackson.core.JsonGenerator._reportError()
    2. Jackson-core
      GeneratorBase.writeRawValue
      1. com.fasterxml.jackson.core.JsonGenerator._reportError(JsonGenerator.java:1887)
      2. com.fasterxml.jackson.core.json.UTF8JsonGenerator._outputRawMultiByteChar(UTF8JsonGenerator.java:1916)
      3. com.fasterxml.jackson.core.json.UTF8JsonGenerator._writeSegmentedRaw(UTF8JsonGenerator.java:697)
      4. com.fasterxml.jackson.core.json.UTF8JsonGenerator.writeRaw(UTF8JsonGenerator.java:611)
      5. com.fasterxml.jackson.core.json.UTF8JsonGenerator.writeRaw(UTF8JsonGenerator.java:560)
      6. com.fasterxml.jackson.core.base.GeneratorBase.writeRawValue(GeneratorBase.java:306)
      6 frames
    3. Unknown
      BadMsg.main
      1. BadMsg.main(BadMsg.java:17)
      1 frame