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 - Exception on startup
Summary: Exception on startup
Status: CLOSED DUPLICATE of bug 46759
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-31 01:00 UTC by _ tboudreau
Modified: 2006-03-24 10:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (10.00 KB, text/plain)
2004-07-31 01:00 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
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