You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: kotlin.KotlinNullPointerException
at kotlinx.coroutines.scheduling.CoroutineScheduler.shutdown(CoroutineScheduler.kt:307)
at kotlinx.coroutines.scheduling.CoroutineScheduler.close(CoroutineScheduler.kt:295)
at kotlinx.coroutines.scheduling.ExperimentalCoroutineDispatcher.close(Dispatcher.kt:70)
This is very special case that happens when a SecurityManager was introduced and tried to touch a dispatcher under thread creation restriction, it tried to launch a new worker and then failed due to security restrictions. So after that coroutineScheduler reference remains null.
I'd say the expected behaviour is to fail to dispatch but no-op at close
The text was updated successfully, but these errors were encountered:
I get KNPE when attempting to close dispatcher
This is very special case that happens when a SecurityManager was introduced and tried to touch a dispatcher under thread creation restriction, it tried to launch a new worker and then failed due to security restrictions. So after that
coroutineScheduler
reference remainsnull
.I'd say the expected behaviour is to fail to dispatch but no-op at close
The text was updated successfully, but these errors were encountered: