Hello, after update to 1.9.0-Beta I've started to ...
# eap
a
Hello, after update to 1.9.0-Beta I've started to receive an error
Cannot invoke "kotlin.Lazy.getValue()" because "<local1>" is null
code:
Copy code
@JsExport @OptIn(ExperimentalJsExport::class) public val constDataInMyApp: MyDataClass = MyDataClass(emptyArray())

data class AnotherDataClass(val name: String) {
 public val path: MyDataClass by lazy { constDataInMyApp.someFunc(this) }
}
It works well on 1.8.21
i
Can you attach the full code?
a
Actually, I can't, I've tried to reproduce it on example code, and there is no error. I've just investigate that on example code with debugger I got an
path$delegate=Lazy value not initialized yet
message, but for my app I got
path$delegate=null
I will try to reproduce P.S. I use mutliplatform JVM+JS
i
cc @anton.bannykh