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.

Bug 114812 - java.lang.NullPointerException
Summary: java.lang.NullPointerException
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pcw
URL: http://statistics.netbeans.org/except...
Keywords:
: 116841 118221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-05 21:10 UTC by bernd_zedv
Modified: 2007-10-09 18:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 3047


Attachments
stacktrace (5.85 KB, text/plain)
2007-09-05 21:10 UTC, bernd_zedv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bernd_zedv 2007-09-05 21:10:32 UTC
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
Comment 1 bernd_zedv 2007-09-05 21:10:39 UTC
Created attachment 48196 [details]
stacktrace
Comment 2 _ pcw 2007-09-21 09:53:14 UTC
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.)?
Comment 3 _ pcw 2007-09-21 18:13:54 UTC
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.)
Comment 5 _ pcw 2007-09-26 18:39:23 UTC
*** Issue 116841 has been marked as a duplicate of this issue. ***
Comment 6 _ pcw 2007-10-09 18:17:04 UTC
*** Issue 118221 has been marked as a duplicate of this issue. ***