kotlin.TypeCastException: null cannot be cast to non-null type com.pokegoapi.api.map.fort.Pokestop

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

    Same error 0.5.0 alpha3 BotLoop

    GitHub | 7 months ago | alone23
    kotlin.TypeCastException: null cannot be cast to non-null type com.pokegoapi.api.map.fort.Pokestop

    Root Cause Analysis

    1. kotlin.TypeCastException

      null cannot be cast to non-null type com.pokegoapi.api.map.fort.Pokestop

      at ink.abb.pogo.scraper.Bot$start$4.invoke()
    2. ink.abb.pogo
      Bot$runLoop$1.invoke
      1. ink.abb.pogo.scraper.Bot$start$4.invoke(Bot.kt:132)
      2. ink.abb.pogo.scraper.Bot$start$4.invoke(Bot.kt:34)
      3. ink.abb.pogo.scraper.Bot$runLoop$1.invoke(Bot.kt:163)
      4. ink.abb.pogo.scraper.Bot$runLoop$1.invoke(Bot.kt:34)
      4 frames
    3. kotlin.concurrent
      ThreadsKt$thread$thread$1.run
      1. kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)
      1 frame