kotlin.UninitializedPropertyAccessException: lateinit property playerStats has not been initialized

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by FrancYescO
, 1 year ago
lateinit property playerStats has not been initialized
kotlin.UninitializedPropertyAccessException: lateinit property playerStats has not been initialized
at ink.abb.pogo.api.cache.Inventory.getPlayerStats(Inventory.kt:28)
at ink.abb.pogo.scraper.Bot.(Bot.kt:49)
at ink.abb.pogo.scraper.MainKt.startBot(Main.kt:174)
at ink.abb.pogo.scraper.services.BotService.submitBot(BotService.kt:42)
at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$$inlined$forEach$lambda$1.invoke(PokemonGoBotApplication.kt:85)
at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$$inlined$forEach$lambda$1.invoke(PokemonGoBotApplication.kt:67)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.