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.
Steps to reproduce: - create welcome sample project - open Project properties - change "Run->Console Type" to "Output Window" - press OK Result: NPE occurs java.lang.NullPointerException at org.netbeans.modules.cnd.makeproject.configurations.ui.ProjectPropPanel.save(ProjectPropPanel.java:127) at org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer.save(MakeCustomizer.java:378) at org.netbeans.modules.cnd.makeproject.api.MakeCustomizerProvider$OptionListener.actionPerformed(MakeCustomizerProvider.java:256) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6263) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) 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.LightweightDispatcher.retargetMouseEvent(Container.java:4574) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:130) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178) at java.awt.Dialog$1.run(Dialog.java:1045) at java.awt.Dialog$3.run(Dialog.java:1097) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1095) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:988) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1022) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1010) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:118) at org.openide.util.Mutex$1AWTWorker.run(Mutex.java:1370) [catch] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:130) 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)
*** Bug 180730 has been marked as a duplicate of this bug. ***
fixed in cnd-main: http://hg.netbeans.org/cnd-main/rev/003569766808 I'll port the fix into M1 shortly.
*** Bug 180738 has been marked as a duplicate of this bug. ***
The fix is verified in NB6.9M1 with provided org-netbeans-modules-cnd-makeproject.jar Please integrate the fix into M1 branch.
The fix is pished into M1 branch: http://hg.netbeans.org/release69_m1/rev/633335a55a4c
verified in M1 build 20100215
Integrated into 'main-golden', will be available in build *201002170200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/003569766808 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #180731 NPE on changing project properties