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 50978 - FNFE after deleting file having nothing to do with Java whatsoever
Summary: FNFE after deleting file having nothing to do with Java whatsoever
Status: RESOLVED DUPLICATE of bug 53354
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Martin Matula
URL:
Keywords:
: 51634 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-29 17:50 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (4.52 KB, text/plain)
2004-10-29 17:50 UTC, Jesse Glick
Details
Proposed patch for FileUtil (789 bytes, patch)
2004-11-01 09:24 UTC, Jan Becicka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-10-29 17:50:10 UTC
Dev sources, JDK 1.5.0. I expand ~ in Favorites
and select some random file in my home directory
and delete it. Console shows an exception.
Comment 1 Jesse Glick 2004-10-29 17:50:45 UTC
Created attachment 18606 [details]
Stack trace
Comment 2 Jan Becicka 2004-11-01 09:23:52 UTC
This one was caused by this commit:

Checking in src/org/netbeans/modules/javacore/RepositoryUpdater.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/RepositoryUpdater.java,v
 <--  RepositoryUpdater.java
new revision: 1.22; previous revision: 1.21
done

Exception seems to be harmless, anyway it is not a good idea to call
FileUtil.isArchiveFile() on deleted files.
Or maybe it can be fixed in FileUtil? Radku?
Comment 3 Jan Becicka 2004-11-01 09:24:32 UTC
Created attachment 18630 [details]
Proposed patch for FileUtil
Comment 4 Martin Matula 2004-11-22 12:59:08 UTC
*** Issue 51634 has been marked as a duplicate of this issue. ***
Comment 5 Martin Matula 2005-01-20 14:57:35 UTC

*** This issue has been marked as a duplicate of 53354 ***
Comment 6 Quality Engineering 2007-09-20 09:57:48 UTC
Reorganization of java component