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

Drag and drop in SwingInterop demo produces exceptions

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7u6
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      Java 7 Update 6, Linux KDE 4

      Description

      In the SwingInterop demo, select some text in a web page in the Web Browser tab and the following exception is thrown:

      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
              at javafx.embed.swing.SwingDnD$2.dragDropEnd(SwingDnD.java:119)

      Subsequent attempts to drag and drop text also result in a second exception:

      java.lang.IllegalArgumentException: Key already associated with a running event loop: java.lang.Object@37e02b65
              at com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:514)

      See the attached file for the complete exceptions.

      The issue I filed at RT-24664 is similar.

        Attachments

          Activity

            People

            • Assignee:
              azvegint Alexander Zvegintsev (Inactive)
              Reporter:
              mcdevjfx mcdev1 (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: