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 77516

Summary: NPE after drag&drop of text in java editor
Product: editor Reporter: ehucka <ehucka>
Component: -- Other --Assignee: issues@editor <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description ehucka 2006-06-07 12:45:42 UTC
linux FC 5, gnome 2, jdk 1.5.0_07

Always after drag&drop of text in editor ide throws the exception into console:


INFO [stderr]: Exception on Toolkit thread: java.lang.NullPointerException
INFO [stderr]: java.lang.NullPointerException
INFO [stderr]:  at sun.awt.X11.XSelection.checkChange(XSelection.java:701)
INFO [stderr]:  at sun.awt.X11.XSelection.access$200(XSelection.java:28)
INFO [stderr]:  at
sun.awt.X11.XSelection$SelectionEventHandler.dispatchEvent(XSelection.java:710)
INFO [stderr]:  at sun.awt.X11.XToolkit.dispatchEvent(XToolkit.java:408)
INFO [stderr]:  at sun.awt.X11.XToolkit.run(XToolkit.java:493)
INFO [stderr]:  at sun.awt.X11.XToolkit.run(XToolkit.java:438)
INFO [stderr]:  at java.lang.Thread.run(Thread.java:595)
Comment 1 Jiri Prox 2006-06-26 16:29:29 UTC
Reproducible also when drag&drop files in project view with slightly different
stacktrace:

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)
	at sun.awt.X11.XToolkit.run(XToolkit.java:626)
	at sun.awt.X11.XToolkit.run(XToolkit.java:560)
[catch] at java.lang.Thread.run(Thread.java:619)
Comment 2 Miloslav Metelka 2006-06-26 16:53:29 UTC
This is a JDK problem reported as
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6182905
Closing as invalid here.
Comment 3 ehucka 2006-07-26 13:33:08 UTC
verified
Comment 4 ehucka 2007-04-25 20:46:49 UTC
I think we would not release with this issue. Is it possible to make some hack
in ide? 
How can users believe to ide when it throws exceptions after such simple thing
like drag&drop? :)
Comment 5 Marian Mirilovic 2007-04-28 20:41:49 UTC
reopen
Comment 6 Marian Mirilovic 2007-04-28 20:42:06 UTC

*** This issue has been marked as a duplicate of 82142 ***
Comment 7 ehucka 2007-06-06 12:12:12 UTC
verified