java.lang.IndexOutOfBoundsException: End index: 4098 >= 4096

GitHub | loicortola | 8 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.

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    End index: 4098 >= 4096

    at com.google.protobuf.ByteString.checkRange()
  2. Protocol Buffer Java API
    CodedInputStream.readTag
    1. com.google.protobuf.ByteString.checkRange(ByteString.java:1219)
    2. com.google.protobuf.ByteString.copyTo(ByteString.java:596)
    3. com.google.protobuf.CodedInputStream.tryRefillBuffer(CodedInputStream.java:1101)
    4. com.google.protobuf.CodedInputStream.isAtEnd(CodedInputStream.java:1035)
    5. com.google.protobuf.CodedInputStream.readTag(CodedInputStream.java:139)
    5 frames
  3. POGOProtos.Networking.Responses
    GetMapObjectsResponseOuterClass$GetMapObjectsResponse$1.parsePartialFrom
    1. POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass$GetMapObjectsResponse.<init>(GetMapObjectsResponseOuterClass.java:78)
    2. POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass$GetMapObjectsResponse.<init>(GetMapObjectsResponseOuterClass.java:51)
    3. POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass$GetMapObjectsResponse$1.parsePartialFrom(GetMapObjectsResponseOuterClass.java:759)
    4. POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass$GetMapObjectsResponse$1.parsePartialFrom(GetMapObjectsResponseOuterClass.java:754)
    4 frames
  4. Protocol Buffer Java API
    AbstractParser.parseFrom
    1. com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:197)
    2. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:214)
    3. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49)
    3 frames
  5. POGOProtos.Networking.Responses
    GetMapObjectsResponseOuterClass$GetMapObjectsResponse.parseFrom
    1. POGOProtos.Networking.Responses.GetMapObjectsResponseOuterClass$GetMapObjectsResponse.parseFrom(GetMapObjectsResponseOuterClass.java:222)
    1 frame
  6. com.pokegoapi.api
    Map$6.handle
    1. com.pokegoapi.api.map.Map$6.handle(Map.java:299)
    2. com.pokegoapi.api.map.Map$6.handle(Map.java:294)
    2 frames
  7. com.pokegoapi.util
    FutureWrapper.toBlocking
    1. com.pokegoapi.util.FutureWrapper.getResult(FutureWrapper.java:78)
    2. com.pokegoapi.util.FutureWrapper.get(FutureWrapper.java:53)
    3. com.pokegoapi.util.FutureWrapper.getResult(FutureWrapper.java:78)
    4. com.pokegoapi.util.FutureWrapper.get(FutureWrapper.java:53)
    5. com.pokegoapi.util.FutureWrapper.toBlocking(FutureWrapper.java:108)
    6. com.pokegoapi.util.FutureWrapper.toBlocking(FutureWrapper.java:94)
    6 frames
  8. com.pokegoapi.api
    Map.getCatchablePokemon
    1. com.pokegoapi.api.map.Map.getCatchablePokemon(Map.java:122)
    1 frame