com.dyuproject.protostuff.ProtobufException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length.

Google Groups | Anil Pandge | 2 years ago
  1. 0

    Protostuff serialization failing for payload with size between 32839 to 32936 bytes.

    Google Groups | 2 years ago | Anil Pandge
    com.dyuproject.protostuff.ProtobufException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length.
  2. 0

    ProtobufException

    Google Groups | 5 years ago | Xavier Vanderstukken
    com.dyuproject.protostuff.ProtobufException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length.
  3. 0

    ProtobufException

    Google Groups | 5 years ago | Xavier Vanderstukken
    com.dyuproject.protostuff.ProtobufException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: [protostuff] Are Protobuf and Protostuf compatible?

    Google Groups | 4 years ago | David Yu
    java.lang.RuntimeException: Reading from a byte array threw an IOException (should never happen).
  6. 0

    List serialization/deserialization

    Google Groups | 5 years ago | xavan
    com.dyuproject.protostuff.ProtobufException: Protocol message contained an invalid tag (zero).

    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.dyuproject.protostuff.ProtobufException

      While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either than the input has been truncated or that an embedded message misreported its own length.

      at com.dyuproject.protostuff.ProtobufException.truncatedMessage()
    2. com.dyuproject.protostuff
      GraphIOUtil.mergeDelimitedFrom
      1. com.dyuproject.protostuff.ProtobufException.truncatedMessage(ProtobufException.java:77)
      2. com.dyuproject.protostuff.CodedInput.readRawVarint32(CodedInput.java:450)
      3. com.dyuproject.protostuff.GraphIOUtil.mergeDelimitedFrom(GraphIOUtil.java:190)
      3 frames
    3. com.ea.cascade
      ProtostuffBugTest.main
      1. com.ea.cascade.tools.utils.SampleClass.readExternal(SampleClass.java:62)
      2. com.ea.cascade.tools.utils.ProtostuffBugTest.deserialize(ProtostuffBugTest.java:60)
      3. com.ea.cascade.tools.utils.ProtostuffBugTest.main(ProtostuffBugTest.java:27)
      3 frames