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 64152 - Openning Options Throws Exception
Summary: Openning Options Throws Exception
Status: VERIFIED DUPLICATE of bug 64184
Alias: None
Product: obsolete
Classification: Unclassified
Component: collab (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 17:07 UTC by wrongway
Modified: 2006-01-27 13:32 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 wrongway 2005-09-12 17:07:33 UTC
I openned the options dialog to change the font and received the following 
excpetion:

Annotation: Missing resource from class: org.openide.util.NbBundle$PBundle
Annotation: Key which was not found: Actions/Collaboration
java.util.MissingResourceException: Can't find resource for bundle 
org.openide.util.NbBundle$PBundle, key Actions/Collaboration
	at java.util.ResourceBundle.getObject(ResourceBundle.java:326)
	at java.util.ResourceBundle.getString(ResourceBundle.java:286)
	at org.netbeans.modules.options.actionsimpl.LayersBridge.initActions
(LayersBridge.java:98)
	at org.netbeans.modules.options.actionsimpl.LayersBridge.getActions
(LayersBridge.java:83)
	at 
org.netbeans.modules.options.actionsimpl.ActionsModelImpl.getActionCategories
(ActionsModelImpl.java:65)
	at org.netbeans.modules.options.keymap.KeymapViewModel.getCategories
(KeymapViewModel.java:148)
	at org.netbeans.modules.options.keymap.KeymapViewModel.getItems
(KeymapViewModel.java:182)
	at org.netbeans.modules.options.keymap.KeymapViewModel.getChildCount
(KeymapViewModel.java:94)
	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand
(VariableHeightLayoutCache.java:1461)
	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand
(VariableHeightLayoutCache.java:1270)
	at javax.swing.tree.VariableHeightLayoutCache.rebuild
(VariableHeightLayoutCache.java:725)
	at javax.swing.tree.VariableHeightLayoutCache.setModel
(VariableHeightLayoutCache.java:91)
	at javax.swing.plaf.basic.BasicTreeUI.setModel(BasicTreeUI.java:390)
	at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange
(BasicTreeUI.java:3326)
	at java.beans.PropertyChangeSupport.firePropertyChange
(PropertyChangeSupport.java:333)
	at java.beans.PropertyChangeSupport.firePropertyChange
(PropertyChangeSupport.java:270)
	at java.awt.Component.firePropertyChange(Component.java:7159)
	at javax.swing.JTree.setModel(JTree.java:710)
	at org.netbeans.modules.options.keymap.KeymapPanel.update
(KeymapPanel.java:229)
	at org.netbeans.modules.options.keymap.KeymapPanelController.update
(KeymapPanelController.java:33)
	at org.netbeans.modules.options.OptionsPanel$1.run
(OptionsPanel.java:226)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:469)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:870)

I have the 11 Sep build.
Comment 1 wrongway 2005-09-13 16:41:17 UTC
I downloaded the 9/12 build and the NDB's.  I openned the options dialog again 
and received this exception:

Annotation: Missing resource from class: org.openide.util.NbBundle$PBundle
Annotation: Key which was not found: Actions/Collaboration
java.util.MissingResourceException: Can't find resource for bundle 
org.openide.util.NbBundle$PBundle, key Actions/Collaboration
	at java.util.ResourceBundle.getObject(ResourceBundle.java:326)
	at java.util.ResourceBundle.getString(ResourceBundle.java:286)
	at org.netbeans.modules.options.actionsimpl.LayersBridge.initActions
(LayersBridge.java:98)
	at org.netbeans.modules.options.actionsimpl.LayersBridge.getActions
(LayersBridge.java:83)
	at 
org.netbeans.modules.options.actionsimpl.ActionsModelImpl.getActionCategories
(ActionsModelImpl.java:65)
	at org.netbeans.modules.options.keymap.KeymapViewModel.getCategories
(KeymapViewModel.java:148)
	at org.netbeans.modules.options.keymap.KeymapViewModel.getItems
(KeymapViewModel.java:182)
	at org.netbeans.modules.options.keymap.KeymapViewModel.getChildCount
(KeymapViewModel.java:94)
	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand
(VariableHeightLayoutCache.java:1461)
	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand
(VariableHeightLayoutCache.java:1270)
	at javax.swing.tree.VariableHeightLayoutCache.rebuild
(VariableHeightLayoutCache.java:725)
	at javax.swing.tree.VariableHeightLayoutCache.setModel
(VariableHeightLayoutCache.java:91)
	at javax.swing.plaf.basic.BasicTreeUI.setModel(BasicTreeUI.java:390)
	at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange
(BasicTreeUI.java:3326)
	at java.beans.PropertyChangeSupport.firePropertyChange
(PropertyChangeSupport.java:333)
	at java.beans.PropertyChangeSupport.firePropertyChange
(PropertyChangeSupport.java:270)
	at java.awt.Component.firePropertyChange(Component.java:7159)
	at javax.swing.JTree.setModel(JTree.java:710)
	at org.netbeans.modules.options.keymap.KeymapPanel.update
(KeymapPanel.java:229)
	at org.netbeans.modules.options.keymap.KeymapPanelController.update
(KeymapPanelController.java:33)
	at org.netbeans.modules.options.OptionsPanel$1.run
(OptionsPanel.java:226)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:469)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:870)
Comment 2 wrongway 2005-09-13 16:43:28 UTC
BTW, I can still access the dialog after clicking "OK"

I think this is a "First Time" case.  When you close the dialog and reopen it 
works fine.  Look at the initialization after installing.
Comment 3 Jan Jancura 2005-10-05 22:21:58 UTC
i will 
Comment 4 Petr Nejedly 2005-11-23 08:26:00 UTC

*** This issue has been marked as a duplicate of 64184 ***
Comment 5 Marian Mirilovic 2006-01-27 13:32:44 UTC
verified duplicate