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 198841 - Exception in Highlighting tab
Summary: Exception in Highlighting tab
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 07:11 UTC by soldatov
Modified: 2011-05-24 08:21 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 soldatov 2011-05-24 07:11:45 UTC
latest Oracle Solaris Studio build (nightly build)

Scenario:
- Push Tools|Options
- Click on C/C++ icon
- Activate Highlighting tab
===>

org.netbeans.modules.cnd.highlight.semantic.options.SemanticHighlightingOptionsPanelController from OptionsDialog/CPlusPlus/HighlightingTab.instance
java.util.MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key Show-Previse Warnings and Errors-mnemonic
	at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
	at java.util.ResourceBundle.getString(ResourceBundle.java:334)
	at org.openide.util.NbBundle.getMessage(NbBundle.java:642)
	at org.netbeans.modules.cnd.highlight.semantic.options.SemanticHighlightingOptionsPanel.getString(SemanticHighlightingOptionsPanel.java:289)
	at org.netbeans.modules.cnd.highlight.semantic.options.SemanticHighlightingOptionsPanel.addEntity(SemanticHighlightingOptionsPanel.java:151)
	at org.netbeans.modules.cnd.highlight.semantic.options.SemanticHighlightingOptionsPanel.initGeneratedComponents(SemanticHighlightingOptionsPanel.java:167)
	at org.netbeans.modules.cnd.highlight.semantic.options.SemanticHighlightingOptionsPanel.<init>(SemanticHighlightingOptionsPanel.java:72)
	at org.netbeans.modules.cnd.highlight.semantic.options.SemanticHighlightingOptionsPanelController.<init>(SemanticHighlightingOptionsPanelController.java:64)
Caused: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[catch] at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:565)
	at org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(BinaryFS.java:402)
	at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:911)
	at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:844)
	at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:907)
	at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:844)
	at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:772)
	at org.netbeans.core.startup.layers.BinaryFS$FileMap.get(BinaryFS.java:981)
	at org.netbeans.spi.options.AdvancedOption$1.call(AdvancedOption.java:146)
	at org.netbeans.spi.options.AdvancedOption$1.call(AdvancedOption.java:144)
	at org.netbeans.modules.options.AdvancedOptionImpl.create(AdvancedOptionImpl.java:102)
	at org.netbeans.modules.options.TabbedController.handleTabSwitched(TabbedController.java:195)
	at org.netbeans.modules.options.TabbedController.access$200(TabbedController.java:79)
	at org.netbeans.modules.options.TabbedController$2.stateChanged(TabbedController.java:106)
	at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400)
	at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253)
	at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
	at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
	at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
	at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:574)
	at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(BasicTabbedPaneUI.java:3628)
	at java.awt.Component.processMouseEvent(Component.java:6264)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6032)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4630)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.jemmy.QueueTool$JemmyQueue.shortcutEvent(QueueTool.java:603)
	at org.netbeans.jemmy.QueueTool.shortcutEvent(QueueTool.java:166)
	at org.netbeans.jemmy.QueueTool.processEvent(QueueTool.java:146)
	at org.netbeans.jemmy.drivers.input.EventDriver.dispatchEvent(EventDriver.java:96)
	at org.netbeans.jemmy.drivers.input.MouseEventDriver.dispatchEvent(MouseEventDriver.java:350)
	at org.netbeans.jemmy.drivers.input.MouseEventDriver.clickMouse(MouseEventDriver.java:186)
	at org.netbeans.jemmy.drivers.lists.JTabMouseDriver$1.launch(JTabMouseDriver.java:86)
	at org.netbeans.jemmy.QueueTool$QueueAction.run(QueueTool.java:563)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at org.netbeans.jemmy.QueueTool$JemmyQueue.dispatchEvent(QueueTool.java:610)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
SEVERE [org.openide.util.Exceptions]
java.lang.Exception: got no controller from Highlighting: null
	at org.netbeans.spi.options.AdvancedOption$1.call(AdvancedOption.java:151)
	at org.netbeans.spi.options.AdvancedOption$1.call(AdvancedOption.java:144)
[catch] at org.netbeans.modules.options.AdvancedOptionImpl.create(AdvancedOptionImpl.java:102)
	at org.netbeans.modules.options.TabbedController.handleTabSwitched(TabbedController.java:195)
	at org.netbeans.modules.options.TabbedController.access$200(TabbedController.java:79)
	at org.netbeans.modules.options.TabbedController$2.stateChanged(TabbedController.java:106)
	at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400)
	at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253)
	at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
	at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
	at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
	at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:574)
	at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(BasicTabbedPaneUI.java:3628)
	at java.awt.Component.processMouseEvent(Component.java:6264)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6032)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4630)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.jemmy.QueueTool$JemmyQueue.shortcutEvent(QueueTool.java:603)
	at org.netbeans.jemmy.QueueTool.shortcutEvent(QueueTool.java:166)
	at org.netbeans.jemmy.QueueTool.processEvent(QueueTool.java:146)
	at org.netbeans.jemmy.drivers.input.EventDriver.dispatchEvent(EventDriver.java:96)
	at org.netbeans.jemmy.drivers.input.MouseEventDriver.dispatchEvent(MouseEventDriver.java:350)
	at org.netbeans.jemmy.drivers.input.MouseEventDriver.clickMouse(MouseEventDriver.java:186)
	at org.netbeans.jemmy.drivers.lists.JTabMouseDriver$1.launch(JTabMouseDriver.java:86)
	at org.netbeans.jemmy.QueueTool$QueueAction.run(QueueTool.java:563)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at org.netbeans.jemmy.QueueTool$JemmyQueue.dispatchEvent(QueueTool.java:610)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Alexander Simon 2011-05-24 08:21:57 UTC
fixed, change sets:
NB:
http://hg.netbeans.org/releases/rev/3d334926bd49
OSS:
3062:32f2a1317ac6