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 9124 - NullPointerException when opening editor options.
Summary: NullPointerException when opening editor options.
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 major (vote)
Assignee: issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-01-17 09:20 UTC by Jan Lahoda
Modified: 2003-07-01 14:20 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 Lahoda 2001-01-17 09:20:54 UTC
Open editor options and this exception is thrown:\

Wed Jan 17 10:09:55 CET 2001java.lang.reflect.InvocationTargetException: Bad
method: org.netbeans.modules.properties.syntax.PropertiesOptions.getName
Bad method: org.netbeans.modules.properties.syntax.PropertiesOptions.getName
java.lang.reflect.InvocationTargetException: java.util.MissingResourceException:
Can't find resource for bundle java.util.PropertyResourceBundle, key
OPTIONS_properties
        at java.util.ResourceBundle.getObject(ResourceBundle.java:382)
        at java.util.ResourceBundle.getString(ResourceBundle.java:354)
        at
org.netbeans.modules.editor.options.OptionSupport.getString(OptionSupport.java:174)
        at
org.netbeans.modules.properties.syntax.PropertiesOptions.getString(PropertiesOptions.java:59)
        at
org.netbeans.modules.editor.options.OptionSupport.displayName(OptionSupport.java:82)
        at org.openide.options.SystemOption.getName(SystemOption.java:277)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.openide.nodes.BeanNode.registerName(BeanNode.java:576)
        at org.openide.nodes.BeanNode.initialization(BeanNode.java:473)
        at org.openide.nodes.BeanNode.<init>(BeanNode.java:132)
        at
org.netbeans.core.ControlPanelNode$ControlPanelItemNode.<init>(ControlPanelNode.java:153)
        at
org.netbeans.core.ControlPanelNode$1.createNode(ControlPanelNode.java:162)
        at org.openide.nodes.BeanChildren.createNodes(BeanChildren.java:83)
        at org.openide.nodes.Children$Keys$KE.nodes(Children.java:1713)
        at org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:125)
        at org.openide.nodes.Children$Info.nodes(Children.java:880)
        at org.openide.nodes.Children.updateAdd(Children.java:688)
        at org.openide.nodes.Children.setEntries(Children.java:480)
        at org.openide.nodes.Children$20.run(Children.java:1632)
        at org.openide.util.Mutex.leave(Mutex.java:552)
        at org.openide.util.Mutex.readAccess(Mutex.java:153)
        at
org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:139)
        at
org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:170)
        at
javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:163)
        at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1412)
        at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1221)
        at
javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(VariableHeightLayoutCache.java:917)
        at
javax.swing.tree.VariableHeightLayoutCache.setExpandedState(VariableHeightLayoutCache.java:162)
        at
javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1428)
        at
javax.swing.plaf.basic.BasicTreeUI$TreeExpansionHandler.treeExpanded(BasicTreeUI.java:2239)
        at javax.swing.JTree.fireTreeExpanded(JTree.java:2114)
        at javax.swing.JTree.setExpandedState(JTree.java:2794)
        at javax.swing.JTree.expandPath(JTree.java:1646)
        at
javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2022)
        at
javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(BasicTreeUI.java:2009)
        at
javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(BasicTreeUI.java:1963)
        at
javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed(BasicTreeUI.java:2674)
        at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:220)
        at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:220)
        at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:220)
        at java.awt.Component.processMouseEvent(Component.java:3712)
        at java.awt.Component.processEvent(Component.java:3544)
        at java.awt.Container.processEvent(Container.java:1165)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1214)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2452)
[catch] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2211)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2126)
        at java.awt.Container.dispatchEventImpl(Container.java:1201)
        at java.awt.Window.dispatchEventImpl(Window.java:912)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:333)
        at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 1 Peter Zavadsky 2001-01-18 14:02:59 UTC
Fixed in [man-trunk].
Comment 2 vnemec 2001-01-23 13:45:59 UTC
verified in [main trunk](dev109)
Comment 3 Quality Engineering 2003-07-01 14:20:27 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.