kotlin.UninitializedPropertyAccessException: lateinit property playerStats has not been initialized

GitHub | FrancYescO | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 1237#242674732

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