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 100206 - NPE when user is pushing on "Parser Settings..." button
Summary: NPE when user is pushing on "Parser Settings..." button
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ gordonp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-06 12:10 UTC by soldatov
Modified: 2007-08-07 14:04 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 2007-04-06 12:10:08 UTC
Steps:
- Run Netbeans with fresh userdir
- Push "Tools|Options" menu item
- Select "C/C++" category and "Code Assistance" tab
- Push on "Parser Settings..." button
==> NPE

java.lang.NullPointerException
	at
org.netbeans.modules.cnd.makeproject.ui.options.ParserSettingsPanel.updateTabs(ParserSettingsPanel.java:74)
	at
org.netbeans.modules.cnd.makeproject.ui.options.ParserSettingsPanel.access$000(ParserSettingsPanel.java:34)
	at
org.netbeans.modules.cnd.makeproject.ui.options.ParserSettingsPanel$1.actionPerformed(ParserSettingsPanel.java:47)
	at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197)
	at javax.swing.JComboBox.setSelectedItem(JComboBox.java:561)
	at
org.netbeans.modules.cnd.makeproject.ui.options.ParserSettingsPanel.<init>(ParserSettingsPanel.java:50)
	at
org.netbeans.modules.cnd.makeproject.ui.options.CodeAssistancePanel.actionPerformed(CodeAssistancePanel.java:60)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 _ gordonp 2007-04-08 01:15:07 UTC
Fixed
Comment 2 Alexander Pepin 2007-08-07 14:04:26 UTC
there is no this button any more.
verified in 5.5.1_u1 CND build (20070802).