Hello. What could be the reason for the following ...
# jewel
p
Hello. What could be the reason for the following crash when launching an action in an Intellij plugin with jewel + compose UI?
Copy code
2024-02-05 22:20:58,673 [34532237] SEVERE - #c.i.i.p.PluginManager - Could not initialize class androidx.compose.ui.awt.WindowComposeBridge$component$1
java.lang.NoClassDefFoundError: Could not initialize class androidx.compose.ui.awt.WindowComposeBridge$component$1
	at androidx.compose.ui.awt.WindowComposeBridge.<init>(WindowComposeBridge.desktop.kt:43)
	at androidx.compose.ui.awt.ComposePanel.createComposeBridge(ComposePanel.desktop.kt:208)
	at androidx.compose.ui.awt.ComposePanel.addNotify(ComposePanel.desktop.kt:195)
...
The environment:
Copy code
2024-02-05 22:20:58,674 [34532238] SEVERE - #c.i.i.p.PluginManager - Android Studio Jellyfish | 2023.3.1 Canary 1  Build #AI-233.13135.103.2331.11247450
2024-02-05 22:20:58,674 [34532238] SEVERE - #c.i.i.p.PluginManager - JDK: 17.0.9; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2024-02-05 22:20:58,674 [34532238] SEVERE - #c.i.i.p.PluginManager - OS: Mac OS X
s
Hi there! Not sure. One common cause of NCDFEs is that you're trying to bring in Coroutines or Kotlin stdlib into the IDE. You should make sure you don't, you must use the versions that come from the platform, or you'll get all sorts of issues