This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 216473 - AssertionError at javafx.embed.swing.SwingDnD.getDragSource
Summary: AssertionError at javafx.embed.swing.SwingDnD.getDragSource
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Embedded Browser (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
: 225110 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-07 08:10 UTC by Vladimir Riha
Modified: 2013-01-21 09:55 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191337


Attachments
stacktrace (3.82 KB, text/plain)
2012-08-07 08:10 UTC, Vladimir Riha
Details
stacktrace (3.61 KB, text/plain)
2012-09-17 07:20 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-08-07 08:10:20 UTC
Build: NetBeans IDE Dev (Build EaselCSS-449-on-20120806)
VM: Java HotSpot(TM) Client VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-ea-b20
OS: Linux

User Comments:
vriha: Drag & Drop selected text in JavaFX browser to Projects window




Stacktrace: 
java.lang.AssertionError
   at javafx.embed.swing.SwingDnD.getDragSource(SwingDnD.java:307)
   at javafx.embed.swing.SwingDnD.access$500(SwingDnD.java:71)
   at javafx.embed.swing.SwingDnD$DnDTransferable.isDataFlavorSupported(SwingDnD.java:459)
   at sun.awt.dnd.SunDropTargetContextPeer.isDataFlavorSupported(SunDropTargetContextPeer.java:208)
   at sun.awt.datatransfer.TransferableProxy.isDataFlavorSupported(TransferableProxy.java:68)
   at java.awt.dnd.DropTargetContext$TransferableProxy.isDataFlavorSupported(DropTargetContext.java:355)
Comment 1 Vladimir Riha 2012-08-07 08:10:22 UTC
Created attachment 122821 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-08-07 12:46:19 UTC
Something related to JavaFX, possibly an embedded browser. I am not sure what is the right component to dispatch to, but Standa will imho know.
Comment 3 Stanislav Aubrecht 2012-08-15 11:05:58 UTC
Works for me in 

Product Version: NetBeans IDE Dev (Build 20120813-b908ecba8fb8)
Java: 1.7.0_06; Java HotSpot(TM) 64-Bit Server VM 23.2-b09
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 4 Vladimir Riha 2012-08-15 12:20:40 UTC
I'm sorry, I should be more precise, it happens with JavaFX embedded browser (the one used in Easel). With this one it is reproducible.

I also I tried it with JavaFX sample application WebViewBrowser where it works.

Product Version: NetBeans IDE Dev (Build EaselCSS-497-on-20120814)
Java: 1.7.0_06; Java HotSpot(TM) Client VM 23.2-b09
System: Linux version 3.0.0-23-generic-pae running on i386; UTF-8; en_US (nb)
Comment 5 Stanislav Aubrecht 2012-08-15 16:02:25 UTC
WebViewBrowser sample application does not embed JavaFX into Swing hierarchy so it naturally cannot reproduce this problem...
Comment 6 Stanislav Aubrecht 2012-09-13 13:42:04 UTC
Should be fixed in JavaFX 2.2.2, please reopen if still reproducible.
Comment 7 Vladimir Riha 2012-09-17 07:20:15 UTC
Created attachment 124424 [details]
stacktrace

new stacktrace for issue 216473
Comment 8 Vladimir Riha 2012-09-17 07:26:53 UTC
reproduced with

javafx.version = 2.2.4-ea
javafx.runtime.version = 2.2.4-ea-b07
Comment 9 Antonin Nebuzelsky 2012-09-25 13:15:35 UTC
Stando, file to javafx-jira.kenai.com as with other bugs you did.
Comment 10 Stanislav Aubrecht 2012-10-15 12:31:47 UTC
http://javafx-jira.kenai.com/browse/RT-25673
Comment 11 Stanislav Aubrecht 2013-01-21 09:55:03 UTC
*** Bug 225110 has been marked as a duplicate of this bug. ***