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.
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)
Sergey, is not this a duplicate of 20384 ?
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.
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 ***