Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Hatching four eggs, got out of bounds error #189

Closed
@swiftveteran

Description

@swiftveteran

There are four eggs to hatch but it gets an out of bounds error.

Exception in thread "Thread-4" java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
        at java.util.ArrayList.rangeCheck(ArrayList.java:653)
        at java.util.ArrayList.get(ArrayList.java:429)
        at java.util.Collections$UnmodifiableList.get(Collections.java:1309)
        at POGOProtos.Networking.Responses.GetHatchedEggsResponseOuterClass$GetHatchedEggsResponse.getExperienceAwarded(GetHatchedEggsResponseOuterClass.java:292)
        at com.pokegoapi.api.inventory.Hatchery.queryHatchedEggs(Hatchery.java:77)

Additionally, it loses track of incubators:

24 Jul 11:58:50: Failed to put egg in incubator; error: ERROR_POKEMON_ALREADY_INCUBATING 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions