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.
See stacktrace
Created attachment 15851 [details] Stacktrace
There is only a problem with Java files. It works on XML & JSP files for example.
A problem is in java module, there is not assumed that module can be null. Check the line: JavaModelPackage model = JavaMetamodel.getManager().resolveJavaExtent(cp.findOwnerRoot(dob.getPrimaryFile())); (or the attached stackstack, it's easy reproducible)
Checking in src/org/netbeans/modules/java/JavaDataObject.java; /cvs/java/src/org/netbeans/modules/java/JavaDataObject.java,v <-- JavaDataObject.java new revision: 1.182; previous revision: 1.181 done
Verified in 4.2 (2005070601800)