java.lang.NoClassDefFoundError: org/jetbrains/kotlin/asJava/KtLightElement

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by hoha
, 1 year ago
org/jetbrains/kotlin/asJava/KtLightElement
java.lang.NoClassDefFoundError: org/jetbrains/kotlin/asJava/KtLightElement
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.jetbrains.kotlin.android.dslpreview.DslPreviewToolWindowManager.getKtClass(DslPreviewToolWindowManager.kt:332)
at org.jetbrains.kotlin.android.dslpreview.DslPreviewToolWindowManager.resolveClassDescription(DslPreviewToolWindowManager.kt:366)
at org.jetbrains.kotlin.android.dslpreview.DslPreviewToolWindowManager.getAncestors(DslPreviewToolWindowManager.kt:354)
at org.jetbrains.kotlin.android.dslpreview.DslPreviewToolWindowManager.resolveAvailableClasses(DslPreviewToolWindowManager.kt:319)
at org.jetbrains.kotlin.android.dslpreview.DslPreviewToolWindowManager.initToolWindow(DslPreviewToolWindowManager.kt:162)
at org.jetbrains.android.uipreview.AndroidLayoutPreviewToolWindowManager$5.run(AndroidLayoutPreviewToolWindowManager.java:491)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:283)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:244)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:352)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:337)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:866)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Users with the same issue

Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
13 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.