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 30472 - When deleting taglibrary from lib IDE should unmount it first
Summary: When deleting taglibrary from lib IDE should unmount it first
Status: RESOLVED DUPLICATE of bug 20384
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: sgleason
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-29 12:12 UTC by Sergey Soldatov
Modified: 2010-01-12 02:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Soldatov 2003-01-29 12:12:40 UTC
Reproducible with build 030122_2.
How to reproduce:
Mount a web module where any taglib exists. Now try to 
delete it from WEB-INF/lib/. IDE throws the annotation. To 
delete taglibrary I have to unmount it from filesystems 
first. I think that IDE should do that but not me. 

Annotation: Cannot delete file WEB-
INF/lib/jtagcommunity.jar in C:\Test.

org.openide.filesystems.FSException: Cannot delete file 
WEB-INF/lib/jtagcommunity.jar in C:\Test.

	at org.openide.filesystems.FSException.io
(FSException.java:91)

	at org.openide.filesystems.LocalFileSystem.delete
(LocalFileSystem.java:236)

	at org.netbeans.core.ExLocalFileSystem.delete
(ExLocalFileSystem.java:75)

	at 
org.openide.filesystems.LocalFileSystem$Impl.delete
(LocalFileSystem.java:478)

	at 
org.openide.filesystems.AbstractFileObject.delete
(AbstractFileObject.java:490)

	at org.openide.loaders.FileEntry.delete
(FileEntry.java:100)

	at org.openide.loaders.MultiDataObject.handleDelete
(MultiDataObject.java:420)

	at org.openide.loaders.DataObject$3.run
(DataObject.java:529)

	at 
org.openide.filesystems.EventControl.runAtomicAction
(EventControl.java:89)

	at 
org.openide.filesystems.FileSystem.runAtomicAction
(FileSystem.java:414)

	at org.openide.loaders.DataObject.delete
(DataObject.java:527)

	at org.openide.loaders.DataNode.destroy
(DataNode.java:217)

	at org.openide.nodes.FilterNode.destroy
(FilterNode.java:428)

	at org.openide.explorer.ExplorerActions$3.run
(ExplorerActions.java:534)

	at 
org.openide.filesystems.EventControl.runAtomicAction
(EventControl.java:89)

	at 
org.openide.filesystems.FileSystem.runAtomicAction
(FileSystem.java:414)

	at 
org.openide.explorer.ExplorerActions$DeleteActionPerformer.
doDestroy(ExplorerActions.java:530)

	at 
org.openide.explorer.ExplorerActions$DeleteActionPerformer.
performAction(ExplorerActions.java:478)

	at 
org.openide.util.actions.CallbackSystemAction.performAction
(CallbackSystemAction.java:108)

	at 
org.openide.util.actions.CallableSystemAction.actionPerform
ed(CallableSystemAction.java:69)

	at org.netbeans.core.ModuleActions$1.run
(ModuleActions.java:95)

	at org.openide.util.Task.run(Task.java:136)

[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:635)
Comment 1 Petr Jiricka 2003-01-29 13:01:36 UTC
Sergey, is not this a duplicate of 20384 ?
Comment 2 Sergey Soldatov 2003-01-29 14:39:34 UTC
I don't think so because I do not compile/run/deploy that. 
I just mounted a web module which has a jar file in the 
lib directory. Once I tried to delete it I got this 
Annotation. It's not related to tomcat or any other 
component.
Comment 3 sgleason 2003-03-01 00:00:17 UTC
I think this is still a duplicate of 20384 (the bug from hell), 
since the deletion is not able to happen. This bug can occur even
when not executing the JSP. Any time a jsp is parsed with a 
reference to the tag library, the tag library can get "stuck."


*** This issue has been marked as a duplicate of 20384 ***