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 104428 - Linux: NPE occurs after DnD component on tree subnode "Page1"
Summary: Linux: NPE occurs after DnD component on tree subnode "Page1"
Status: VERIFIED DUPLICATE of bug 82142
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-21 17:33 UTC by _ alexpetrov
Modified: 2007-06-18 13:22 UTC (History)
0 users

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 _ alexpetrov 2007-05-21 17:33:08 UTC
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.
Comment 1 Jayashri Visvanathan 2007-06-15 05:54:41 UTC
Peter, Since you are linux, can you try to reproduce this with the recent builds ? 
Thanks
Comment 2 Peter Zavadsky 2007-06-15 23:41:20 UTC
Yes, it is there, and it is now well-known, unix jdk issue.

*** This issue has been marked as a duplicate of 82142 ***
Comment 3 _ alexpetrov 2007-06-18 13:22:43 UTC
A duplicate of http://www.netbeans.org/issues/show_bug.cgi?id=82142