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 200202010331 JDK1.4.0build92 Here is a test case: 1. create a new java file (aaa.java) 2. remove whole contens of the file 3. save the file 4. in the explorer inkove a popup menu and select Add -> Class 5. fill in a class name (aaa) and confirm => attached exception
Created attachment 4524 [details] Exception
The issue has an easy workaround: create a blank line in the document, then it works OK.
Still indirectly blocked by #17061 (14546 was marked as a duplicate of that issue)
Fixed in trunk.
VERIFIED
Resolved for 3.4.x or earlier, no new info since then -> closing.