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 216251

Summary: NullPointerException at javafx.embed.swing.SwingDnD$2.dragDropEnd
Product: platform Reporter: Petr Jiricka <pjiricka>
Component: JDK ProblemsAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED WONTFIX    
Severity: normal CC: alesak, anebuzelsky, exceptions_reporter, harrison3001, JanGen, javydreamercsw, jskrivanek, liszi, mmirilovic, sreimers, sunbiz, tomoke
Priority: P2    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 191212
Attachments: stacktrace
stacktrace

Description Petr Jiricka 2012-08-01 11:52:17 UTC
Build: NetBeans IDE Dev (Build EaselCSS-406-on-20120801)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b04, Java(TM) SE Runtime Environment, 1.7.0_06-ea-b13
OS: Mac OS X

User Comments:
pjiricka: Drag and drop jpg file to editor area.




Stacktrace: 
java.lang.NullPointerException
   at javafx.embed.swing.SwingDnD$2.dragDropEnd(SwingDnD.java:119)
   at java.awt.dnd.DnDEventMulticaster.dragDropEnd(DnDEventMulticaster.java:110)
   at java.awt.dnd.DragSource.processDragDropEnd(DragSource.java:769)
   at java.awt.dnd.DragSourceContext.dragDropEnd(DragSourceContext.java:437)
   at sun.awt.dnd.SunDragSourceContextPeer$EventDispatcher.run(SunDragSourceContextPeer.java:491)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
Comment 1 Petr Jiricka 2012-08-01 11:52:20 UTC
Created attachment 122633 [details]
stacktrace
Comment 2 Petr Jiricka 2012-08-01 12:00:30 UTC
I was also using JavaFX 2.2 b19. Note that after I got this exception, the IDE stopped responding after a while, and processor usage went to 100%. I could not even generate a thread dump. 
Changing priority to P2.

Though I am using non-final builds of JDK and JavaFX - could that be a problem?
Comment 3 Stanislav Aubrecht 2012-08-01 12:49:31 UTC
This problem isn't related to WebView, it's reproducible with an empty JavaFXPanel.
Comment 4 Stanislav Aubrecht 2012-08-01 12:50:23 UTC
Btw, also reproduced in:

Product Version: NetBeans IDE Dev (Build 20120726-0742b011f9df)
Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09
System: Windows 7 version 6.1 running on amd64; Cp1250; cs_CZ (n
Comment 5 Stanislav Aubrecht 2012-08-01 13:53:30 UTC
*** Bug 216186 has been marked as a duplicate of this bug. ***
Comment 6 Jiri Skrivanek 2012-08-13 08:45:47 UTC
Created attachment 123028 [details]
stacktrace

To reproduce:
- open new project wizard
- choose "HTML/JavaScript|HTML Application"
- finish wizard with defaults
- create new html file in created project
- drag html file in projects view and drop it at the same position
Comment 7 Exceptions Reporter 2012-08-14 15:00:49 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=191212
Comment 8 ixmal 2012-08-24 10:38:19 UTC
It's been fixed in FX in 3.0 and also backported to 2.2.2 - see RT-21836 for details.
Comment 9 Antonin Nebuzelsky 2012-09-10 11:44:18 UTC
Stando, can you verify?
Comment 10 Stanislav Aubrecht 2012-09-10 14:44:29 UTC
Verified in Product Version: NetBeans IDE Dev (Build 20120910-e98acef88a82)Java: 1.6.0_23
Comment 11 Marian Mirilovic 2012-09-23 09:09:24 UTC
*** Bug 218773 has been marked as a duplicate of this bug. ***
Comment 12 Marian Mirilovic 2012-09-29 07:05:43 UTC
*** Bug 219208 has been marked as a duplicate of this bug. ***
Comment 13 Marian Mirilovic 2012-09-29 08:45:00 UTC
*** Bug 219029 has been marked as a duplicate of this bug. ***
Comment 14 Marian Mirilovic 2012-10-08 09:24:56 UTC
*** Bug 219614 has been marked as a duplicate of this bug. ***
Comment 15 Marian Mirilovic 2012-10-19 11:49:49 UTC
*** Bug 220386 has been marked as a duplicate of this bug. ***
Comment 16 Marian Mirilovic 2012-10-23 12:48:31 UTC
*** Bug 220645 has been marked as a duplicate of this bug. ***
Comment 17 Marian Mirilovic 2012-10-24 09:33:24 UTC
*** Bug 220724 has been marked as a duplicate of this bug. ***
Comment 18 Marian Mirilovic 2012-10-25 12:11:38 UTC
*** Bug 220802 has been marked as a duplicate of this bug. ***
Comment 19 Marian Mirilovic 2012-10-26 05:20:35 UTC
*** Bug 220844 has been marked as a duplicate of this bug. ***
Comment 20 Marian Mirilovic 2012-11-07 07:57:53 UTC
*** Bug 221551 has been marked as a duplicate of this bug. ***
Comment 21 Marian Mirilovic 2012-11-07 07:58:06 UTC
*** Bug 221548 has been marked as a duplicate of this bug. ***