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.0.1 (Build 200801291616) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 57235 [details] stacktrace
StackTrace: =========== java.lang.NullPointerException at org.netbeans.modules.form.CodeCustomizer.getSourcePositions(CodeCustomizer.java:142) at org.netbeans.modules.form.CodeCustomizer.selectComponent(CodeCustomizer.java:127) at org.netbeans.modules.form.CodeCustomizer.show(CodeCustomizer.java:87) at org.netbeans.modules.form.actions.CustomCodeAction.performAction(CustomCodeAction.java:55) at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77) at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:577)
It seems that your .java file got corrupted. The GUI builder is not able to find initComponents section. Does your .java file contains the following comments (at the beginning and at the end of the initComponents method)? //GEN-BEGIN:initComponents //GEN-END:initComponents
No additional information provided => closing as non-reproducible.
This issue has already 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=9138