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 40244 - An (informational) FileNotFoundException thrown during project change.
Summary: An (informational) FileNotFoundException thrown during project change.
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
: 40129 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-18 16:40 UTC by Jan Lahoda
Modified: 2008-12-22 18:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The thrown FileNotFoundException (1.75 KB, text/plain)
2004-02-18 16:41 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2004-02-18 16:40:58 UTC
NB200402171900, JDK1.4.2_03.

Steps to reproduce:
1. Start the IDE with a clean userdir.
2. Open a Java file in the editor (for example
examples/colorpicker/ColorPreview.java).
3. Go to Project Manager ("Project/Project
Manager") and create a new project ("New...").
4. During the switch to the new project, the
attached FileNotFoundException (informational) is
printed into the console.
5. Such an exception seems to be printed during
each project-switch for all opened documents and
for the TODO Window that are in the original (old)
project.

Although this exception is informational and not
printed in a dialog, I think that it indicate that
something is wrong.
Comment 1 Jan Lahoda 2004-02-18 16:41:38 UTC
Created attachment 13514 [details]
The thrown FileNotFoundException
Comment 2 David Simonek 2004-02-18 16:56:22 UTC
I usually don't want to argue about priority, beacuse it's useless,
but this time....please try to reevaluate given priority and keep in
mind that wrong priority may mean worse product in the end (because
you are in fact dictating me what I will work on).
Comment 3 David Simonek 2004-02-20 11:05:55 UTC
Passing to Milos. Honzo again, do you really think it's P2? It seems
to me it has no end user impact al all....
Comment 4 Milos Kleint 2004-02-20 13:10:26 UTC
*** Issue 40129 has been marked as a duplicate of this issue. ***
Comment 5 Milos Kleint 2004-02-20 13:30:44 UTC
it seems the exception logging was added in revision 1.1.2.21 on
2003/05/30 12:39:52 by mslama.
As far as I can tell, it's an old debugging message and has no
influence on the functionality.

The problem appeared because of my #39713 fix, which puts the
windowssystem definition on the session layer, rather than the
previous project layer.

For now I assume it's not a real problem. Adding pzavadsky and mslama
on CC for comments. 
Comment 6 _ tboudreau 2004-02-20 14:00:14 UTC
I'm taking the liberty of dropping the priority on this issue.

Jan, this is definitely not a P2, no functionality is broken (and a windows user using 
runidew.exe won't even see the stack trace).  I agree, something is strange, but we have 
really broken things to fix.

Milos, if it's just commenting out a line of old debug logging and you know where it is, 
just comment it out.  Otherwise please don't waste time on this.
Comment 7 Milos Kleint 2004-02-20 14:06:11 UTC
Well, the log gets displayed in other situations as well (see
http://openide.netbeans.org/servlets/ReadMsg?msgId=699619&listName=dev
for ean example) so I would rather not comment it out.

Comment 8 Jan Lahoda 2004-02-20 14:55:18 UTC
The priority was set to P2 mainly to find out whether the exception is
harmless or not. I am also a bit afraid of the log full of meaningless
exceptions, but I am fine with P4 if you are sure this will not break
anything.
Comment 9 Milos Kleint 2004-03-25 13:23:49 UTC
fixed by removing the exception stacktrace logging, the message log is
preserved.
please note that with the new build system, window system project
switching is gone and should not trigger this error message in the log..
Comment 10 Jan Lahoda 2004-05-26 17:05:18 UTC
Well, I have not seen similar problems with new projects (stavbicka)
builds.