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.
java.lang.NullPointerException at org.netbeans.modules.apisupport.project.suite.BrandingSupport.init(BrandingSupport.java:335) at org.netbeans.modules.apisupport.project.suite.BrandingSupport.getInstance(BrandingSupport.java:60) at org.netbeans.modules.apisupport.project.ui.customizer.BasicBrandingModel.getBranding(BasicBrandingModel.java:230) at org.netbeans.modules.apisupport.project.ui.customizer.BasicBrandingModel.initBundleKeys(BasicBrandingModel.java:289) at org.netbeans.modules.apisupport.project.ui.customizer.BasicBrandingModel.init(BasicBrandingModel.java:240) at org.netbeans.modules.apisupport.project.ui.customizer.BasicBrandingModel.<init>(BasicBrandingModel.java:96) at org.netbeans.modules.apisupport.project.ui.customizer.SuiteProperties.<init>(SuiteProperties.java:75) at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizer.prepareData(SuiteCustomizer.java:62) at org.netbeans.modules.apisupport.project.ui.customizer.BasicCustomizer.showCustomizer(BasicCustomizer.java:98) at org.netbeans.modules.apisupport.project.ui.customizer.BasicCustomizer.showCustomizer(BasicCustomizer.java:90) at org.netbeans.modules.apisupport.project.ui.customizer.BasicCustomizer.showCustomizer(BasicCustomizer.java:85) 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:1786) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:289) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5100) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Created attachment 25644 [details] The suite project that I encountered the failure on
I just tried to open properties for the project.
Similar to #64543 + the same fix that workarounds fact that SuiteProject.getActivePlatform may return null which I'm not sure that is right (?) => Martin, Jesse please evaluate Fix could handle null this way: platform = (platform == null) ? NbPlatform.getDefaultPlatform() : platform;
Please wait for issue #65652 and reevaluate (if it can be reproduced somehow).
This issue depends on #65652 which is P3. I think both should have the same priority => P2 -> P3
Unusable project is not P3. I'll make both issues P2 per rmatous request.
/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/BasicBrandingModel.java,v new revision: 1.12; previous revision: 1.11 /cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/ui/customizer/SuiteProperties.java,v new revision: 1.16; previous revision: 1.15 /cvs/apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/suite/BrandingSupportTest.java,v new revision: 1.10; previous revision: 1.9 /cvs/apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/ui/customizer/SuitePropertiesTest.java,v new revision: 1.16; previous revision: 1.15
verified (cannot reproduce)