java.awt.dnd.InvalidDnDOperationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • DND from JTree to JTable
    via by Yahya Elyasse,
  • Drag & Drop, invalidDnDException, totally urgent.
    via by Unknown author,
    • java.awt.dnd.InvalidDnDOperationException: Cannot find top-level for the drag source component at sun.awt.X11.XDragSourceContextPeer.startDrag(XDragSourceContextPeer.java:105) at sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPeer.java:111) at java.awt.dnd.DragSource.startDrag(DragSource.java:306) at java.awt.dnd.DragSource.startDrag(DragSource.java:403) at treetable.TreeDragSource.dragGestureRecognized(TreeDragSource.java:67) at java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:339) at sun.awt.X11.XMouseDragGestureRecognizer.mouseDragged(XMouseDragGestureRecognizer.java:202) at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:262) at java.awt.Component.processMouseMotionEvent(Component.java:5536) at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3144) at java.awt.Component.processEvent(Component.java:5257) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at javax.swing.plaf.basic.BasicTableUI$Handler.repostEvent(BasicTableUI.java:900) at javax.swing.plaf.basic.BasicTableUI$Handler.mouseDraggedImpl(BasicTableUI.java:1044) at javax.swing.plaf.basic.BasicTableUI$Handler.mouseDragged(BasicTableUI.java:1040) at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:262) at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:261) at java.awt.Component.processMouseMotionEvent(Component.java:5536) at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3144) at java.awt.Component.processEvent(Component.java:5257) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3909) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Users with the same issue

    Unknown visitor2 times, last one,