java.lang.NullPointerException: Attempt to invoke virtual method 'POGOProtos.Networking.Responses.CatchPokemonResponseOuterClass$CatchPokemonResponse$CatchStatus POGOProtos.Networking.Responses.CatchPokemonResponseOuterClass$CatchPokemonResponse.getStatus()' on a null object reference

GitHub | TheLushpen | 5 months ago
  1. 0

    NullPointer for Catch Pokemon

    GitHub | 5 months ago | TheLushpen
    java.lang.NullPointerException: Attempt to invoke virtual method 'POGOProtos.Networking.Responses.CatchPokemonResponseOuterClass$CatchPokemonResponse$CatchStatus POGOProtos.Networking.Responses.CatchPokemonResponseOuterClass$CatchPokemonResponse.getStatus()' on a null object reference
  2. 0
    The resource was accessed after it was dismissed.
  3. 0
    Initialize the variable before calling a method on it.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Use 'dialog' to access views from custom_layout layout.
  6. 0
    The parsed JSON does not contains the requested field.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'POGOProtos.Networking.Responses.CatchPokemonResponseOuterClass$CatchPokemonResponse$CatchStatus POGOProtos.Networking.Responses.CatchPokemonResponseOuterClass$CatchPokemonResponse.getStatus()' on a null object reference

      at com.pokegoapi.api.map.pokemon.CatchResult.getStatus()
    2. com.pokegoapi.api
      CatchablePokemon.catchPokemon
      1. com.pokegoapi.api.map.pokemon.CatchResult.getStatus(CatchResult.java:54)
      2. com.pokegoapi.api.map.pokemon.CatchablePokemon.catchPokemon(CatchablePokemon.java:712)
      3. com.pokegoapi.api.map.pokemon.CatchablePokemon.catchPokemon(CatchablePokemon.java:668)
      4. com.pokegoapi.api.map.pokemon.CatchablePokemon.catchPokemon(CatchablePokemon.java:631)
      5. com.pokegoapi.api.map.pokemon.CatchablePokemon.catchPokemon(CatchablePokemon.java:617)
      6. com.pokegoapi.api.map.pokemon.CatchablePokemon.catchPokemon(CatchablePokemon.java:604)
      6 frames