![android - kotlin.TypeCastException: null cannot be cast to non-null type com.midsizemango.databasekotlin.Note - Stack Overflow | It cast, Type, Canning android - kotlin.TypeCastException: null cannot be cast to non-null type com.midsizemango.databasekotlin.Note - Stack Overflow | It cast, Type, Canning](https://i.pinimg.com/originals/0b/45/d9/0b45d96c9ba0d912bb652846f0373456.png)
android - kotlin.TypeCastException: null cannot be cast to non-null type com.midsizemango.databasekotlin.Note - Stack Overflow | It cast, Type, Canning
![Can't cast anonymous class to kotlin.jvm.functions.Function1 at runtime - Support - Kotlin Discussions Can't cast anonymous class to kotlin.jvm.functions.Function1 at runtime - Support - Kotlin Discussions](https://global.discourse-cdn.com/business5/uploads/kotlinlang/original/2X/0/000fb247d9cc63fb06d17e2bce44aaa831775672.png)
Can't cast anonymous class to kotlin.jvm.functions.Function1 at runtime - Support - Kotlin Discussions
![Smart cast 'Loop' is impossible, because 'loop' is a property that has open or custom getter - Support - Kotlin Discussions Smart cast 'Loop' is impossible, because 'loop' is a property that has open or custom getter - Support - Kotlin Discussions](https://global.discourse-cdn.com/business5/uploads/kotlinlang/optimized/2X/2/20cf40d9164a54a5b58ceacb68a62cd52e417e1c_2_690x345.png)