java.lang.NoClassDefFoundError: Could not initialize class java.awt.dnd.DragSource

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 Ask Ubuntu by Andrea Pucci
, 1 year ago
Could not initialize class java.awt.dnd.DragSource
via askubuntu.com by Unknown author, 2 years ago
Could not initialize class java.awt.dnd.DragSource
java.lang.NoClassDefFoundError: Could not initialize class java.awt.dnd.DragSource
at oracle.ideimpl.explorer.dnd.JTreeDragHandler.(JTreeDragHandler.java:56)
at oracle.ideimpl.explorer.BaseTreeExplorer.createDragSource(BaseTreeExplorer.java:1477)
at oracle.ideimpl.explorer.BaseTreeExplorer.createDragDropSupportIfEnabled(BaseTreeExplorer.java:1764)
at oracle.ideimpl.explorer.BaseTreeExplorer.getTree(BaseTreeExplorer.java:1451)
at oracle.ideimpl.explorer.BaseTreeExplorer.getJTree(BaseTreeExplorer.java:433)
at oracle.ide.explorer.IconOverlayCoordinator$NodeWatcher.(IconOverlayCoordinator.java:547)
at oracle.ide.explorer.IconOverlayCoordinator$NodeWatcher.(IconOverlayCoordinator.java:530)
at oracle.ide.explorer.IconOverlayCoordinator.registerOverlayConsumer(IconOverlayCoordinator.java:229)
at oracle.ide.explorer.IconOverlayCoordinator.processConsumerChangeEvent(IconOverlayCoordinator.java:209)
at oracle.ide.explorer.IconOverlayCoordinator.access$100(IconOverlayCoordinator.java:69)
at oracle.ide.explorer.IconOverlayCoordinator$4.stateChanged(IconOverlayCoordinator.java:187)
at oracle.ide.explorer.IconOverlayCache.registerOverlayConsumer(IconOverlayCache.java:93)
at oracle.ideri.navigator.DefaultNavigatorWindow.createTree(DefaultNavigatorWindow.java:1190)
at oracle.ideri.navigator.DefaultNavigatorWindow.getGUI(DefaultNavigatorWindow.java:433)
at oracle.dbtools.raptor.report.navigatorV2.ReportNavigatorWindow.init(ReportNavigatorWindow.java:36)
at oracle.dbtools.raptor.report.navigatorV2.ReportNavigatorWindow.getGUI(ReportNavigatorWindow.java:64)
at oracle.ide.docking.DockableWindow.getHostedComponent(DockableWindow.java:238)
at com.oracle.jdeveloper.nbwindowsystem.NbDockableContainer.componentOpened(NbDockableContainer.java:171)
at org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:307)
at org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentOpened(WindowManagerImpl.java:1140)
at org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:798)
at org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:354)
at org.netbeans.core.windows.PersistenceHandler.initModeFromConfig(PersistenceHandler.java:451)
at org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:214)
at org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:81)
at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:231)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Users with the same issue

You are the first who have seen this exception.

Write tip

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