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 200501271900 1) Have a Java/Web Freeform Project 2) Go to project's properties | Build and Run 3) Press 'Add' button 4) Click newly created line's "ant target" 5) Leave it empty 6) Click any other line/button in customizer 7) Click again newly created line's "ant target" 8) EXCEPTION -- see attachment
Created attachment 20037 [details] NPE
ant/freeform/src/org/netbeans/modules/ant/freeform/ui/TargetMappingPanel @ line 743 is: if (ct.targets.size()) { should be: if ((ct.targets != null) && (ct.targets.size() > 1)) {
*** Issue 57063 has been marked as a duplicate of this issue. ***
Too late for 4.1 unless this is P2.
Implemented the suggestion: Checking in freeform/src/org/netbeans/modules/ant/freeform/ui/TargetMappingPanel.java; /cvs/ant/freeform/src/org/netbeans/modules/ant/freeform/ui/TargetMappingPanel.java,v <-- TargetMappingPanel.java new revision: 1.34; previous revision: 1.33 done
Verified in 200505250639.