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.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Xavier Vanderstukken,
  • Stack trace

    • 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(ProtobufException.java:77) at com.dyuproject.protostuff.CodedInput.readRawVarint32(CodedInput.java:450) at com.dyuproject.protostuff.GraphIOUtil.mergeDelimitedFrom(GraphIOUtil.java:190) at com.ea.cascade.tools.utils.SampleClass.readExternal(SampleClass.java:62) at com.ea.cascade.tools.utils.ProtostuffBugTest.deserialize(ProtostuffBugTest.java:60) at com.ea.cascade.tools.utils.ProtostuffBugTest.main(ProtostuffBugTest.java:27)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.