Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4407346

Merlinb48: InvalidDnDOperationException in Stylepad on Sol2.6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • client-libs
    • sparc
    • solaris_2.6

      An InvalidDnDOperationException occured when i tried to drag some text in Stylepad demo on Sol2.6.

      Steps to reproduce:
      1) Launch Stylepad demo from jdk1.4.0/demo/jfc/Stylepad.
      2) Select some text from the Stylepad window and drag it.
      The following exception occurs:


      java.awt.dnd.InvalidDnDOperationException: failed to create native peer
              at sun.awt.motif.MDragSourceContextPeer.startDrag(MDragSourceContextPeer.java:84)
              at sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPeer.java:97)
              at java.awt.dnd.DragSource.startDrag(DragSource.java:294)
              at java.awt.dnd.DragSource.startDrag(DragSource.java:391)
              at java.awt.dnd.DragGestureEvent.startDrag(DragGestureEvent.java:187)
              at javax.swing.TransferHandler$DragHandler.dragGestureRecognized(TransferHandler.java:611)
              at java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:335)
              at javax.swing.TransferHandler$SwingDragGestureRecognizer.gestured(TransferHandler.java:679)
              at javax.swing.TransferHandler.exportAsDrag(TransferHandler.java:132)
              at javax.swing.plaf.basic.BasicDragGestureRecognizer.mouseDragged(BasicDragGestureRecognizer.java:47)
              at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:260)
              at java.awt.Component.processMouseMotionEvent(Component.java:4905)
              at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2640)
              at java.awt.Component.processEvent(Component.java:4691)
              at java.awt.Container.processEvent(Container.java:1299)
              at java.awt.Component.dispatchEventImpl(Component.java:3459)
              at java.awt.Container.dispatchEventImpl(Container.java:1361)
              at java.awt.Component.dispatchEvent(Component.java:3326)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3146)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2888)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2824)
              at java.awt.Container.dispatchEventImpl(Container.java:1335)
              at java.awt.Window.dispatchEventImpl(Window.java:1250)
              at java.awt.Component.dispatchEvent(Component.java:3326)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      java.awt.dnd.InvalidDnDOperationException: failed to create native peer
              at sun.awt.motif.MDragSourceContextPeer.startDrag(MDragSourceContextPeer.java:84)
              at sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPeer.java:97)
              at java.awt.dnd.DragSource.startDrag(DragSource.java:294)
              at java.awt.dnd.DragSource.startDrag(DragSource.java:391)
              at java.awt.dnd.DragGestureEvent.startDrag(DragGestureEvent.java:187)
              at javax.swing.TransferHandler$DragHandler.dragGestureRecognized(TransferHandler.java:611)
              at java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:335)
              at javax.swing.TransferHandler$SwingDragGestureRecognizer.gestured(TransferHandler.java:679)
              at javax.swing.TransferHandler.exportAsDrag(TransferHandler.java:132)
              at javax.swing.plaf.basic.BasicDragGestureRecognizer.mouseDragged(BasicDragGestureRecognizer.java:47)
              at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:260)
              at java.awt.Component.processMouseMotionEvent(Component.java:4905)
              at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2640)
              at java.awt.Component.processEvent(Component.java:4691)
              at java.awt.Container.processEvent(Container.java:1299)
              at java.awt.Component.dispatchEventImpl(Component.java:3459)
              at java.awt.Container.dispatchEventImpl(Container.java:1361)
              at java.awt.Component.dispatchEvent(Component.java:3326)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3146)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2888)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2824)
              at java.awt.Container.dispatchEventImpl(Container.java:1335)
              at java.awt.Window.dispatchEventImpl(Window.java:1250)
              at java.awt.Component.dispatchEvent(Component.java:3326)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      java.awt.dnd.InvalidDnDOperationException: failed to create native peer
              at sun.awt.motif.MDragSourceContextPeer.startDrag(MDragSourceContextPeer.java:84)
              at sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPeer.java:97)
              at java.awt.dnd.DragSource.startDrag(DragSource.java:294)
              at java.awt.dnd.DragSource.startDrag(DragSource.java:391)
              at java.awt.dnd.DragGestureEvent.startDrag(DragGestureEvent.java:187)
              at javax.swing.TransferHandler$DragHandler.dragGestureRecognized(TransferHandler.java:611)
              at java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:335)
              at javax.swing.TransferHandler$SwingDragGestureRecognizer.gestured(TransferHandler.java:679)
              at javax.swing.TransferHandler.exportAsDrag(TransferHandler.java:132)
              at javax.swing.plaf.basic.BasicDragGestureRecognizer.mouseDragged(BasicDragGestureRecognizer.java:47)
              at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:260)
              at java.awt.Component.processMouseMotionEvent(Component.java:4905)
              at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2640)
              at java.awt.Component.processEvent(Component.java:4691)
              at java.awt.Container.processEvent(Container.java:1299)
              at java.awt.Component.dispatchEventImpl(Component.java:3459)
              at java.awt.Container.dispatchEventImpl(Container.java:1361)
              at java.awt.Component.dispatchEvent(Component.java:3326)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3146)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2888)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2824)
              at java.awt.Container.dispatchEventImpl(Container.java:1335)
              at java.awt.Window.dispatchEventImpl(Window.java:1250)
              at java.awt.Component.dispatchEvent(Component.java:3326)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      java.awt.dnd.InvalidDnDOperationException: failed to create native peer
              at sun.awt.motif.MDragSourceContextPeer.startDrag(MDragSourceContextPeer.java:84)
              at sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPeer.java:97)
              at java.awt.dnd.DragSource.startDrag(DragSource.java:294)
              at java.awt.dnd.DragSource.startDrag(DragSource.java:391)
              at java.awt.dnd.DragGestureEvent.startDrag(DragGestureEvent.java:187)
              at javax.swing.TransferHandler$DragHandler.dragGestureRecognized(TransferHandler.java:611)
              at java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:335)
              at javax.swing.TransferHandler$SwingDragGestureRecognizer.gestured(TransferHandler.java:679)
              at javax.swing.TransferHandler.exportAsDrag(TransferHandler.java:132)
              at javax.swing.plaf.basic.BasicDragGestureRecognizer.mouseDragged(BasicDragGestureRecognizer.java:47)
              at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:260)
              at java.awt.Component.processMouseMotionEvent(Component.java:4905)
              at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2640)
              at java.awt.Component.processEvent(Component.java:4691)
              at java.awt.Container.processEvent(Container.java:1299)
              at java.awt.Component.dispatchEventImpl(Component.java:3459)
              at java.awt.Container.dispatchEventImpl(Container.java:1361)
              at java.awt.Component.dispatchEvent(Component.java:3326)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3146)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2888)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2824)
              at java.awt.Container.dispatchEventImpl(Container.java:1335)
              at java.awt.Window.dispatchEventImpl(Window.java:1250)
              at java.awt.Component.dispatchEvent(Component.java:3326)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      java.awt.dnd.InvalidDnDOperationException: failed to create native peer
              at sun.awt.motif.MDragSourceContextPeer.startDrag(MDragSourceContextPeer.java:84)
              at sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPeer.java:97)
              at java.awt.dnd.DragSource.startDrag(DragSource.java:294)
              at java.awt.dnd.DragSource.startDrag(DragSource.java:391)
              at java.awt.dnd.DragGestureEvent.startDrag(DragGestureEvent.java:187)
              at javax.swing.TransferHandler$DragHandler.dragGestureRecognized(TransferHandler.java:611)
              at java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:335)
              at javax.swing.TransferHandler$SwingDragGestureRecognizer.gestured(TransferHandler.java:679)
              at javax.swing.TransferHandler.exportAsDrag(TransferHandler.java:132)
              at javax.swing.plaf.basic.BasicDragGestureRecognizer.mouseDragged(BasicDragGestureRecognizer.java:47)
              at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:260)
              at java.awt.Component.processMouseMotionEvent(Component.java:4905)
              at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2640)
              at java.awt.Component.processEvent(Component.java:4691)
              at java.awt.Container.processEvent(Container.java:1299)
              at java.awt.Component.dispatchEventImpl(Component.java:3459)
              at java.awt.Container.dispatchEventImpl(Container.java:1361)
              at java.awt.Component.dispatchEvent(Component.java:3326)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3146)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2888)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2824)
              at java.awt.Container.dispatchEventImpl(Container.java:1335)
              at java.awt.Window.dispatchEventImpl(Window.java:1250)
              at java.awt.Component.dispatchEvent(Component.java:3326)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
              


      ruchika.mehdiratta@Eng 2001-01-23

            dmendenhsunw David Mendenhall (Inactive)
            rmehdirasunw Ruchika Mehdiratta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: