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 219167 - NullPointerException at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection
Summary: NullPointerException at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSele...
Status: RESOLVED DUPLICATE of bug 126170
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-28 09:14 UTC by ytn01
Modified: 2012-09-29 07:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 192742


Attachments
stacktrace (2.98 KB, text/plain)
2012-09-28 09:14 UTC, ytn01
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ytn01 2012-09-28 09:14:49 UTC
Build: NetBeans IDE 7.3 Beta (Build 201209232010)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.10-b01-428, Java(TM) SE Runtime Environment, 1.6.0_35-b10-428-11M3811
OS: Mac OS X

User Comments:
ytn01: Opened an existing JFrame form file from a project, the form previously had 2 JButtons & 2 JLabels.
Pressed ctrl+A, selecting all components & pressed "delete",... (this didn't delete anything because the base JFrame was also selected, and is undeletable)
Selected the 2buttons & 2labels via mouse drag & pressed "delete" key,... they were deleted
Dragged a JMenuBar from the pallete to area outside of the form (white space),.... MenuBar was added to "Other components" of the form
Tried to drag the JMenuBar from "Other Components" area to the Form Designer,... nothing happened,
Dragged the JMenuBar from "Other Components" area to the JFrame node of the Navigator window,... MenuBar become subnode of JFrame

and exception got thrown.

GUEST: Acabei de abrir o NETBEANS e ele fica consumindo muito processamento e rede, fica muito ruim trabalhar




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3504)
   at javax.swing.plaf.basic.BasicTreeUI$Handler.mouseReleasedDND(BasicTreeUI.java:3574)
   at javax.swing.plaf.basic.BasicTreeUI$Handler.mouseReleased(BasicTreeUI.java:3562)
   at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
   at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
   at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
Comment 1 ytn01 2012-09-28 09:14:55 UTC
Created attachment 125059 [details]
stacktrace
Comment 2 Marian Mirilovic 2012-09-29 07:10:48 UTC
JDK bug fixed in JDK 7u4

*** This bug has been marked as a duplicate of bug 126170 ***