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

Drag and drop in SwingInterop demo produces exceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • Java 7 Update 6, Linux KDE 4

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: