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.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web83

  • via GitHub by KyleBoyer
    , 11 months 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
    , 11 months 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
    , 11 months 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.
  • Stack trace

    • 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.pokegoapi.api.inventory.Hatchery.queryHatchedEggs(Hatchery.java:72) at ink.abb.pogo.scraper.tasks.HatchEggs.run(HatchEggs.kt:34) at ink.abb.pogo.scraper.Bot.task(Bot.kt:101) at ink.abb.pogo.scraper.Bot$run$$inlined$fixedRateTimer$lambda$lambda$2.invoke(Bot.kt:95) 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) 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 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 com.google.protobuf.CodedInputStream.readUInt64(CodedInputStream.java:328) at POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse.<init>(GetHatchedEggsResponseOuterClass.java:137) at POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse.<init>(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 com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49) at POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse.parseFrom(GetHatchedEggsResponseOuterClass.java:461) at com.pokegoapi.api.inventory.Hatchery.queryHatchedEggs(Hatchery.java:70)

    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

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    1 more bugmates