kotlin.UninitializedPropertyAccessException: lateinit property playerStats has not been initialized

GitHub | FrancYescO | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 1237#242674732

    GitHub | 9 months ago | FrancYescO
    kotlin.UninitializedPropertyAccessException: lateinit property playerStats has not been initialized

    Root Cause Analysis

    1. kotlin.UninitializedPropertyAccessException

      lateinit property playerStats has not been initialized

      at ink.abb.pogo.api.cache.Inventory.getPlayerStats()
    2. ink.abb.pogo
      PokemonGoBotApplication$BotRunner$run$$inlined$forEach$lambda$1.invoke
      1. ink.abb.pogo.api.cache.Inventory.getPlayerStats(Inventory.kt:28)
      2. ink.abb.pogo.scraper.Bot.<init>(Bot.kt:49)
      3. ink.abb.pogo.scraper.MainKt.startBot(Main.kt:174)
      4. ink.abb.pogo.scraper.services.BotService.submitBot(BotService.kt:42)
      5. ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$$inlined$forEach$lambda$1.invoke(PokemonGoBotApplication.kt:85)
      6. ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$$inlined$forEach$lambda$1.invoke(PokemonGoBotApplication.kt:67)
      6 frames
    3. kotlin.concurrent
      ThreadsKt$thread$thread$1.run
      1. kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)
      1 frame