com.google.protobuf.Utf8$UnpairedSurrogateException: Unpaired surrogate at index -1

GitHub | emmenlau | 1 year ago
  1. 0

    compile warning about UTF-16

    GitHub | 1 year ago | emmenlau
    com.google.protobuf.Utf8$UnpairedSurrogateException: Unpaired surrogate at index -1

    Root Cause Analysis

    1. com.google.protobuf.Utf8$UnpairedSurrogateException

      Unpaired surrogate at index -1

      at com.google.protobuf.Utf8.encode()
    2. Protocol Buffer Java API
      CodedOutputStream.efficientWriteStringNoTag
      1. com.google.protobuf.Utf8.encode(Utf8.java:460)
      2. com.google.protobuf.CodedOutputStream.efficientWriteStringNoTag(CodedOutputStream.java:483)
      2 frames