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

DnD of Text from native to JVM crashed application on Solaris 2.7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 1.3.0
    • client-libs
    • sparc
    • solaris_7

      This is the DnD Quick Look testing on "W" build.

      1. Crashes only on solaris2.7. Does not crash on Win NT or Solaris2.6.
      2. Crashes only with AWT component. Does not happen with Swing JTextArea
      component.
      3. Crashes when you try to dnd multiple lines of text. But, works fine for
      single lines of text.

      TestCase Location : /net/sqesvr/export/dnd/Kestrel_dnd_ws/DnDQLKestrel

      Run this TestCase and select the AWT TextField testing.
      Drag-n-Drop multiple lines of text from Native to the TextField.

      Occuring in Merlin Beta - 26 as well.

      Previous error displayed :

      Application Crashes and the following error is displayed

      # # An unexpected exception has been detected in native code outside the VM.# Program counter=0xff2b6c74
      #
      # Problematic Thread: prio=6 tid=0x15f800 nid=0x11 runnable
      #


      Following are some messages :

      #
      # An unexpected exception has been detected in native code outside the VM.
      # Program counter=0xff2b6c74
      #


      Trace dump shows once.

      [Target] Selected data flavor:
          text/plain; class=java.io.InputStream; charset=iso8859-1
      java.io.IOException: class java.io.IOException:no native data was transferred caught
       while getting Data
              at java.awt.dnd.DropTargetContext$TransferableProxy.getTransferData(DropTarg
      etContext.java:344)
              at java.awt.datatransfer.DataFlavor.getReaderForText(DataFlavor.java:490)
              at dndTextFieldTarget.drop(dndTextFieldTarget.java:151)
              at java.awt.dnd.DropTarget.drop(DropTarget.java:374)
              at sun.awt.motif.MDropTargetContextPeerDispatcher.run(MDropTargetContextPeer
      .java:1024)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:317)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
      class java.io.IOException:no native data was transferred caught while getting Data


            dmendenhsunw David Mendenhall (Inactive)
            bylin Bing Lin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: