Hayk Baghdasaryan Thank you for the code.

Strangely this an open issue from Kotlin itself.

you can track this issue here.

This only happens with a lateinit property in Companion object.

As a workaround, you can use a nullable property (instance) and check if it is null in managerInstance and initialize if it is null and return.