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 - Every D'n'D in editor throws NPE
Summary: Every D'n'D in editor throws NPE
Status: VERIFIED DUPLICATE of bug 82142
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-26 13:11 UTC by Lukas Jungmann
Modified: 2007-11-05 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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