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 46803

Summary: Exception on startup
Product: projects Reporter: _ tboudreau <tboudreau>
Component: Generic InfrastructureAssignee: Jesse Glick <jglick>
Status: CLOSED DUPLICATE    
Severity: blocker CC: phrebejk
Priority: P3    
Version: 4.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: stack trace

Description _ tboudreau 2004-07-31 01:00:17 UTC
Nothing special happening, got this exception during startup on 
an existing userdir with a bunch of modules open (possibly 
related to previously filed exception where you said a project 
that wasn't open was being closed?).
Comment 1 _ tboudreau 2004-07-31 01:00:46 UTC
Created attachment 16583 [details]
stack trace
Comment 2 Jesse Glick 2004-07-31 19:12:02 UTC
Looks like the same bug as is mentioned in issue #46759. I don't know
why only you would be receiving exceptions, though; for me it just
quietly leaves the list empty.

Hele, what is the working directory of the IDE when it is running? "/"
by any chance? If so, that would explain it; the line in OpenProjectList

  if ( file.exists() && file.isDirectory() ) {

would be true for file == "space/nb_another/image" only in case the
cwd is "/". Normally if you have some other cwd, this line is false
and so the following code is never run.

What the NPE and IOE in this log excerpt are, I have no idea. Maybe
they are related, maybe not.

*** This issue has been marked as a duplicate of 46759 ***
Comment 3 _ tboudreau 2004-07-31 19:54:37 UTC
It may well be / - I notice I only see this if I'm running from a copy of NetBeans installed 
with an installer and invoked via its launcher.  No idea what the working dir is of apps 
which are run on mac os by clicking an icon - I suppose / is as reasonable as anything 
else.
Comment 4 Jesse Glick 2004-08-01 02:21:17 UTC
The working dir is listed in the About dialog and the log file.
Comment 5 Marian Mirilovic 2005-07-12 10:12:28 UTC
closed