I’m having an unwanted exception in Intellij plugi...
# intellij-plugins
r
I’m having an unwanted exception in Intellij plugin, It’s an IDE fatal error. The error is an exception from coroutines, however, it seems that something is going under the hood, like if it’s missing some dependency or something.
Copy code
ERROR - llij.ide.plugins.PluginManager - Could not initialize class kotlinx.coroutines.CoroutineExceptionHandlerImplKt
It’s trying to load the
CoroutineExceptionHandlerImpl.kt
but it’s not there. I’ve seen a few posts regarding this issue, but still I can’t seem to find an answer that guides me towards a solution 1. https://youtrack.jetbrains.com/issue/IDEA-277886 2. https://github.com/GoogleCloudPlatform/cloud-code-intellij/issues/2922 Anyone knows anything?
j
did you call Dispatchers.Main at that time?
r
I’m not using coroutines, although Compose might do something with coroutines under the hood that I’m not aware of right now
I’m dragging, so probably there’s coroutines under the hood, I suspect taht might be the issue
j
I encountered this error before, it caused by the image loader library which switch dispatcher to Main
by the way, it only occur after idea 2022.1
r
I don’t see anything in
compose foundation desktop 1.4.0
that uses
Dispatchers.Main
, it uses
Dispatchers.Default
for
Modifier.onDrag
But I’ll check a bit deeper, thanks Jerry 👍
j
maybe some third-party libraries did