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 61469 - NPE when properties dialog of IDE project is invoked.
Summary: NPE when properties dialog of IDE project is invoked.
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-07-27 14:34 UTC by Zdenek Konecny
Modified: 2005-09-05 09:51 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 Zdenek Konecny 2005-07-27 14:34:48 UTC
Open IDE project (This project is in CVS) and click on properties item in
context menu of this project. It throws this exception:
java.lang.NullPointerException
	at
org.netbeans.modules.apisupport.project.ui.customizer.SingleModuleProperties.refresh(SingleModuleProperties.java:166)
	at
org.netbeans.modules.apisupport.project.ui.customizer.SingleModuleProperties.<init>(SingleModuleProperties.java:156)
	at
org.netbeans.modules.apisupport.project.ui.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:97)
	at
org.netbeans.modules.apisupport.project.ui.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:87)
	at
org.netbeans.modules.apisupport.project.ui.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:82)
	at
org.netbeans.modules.project.ui.actions.CustomizeProject.actionPerformed(CustomizeProject.java:70)
	at
org.netbeans.modules.project.ui.actions.LookupSensitiveAction.actionPerformed(LookupSensitiveAction.java:100)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1863)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2183)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1135)
	at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1176)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
	at java.awt.Component.processMouseEvent(Component.java:5921)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3322)
	at java.awt.Component.processEvent(Component.java:5686)
	at java.awt.Container.processEvent(Container.java:1962)
	at java.awt.Component.dispatchEventImpl(Component.java:4360)
	at java.awt.Container.dispatchEventImpl(Container.java:2020)
	at java.awt.Component.dispatchEvent(Component.java:4194)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4224)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3888)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3818)
	at java.awt.Container.dispatchEventImpl(Container.java:2006)
	at java.awt.Window.dispatchEventImpl(Window.java:2059)
	at java.awt.Component.dispatchEvent(Component.java:4194)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:592)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:270)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:198)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:171)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:166)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:158)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:119)
Comment 1 Martin Krauskopf 2005-07-27 15:20:16 UTC
IDE doesn't have a localizing bundle. I thought I fixed this :)
Comment 2 Martin Krauskopf 2005-07-27 15:42:34 UTC
Fixed

Checking in test/project/TestBase.java; 1.10 --> 1.11
Checking in test/project/ui/customizer/SingleModulePropertiesTest.java; 1.8 --> 1.9
Checking in ui/customizer/SingleModuleProperties.java; 1.13 --> 1.14
Comment 3 Zdenek Konecny 2005-07-28 12:21:10 UTC
Verified in Build 200507272036