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.

GitHub | KyleBoyer | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 194#234775698

    GitHub | 7 months ago | KyleBoyer
    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.
  2. 0

    Egg Hatching Doesn't Work

    GitHub | 7 months ago | nc1992
    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.
  3. 0

    GitHub comment 323#235011093

    GitHub | 7 months ago | siimveskilt
    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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Protocol Buffer Java API
      CodedInputStream.readUInt64
      1. com.google.protobuf.InvalidProtocolBufferException.truncatedMessage(InvalidProtocolBufferException.java:82)
      2. com.google.protobuf.CodedInputStream.refillBuffer(CodedInputStream.java:1062)
      3. com.google.protobuf.CodedInputStream.readRawByte(CodedInputStream.java:1129)
      4. com.google.protobuf.CodedInputStream.readRawVarint64SlowPath(CodedInputStream.java:780)
      5. com.google.protobuf.CodedInputStream.readRawVarint64(CodedInputStream.java:772)
      6. com.google.protobuf.CodedInputStream.readUInt64(CodedInputStream.java:328)
      6 frames
    3. POGOProtos.Networking.Responses
      GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse$1.parsePartialFrom
      1. POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse.<init>(GetHatchedEggsResponseOuterClass.java:137)
      2. POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse.<init>(GetHatchedEggsResponseOuterClass.java:75)
      3. POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse$1.parsePartialFrom(GetHatchedEggsResponseOuterClass.java:1030)
      4. POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse$1.parsePartialFrom(GetHatchedEggsResponseOuterClass.java:1025)
      4 frames
    4. Protocol Buffer Java API
      AbstractParser.parseFrom
      1. com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:105)
      2. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:125)
      3. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:130)
      4. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49)
      4 frames
    5. POGOProtos.Networking.Responses
      GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse.parseFrom
      1. POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse.parseFrom(GetHatchedEggsResponseOuterClass.java:461)
      1 frame
    6. com.pokegoapi.api
      Hatchery.queryHatchedEggs
      1. com.pokegoapi.api.inventory.Hatchery.queryHatchedEggs(Hatchery.java:65)
      1 frame
    7. ink.abb.pogo
      Bot$run$$inlined$fixedRateTimer$lambda$lambda$2.invoke
      1. ink.abb.pogo.scraper.tasks.HatchEggs.run(HatchEggs.kt:35)
      2. ink.abb.pogo.scraper.Bot.task(Bot.kt:83)
      3. ink.abb.pogo.scraper.Bot$run$$inlined$fixedRateTimer$lambda$lambda$2.invoke(Bot.kt:77)
      4. ink.abb.pogo.scraper.Bot$run$$inlined$fixedRateTimer$lambda$lambda$2.invoke(Bot.kt:21)
      4 frames
    8. kotlin.concurrent
      ThreadsKt$thread$thread$1.run
      1. kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)
      1 frame