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 96574

Summary: Every D'n'D in editor throws NPE
Product: editor Reporter: Lukas Jungmann <jungi>
Component: -- Other --Assignee: issues@editor <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker CC: ehucka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Lukas Jungmann 2007-02-26 13:11:18 UTC
when D'n'Ding ws operation from project logical view to the editor following
exception is being thrown:

WARNING [sun.awt.X11.XToolkit]: Exception on Toolkit thread
java.lang.NullPointerException
        at sun.awt.X11.XSelection.checkChange(XSelection.java:749)
        at sun.awt.X11.XSelection.access$200(XSelection.java:30)
        at
sun.awt.X11.XSelection$SelectionEventHandler.dispatchEvent(XSelection.java:758)
        at sun.awt.X11.XToolkit.dispatchEvent(XToolkit.java:482)
[catch] at sun.awt.X11.XToolkit.run(XToolkit.java:626)
        at sun.awt.X11.XToolkit.run(XToolkit.java:560)
        at java.lang.Thread.run(Thread.java:619)

Note: seems to be reproducible only on *nix platform
Comment 1 ehucka 2007-04-04 09:45:42 UTC
Every dnd operation in editor throws the NPE. It seems the operation is not
resolved correctly or it is the bug in jdk anyway the exception should not be
visible.
Comment 2 Jiri Prox 2007-04-04 10:56:06 UTC
It's bug in JDK 

*** This issue has been marked as a duplicate of 82142 ***
Comment 3 Lukas Jungmann 2007-05-01 13:00:24 UTC
v. dup