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.
Created attachment 125467 [details] Dump file (includes stack trace) Every time I try to add an event listener to a component in the GUI Builder, I get the following error (abridged - full trace attached): An error occurred during parsing of '...'. Please report a bug against java/source and attach dump file '...'. Caused: java.lang.AssertionError: Attr.visitNewClass tree [new java.awt.event.ActionListener(){ () { super(); } public void actionPerformed(java.awt.event.ActionEvent evt) { colorTableChanged(evt); } }] with constructor type [null] has symbol [symbol not found error] of kind [ 71] at com.sun.tools.javac.util.Assert.error(Assert.java:133) at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:1873) at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1377) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:451) at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:424) at com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:525) at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1549) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1326) ... Exception Reporter linked it to issue #138391, although the stack traces are subtly different and AFAICT all the reports there relate to manual editing. Using NetBeans 7.2 / GUIBuilder 1.16.1 / Java 1.6.0_33; Java HotSpot(TM) 64-Bit Server VM 20.8-b03-424
It much likely is bug 138391, i.e. a parsing error, even though not from manual editing but invoked from GUI builder on its generated code.
*** This bug has been marked as a duplicate of bug 138391 ***