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.
Java(TM) SE Runtime Environment (build 1.6.0_01-b06) Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing) NB VWP 6.0 build #070516 OS: Linux Ubuntu 1. Create a new VWP project, open Page1. 2. DnD any components (Button, etc.) from the palette "Basic" of the window "Palette" on the tree subnode "Page1" of the window "Navigator". Result: - the dialog "Warning" with a message "A java.lang.NullPointerException exception has occured..." will appear. - the messages.log will contain: 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) On WinXP there is no trouble with this scenario.
Peter, Since you are linux, can you try to reproduce this with the recent builds ? Thanks
Yes, it is there, and it is now well-known, unix jdk issue. *** This issue has been marked as a duplicate of 82142 ***
A duplicate of http://www.netbeans.org/issues/show_bug.cgi?id=82142