com.pokegoapi.exceptions.RemoteServerException: com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by KyleBoyer
, 1 year ago
com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.
via GitHub by siimveskilt
, 1 year ago
com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.
via GitHub by nc1992
, 1 year ago
com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.
via GitHub by russr123
, 1 year ago
com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
via GitHub by insufficient-funds
, 1 year ago
com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
via GitHub by rclai
, 1 year ago
com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null
com.pokegoapi.exceptions.RemoteServerException: com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length.
at com.google.protobuf.InvalidProtocolBufferException.truncatedMessage(InvalidProtocolBufferException.java:82)
at com.google.protobuf.CodedInputStream.refillBuffer(CodedInputStream.java:1062)
at com.google.protobuf.CodedInputStream.readRawByte(CodedInputStream.java:1129)
at com.google.protobuf.CodedInputStream.readRawVarint64SlowPath(CodedInputStream.java:780)
at com.google.protobuf.CodedInputStream.readRawVarint64(CodedInputStream.java:772)
at POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse.(GetHatchedEggsResponseOuterClass.java:137)
at POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse.(GetHatchedEggsResponseOuterClass.java:75)
at POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse$1.parsePartialFrom(GetHatchedEggsResponseOuterClass.java:1030)
at POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse$1.parsePartialFrom(GetHatchedEggsResponseOuterClass.java:1025)
at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:105)
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:125)
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:130)
at POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse.parseFrom(GetHatchedEggsResponseOuterClass.java:461)
at com.pokegoapi.api.inventory.Hatchery.queryHatchedEggs(Hatchery.java:70)
at ink.abb.pogo.scraper.tasks.HatchEggs.run(HatchEggs.kt:34)
at ink.abb.pogo.scraper.Bot.task(Bot.kt:97)
at ink.abb.pogo.scraper.Bot$run$$inlined$fixedRateTimer$lambda$lambda$2.invoke(Bot.kt:91)
at ink.abb.pogo.scraper.Bot$run$$inlined$fixedRateTimer$lambda$lambda$2.invoke(Bot.kt:25)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.