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 2299 - Instantiate a JItnternal frame corrupts Templates
Summary: Instantiate a JItnternal frame corrupts Templates
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: _ ttran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-06-25 23:58 UTC by Jan Palka
Modified: 2002-07-19 15:19 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 Jan Palka 1999-06-25 23:58:31 UTC
1) create a new FormObject from the JItnernalFrame template
2) Look at Templates menu ( right click over a package and invoke New From Template ...
the menu is corrupted

java.lang.NullPointerException:
	at java.util.Hashtable.remove(Hashtable.java:422)
	at javax.swing.JMenu.remove(JMenu.java:583)
	at org.openide.explorer.view.MenuView$1.run(MenuView.java:279)
	at org.openide.util.Mutex.doEventAccess(Mutex.java:480)
	at org.openide.util.Mutex.doReadAccess(Mutex.java:165)
	at org.openide.util.Mutex.readAccess(Mutex.java:104)
	at org.openide.explorer.view.MenuView$Menu.nodesChanged(MenuView.java:242)
	at org.openide.explorer.view.MenuView$Menu.access$4(MenuView.java:241)
	at org.openide.explorer.view.MenuView$Menu$Listener.childrenAdded(MenuView.java:306)
	at org.openide.util.WeakListener$Node.childrenAdded(WeakListener.java:365)
	at org.openide.nodes.Node.fireSubNodesChange(Node.java:495)

	at org.openide.nodes.Children$2.run(Children.java:239)
	at org.openide.util.Mutex.doEvent(Mutex.java:455)
	at org.openide.util.Mutex.writeAccess(Mutex.java:240)
	at org.openide.nodes.Children.add(Children.java:183)
	at org.openide.nodes.Children$1$Updator.run(Children.java:1269)
	at org.openide.util.Mutex.doEvent(Mutex.java:455)
	at org.openide.util.Mutex.writeAccess(Mutex.java:240)
	at org.openide.nodes.Children$Keys.setKeys(Children.java:1302)
	at org.openide.nodes.Children$Keys.setKeys(Children.java:1311)
	at org.openide.nodes.FilterNode$Children.updateKeys(FilterNode.java:703)
	at org.openide.nodes.FilterNode$Children.filterChildrenAdded(FilterNode.java:674)
	at org.openide.nodes.FilterNode$ChildrenAdapter.childrenAdded(FilterNode.java:741)
	at org.openide.nodes.Node.fireSubNodesChange(Node.java:495)
	at org.openide.nodes.Children$2.run(Children.java:239)
	at org.openide.util.Mutex.doEvent(Mutex.java:455)
	at org.openide.util.Mutex.writeAccess(Mutex.java:240)
	at org.openide.nodes.Children.add(Children.java:183)
	at org.openide.nodes.Children$1
Comment 1 Marek Grummich 2000-07-25 09:39:59 UTC
Priority is changed to P4 (normal).
Comment 2 Jan Stola 2000-07-27 17:53:59 UTC
Bug assigned to the module owner.