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 Dev (Build 200709050000) VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05 OS: Windows XP, 5.1, x86 User Comments: clicked on sun-ejb-jar.xml
Created attachment 48196 [details] stacktrace
Weird. toFile() on a FileObject appears to have returned null. Reporter: Was there anything out of the ordinary about the file you clicked on, or the FileSystem it was on (networks, soft link, etc.)?
Never mind... can be reproduced browsing a Jar file, easy to fix that case. The more interesting question is whether there exists a file system that one can create and build projects on, and for which FileObjects are valid, but Files are not. I don't know, but there could be (MemoryFileSystem, etc.)
Fixed. http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/ddloaders/SunDescriptorDataObject.java?r1=1.8&r2=1.9
*** Issue 116841 has been marked as a duplicate of this issue. ***
*** Issue 118221 has been marked as a duplicate of this issue. ***