Kotlin - Null Safety
This Kotlin code calls a Java method returning a platform type:
It sometimes crashes with NullPointerException. How to fix it?
val text: String = javaApi.getText() println(text.length)
It sometimes crashes with NullPointerException. How to fix it?
