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.
Build: NetBeans IDE 6.1 (Build 200804211638) VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06, Java(TM) SE Runtime Environment, 1.6.0_02-b06 OS: Windows Vista, 6.0, x86 User Comments:
Created attachment 61232 [details] stacktrace
StackTrace: =========== java.lang.NullPointerException at org.netbeans.modules.swingapp.ProjectCustomizerProvider.createComponent(ProjectCustomizerProvider.java:111) at org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.create(ProjectCustomizer.java:517) at org.netbeans.modules.project.uiapi.CustomizerPane.setCategory(CustomizerPane.java:240) at org.netbeans.modules.project.uiapi.CustomizerPane.access$100(CustomizerPane.java:65)
The attached exception shows that application's resource map cannot be constructed. Hence, I was able to reproduce the exception when I deleted the application class, but this is quite unusual scenario. It is not clear what to do in this case - the project based on Swing Application Framework requires an application class. Of course, we shouldn't throw exceptions at least. Modified files: http://hg.netbeans.org/main?cmd=changeset;node=2fce86e1f106
small correction: Modified Files: http://hg.netbeans.org/main/rev/aa1c9b793db7
verified on build Build 20080602042246 In case when application class is deleted, text fields on property panel "Swing Application Framework specific properties" are set as read only. and no NPE is thrown