java.lang.NullPointerException

GitHub | gegy1000 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    NPE when requesting currency player doesn't have

    GitHub | 7 months ago | gegy1000
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.pokegoapi.api.player.PlayerProfile.getCurrency()
    2. com.pokegoapi.api
      PlayerProfile.getCurrency
      1. com.pokegoapi.api.player.PlayerProfile.getCurrency(PlayerProfile.java:217)
      1 frame