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

Mac DnD: IllegalArgumentException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 7u6
    • Component/s: javafx

      Description

      When we dragged an image file into Scene builder running on Mac, it worked on:
          System Version: Mac OS X 10.6.8 (10K549)

      but got an exception on:
         Software Mac OS X Lion 10.7.4 (11E53)

      Glass detected outstanding Java exception at -[GlassViewDelegate sendJavaDndEvent:type:]:src/com/sun/mat/ui/GlassViewDelegate.m:873
      Exception in thread "JavaFX Application Thread" java.lang.IllegalArgumentException: PrismEventUtils.convertToTransferMode: bad drop action: 4fffffff
         at com.sun.javafx.tk.quantum.PrismEventUtils.convertToTransferMode(PrismEventUtils.java:193)
         at com.sun.javafx.tk.quantum.PrismEventUtils.glassDragEventToFX(PrismEventUtils.java:147)
         at com.sun.javafx.tk.quantum.PrismEventUtils.glassDropTargetEventToFX(PrismEventUtils.java:172)
         at com.sun.javafx.tk.quantum.QuantumToolkit.convertDropTargetEventToFX(QuantumToolkit.java:1145)
         at javafx.scene.Scene$DropTargetListener.dragEnter(Scene.java:2503)
         at com.sun.javafx.tk.quantum.GlassSceneDnDEventHandler.handleDragEnter(GlassSceneDnDEventHandler.java:60)
         at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleDragEnter(GlassViewEventHandler.java:376)
         at com.sun.glass.ui.View.handleDragEnter(View.java:691)
         at com.sun.glass.ui.View.notifyDragEnter(View.java:1004)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gziemski Gerard Ziemski
                Reporter:
                sjiang Shanliang Jiang (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: