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.
I am using the July 12 daily build. If I try to define an enum inside of the annotation definition, the editor starts throwing NPEs. The stack trace shows the MDR package, so I filed the bug against MDR. I will attach the file. Please note that you can use an enum defined in another place without any problem.
Created attachment 16227 [details] Java source of annotation
Actually, looking at the stack trace a little more carefully, this may actually be a bug in the java parser in javacore.
Reassigning to javacore.
It is caused by semicolon at the end of enum declaration. It is a bug in gjast. Semicolon is reported as ASTree.BLOCK_STATEMENTS. Reassigning to Tom.
Block fixup used in classes and enums wasn't being called when creating annotation definitions.
Verified in 4.2 (200507110943)
Reorganization of java component