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 26072 - org.openide.filesystems.FSException on startup after deleting jar
Summary: org.openide.filesystems.FSException on startup after deleting jar
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
: 24568 26088 26391 26535 26623 27442 27445 27464 27893 28966 29343 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-28 18:13 UTC by Scott Stark
Modified: 2008-12-22 19:46 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the ide.log (11.36 KB, text/plain)
2002-07-28 18:13 UTC, Scott Stark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Stark 2002-07-28 18:13:08 UTC
I am seeing a FSException regarding a jar that 
was deleted outside of the ide on startup. The 
full log and exception info are attached. The 
issue can be resolved by going into the 
explorer customize dialog and removing the 
obsolete link. Should this just be done 
automatically, possibly after a warning dialog?
Comment 1 Scott Stark 2002-07-28 18:13:40 UTC
Created attachment 6922 [details]
the ide.log
Comment 2 Vitezslav Stejskal 2002-07-29 12:51:05 UTC
This problem occures during deserialization of filesystem from 
.settings file, reassigning to openide/filesystems.
Comment 3 rmatous 2002-07-29 16:32:18 UTC
*** Issue 26088 has been marked as a duplicate of this issue. ***
Comment 4 rmatous 2002-07-29 16:43:59 UTC
Probably should be annotated in filesystems with USER or WARNING
severity, then AutoMountSupport should right notify and unmount such
currupted filesystem. Because in filesystems already implemented, then
reassigned to AutomountSupport.
Comment 5 pzajac 2002-08-15 14:28:55 UTC
*** Issue 26535 has been marked as a duplicate of this issue. ***
Comment 6 David Strupl 2002-08-23 10:41:10 UTC
*** Issue 24568 has been marked as a duplicate of this issue. ***
Comment 7 Jesse Glick 2002-08-23 14:44:42 UTC
Users frequently complain about the lack of robustness here - if NB
knows the setting is corrupt, why does it leave it on disk and keep
reporting the same error on every startup? Suggest it be considered
for a hypothetical 3.4.1.
Comment 8 pzajac 2002-09-18 12:29:35 UTC
*** Issue 26623 has been marked as a duplicate of this issue. ***
Comment 9 pzajac 2002-09-19 13:10:34 UTC
*** Issue 27442 has been marked as a duplicate of this issue. ***
Comment 10 pzajac 2002-09-19 14:33:46 UTC
I increased priority because many users reports this problem and it is
not too dificult to fix it. 
Comment 11 pzajac 2002-09-19 14:36:26 UTC
*** Issue 26391 has been marked as a duplicate of this issue. ***
Comment 12 pzajac 2002-09-20 15:03:44 UTC
*** Issue 27445 has been marked as a duplicate of this issue. ***
Comment 13 David Strupl 2002-10-09 15:41:21 UTC
Checking in src/org/netbeans/core/AutomountSupport.java;
/cvs/core/src/org/netbeans/core/AutomountSupport.java,v  <-- 
AutomountSupport.java
new revision: 1.47; previous revision: 1.46
done
Comment 14 pzajac 2002-10-10 08:42:29 UTC
I am not sure if the best idea is to unmount corrupted filesystems.
Why corrupted LocalFilesystem can be mounted in repository and market
as invalid? Why JarFileSystem throws exception on deserialization? It
  can be marked as invalid too.    
Comment 15 David Strupl 2002-10-10 10:09:44 UTC
The file is not there --> filesystem makes no sense --> message is
written to the log and the filesystem is unmounted. If you disagree
please consult nbui, wait for an agreement and then reopen the issue.
Thanks.
Comment 16 Marian Mirilovic 2002-10-11 18:26:14 UTC
Platform/OS independent issue.
Comment 17 pzajac 2002-10-15 12:33:28 UTC
*** Issue 28014 has been marked as a duplicate of this issue. ***
Comment 18 pzajac 2002-10-22 14:18:30 UTC
verified
Comment 19 pzajac 2002-11-25 13:21:16 UTC
*** Issue 27464 has been marked as a duplicate of this issue. ***
Comment 20 Jaroslav Tulach 2002-12-03 09:54:42 UTC
Hi. This issue is marked as 3.4.1_CANDIDATE. It means that it should be
integrated into release341 one branch. The plan at
http://www.netbeans.org/devhome/docs/releases/34/index.html expected beta1 to be
produced on Dec01. That did not happen due to a lot of outstanding not
integrated candidates like this one. 

Would it be possible to spend few minutes by backporting this fix? Thank you in
advance.
Comment 21 David Strupl 2002-12-03 14:56:06 UTC
Fixed in 341. AutomountSupport 1.45.46.1.
Comment 22 Marian Mirilovic 2002-12-04 14:38:30 UTC
*** Issue 29279 has been marked as a duplicate of this issue. ***
Comment 23 rmatous 2002-12-06 11:21:20 UTC
*** Issue 29343 has been marked as a duplicate of this issue. ***
Comment 24 pzajac 2003-01-14 08:32:53 UTC
*** Issue 27893 has been marked as a duplicate of this issue. ***
Comment 25 David Strupl 2003-01-27 11:12:23 UTC
*** Issue 28966 has been marked as a duplicate of this issue. ***
Comment 26 Quality Engineering 2003-07-01 16:22:19 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.