joreilly / PeopleInSpace

Kotlin Multiplatform sample with SwiftUI, Jetpack Compose, Compose for Wear, Compose for Desktop, and Compose for Web clients along with Ktor backend.
Apache License 2.0
2.92k stars 259 forks source link

[WEB] Clicking on the name in the left pane causes an error #374

Closed javac9 closed 5 days ago

javac9 commented 6 days ago

Clicking on the name in the left pane causes:

Uncaught runtime errors:
×
ERROR
illegal cast
RuntimeError: illegal cast
    at <com.example:compose-web>.coil3.network.ktor.internal.KtorNetworkResponseBody__close-impl (http://localhost:8080/peopleinspace.wasm:wasm-function[61711]:0x7a1662)
    at <com.example:compose-web>.coil3.network.ktor.internal.KtorNetworkResponseBody.close (http://localhost:8080/peopleinspace.wasm:wasm-function[61717]:0x7a1790)
    at <com.example:compose-web>.kotlin.closeFinally (http://localhost:8080/peopleinspace.wasm:wasm-function[7221]:0x36a519)
    at <com.example:compose-web>.coil3.network.internal.$readBufferCOROUTINE$3.doResume (http://localhost:8080/peopleinspace.wasm:wasm-function[57655]:0x7519ad)
    at <com.example:compose-web>.coil3.network.internal.readBuffer (http://localhost:8080/peopleinspace.wasm:wasm-function[57650]:0x751597)
    at <com.example:compose-web>.coil3.network.NetworkFetcher$fetch$slambda.doResume (http://localhost:8080/peopleinspace.wasm:wasm-function[57583]:0x74f4b5)
    at <com.example:compose-web>.coil3.network.NetworkFetcher$fetch$slambda.invoke (http://localhost:8080/peopleinspace.wasm:wasm-function[57581]:0x74f255)
    at <com.example:compose-web>.coil3.network.NetworkFetcher$fetch$slambda.invoke (http://localhost:8080/peopleinspace.wasm:wasm-function[57582]:0x74f283)
    at <com.example:compose-web>.coil3.network.NetworkFetcher$executeNetworkRequest$slambda.doResume (http://localhost:8080/peopleinspace.wasm:wasm-function[57595]:0x74f9ef)
    at <com.example:compose-web>.coil3.network.NetworkFetcher$executeNetworkRequest$slambda.invoke (http://localhost:8080/peopleinspace.wasm:wasm-function[57593]:0x74f8e3)
joreilly commented 5 days ago

Was issue in way I had setup coil3 dependencies after last alpha. Fixed now,