java.lang.RuntimeException: An error occured while executing doInBackground()

GitHub | mpcom00 | 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

    Pokestop error

    GitHub | 7 months ago | mpcom00
    java.lang.RuntimeException: An error occured while executing doInBackground()

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'long POGOProtos.Map.Fort.FortDataOuterClass$FortData.getCooldownCompleteTimestampMs()' on a null object reference

      at com.pokegoapi.api.map.fort.Pokestop.<init>()
    2. com.pokegoapi.api
      Pokestop.<init>
      1. com.pokegoapi.api.map.fort.Pokestop.<init>(Pokestop.java:56)
      1 frame
    3. com.example.mpcom
      Test.doInBackground
      1. com.example.mpcom.mapstest.Test.doInBackground(Test.java:42)
      2. com.example.mpcom.mapstest.Test.doInBackground(Test.java:26)
      2 frames
    4. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:288)
      1 frame
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame