Skip to content

Instantly share code, notes, and snippets.

@manveru
Created June 17, 2014 21:31
Show Gist options
  • Save manveru/cac68379d2f0ef5a1922 to your computer and use it in GitHub Desktop.
Save manveru/cac68379d2f0ef5a1922 to your computer and use it in GitHub Desktop.
Exception in thread "main" java.lang.RuntimeException: com.google.protobuf.InvalidProtocolBufferException: 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 skadistats.clarity.parser.TickIterator.getNextPeek(TickIterator.java:25)
at skadistats.clarity.parser.TickIterator.next(TickIterator.java:47)
at skadistats.clarity.examples.simple.Main.main(Main.java:23)
Caused by: com.google.protobuf.InvalidProtocolBufferException: 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.google.protobuf.InvalidProtocolBufferException.truncatedMessage(InvalidProtocolBufferException.java:70)
at com.google.protobuf.CodedInputStream.refillBuffer(CodedInputStream.java:746)
at com.google.protobuf.CodedInputStream.readRawBytes(CodedInputStream.java:811)
at skadistats.clarity.parser.DemoInputStream.read(DemoInputStream.java:75)
at skadistats.clarity.parser.TickIterator.getNextPeek(TickIterator.java:22)
... 2 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment