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.
NetBeans IDE Dev (Build 200608071800) 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b93 Linux version 2.6.5-1.358 running on i386 en_US (nb); UTF-8 NPE is thrown when changing property of freeform project. The changes are not saved. Steps to reproduce: 1) open freeform project 2) open project properties 3) make some modification 4) click OK to save changes java.lang.NullPointerException at org.netbeans.modules.ant.freeform.ui.ProjectCustomizer.save(ProjectCustomizer.java:86) at org.netbeans.modules.ant.freeform.ui.ProjectCustomizerProvider$OptionListener.actionPerformed(ProjectCustomizerProvider.java:134)
Created attachment 32656 [details] NPE
It's M2 show stopper
This is because the field ProjectCustomizer.panels is never initialized. Probably mistake in recent commit: src/org/netbeans/modules/ant/freeform/ui/ProjectCustomizer.java:1.21->1.22 I will attach a possible fix (not very pretty, but should work, untested).
Created attachment 32688 [details] Possible fix.
fixed in trunk.
verified