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 190027 - Deleting project doesn't work always
Summary: Deleting project doesn't work always
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 14:49 UTC by javydreamercsw
Modified: 2010-08-31 14:49 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 javydreamercsw 2010-08-31 14:49:14 UTC
Deleting a UML project not always delete the project from disk. From the log there are issues with subversion support. I know I've seen this somewhere else for normal projects (maybe I wrote it myself). Probably the same type of fix is needed.

Here's the related log:

INFO [org.netbeans.modules.subversion]: org.tigris.subversion.javahl.ClientException: The process cannot access the file because it is being used by another process.  
svn: Can't remove 'Z:\Netbeans\jWrestling Project\jWrestling-Model\.QueryCache'
svn: Can't remove file 'Z:\Netbeans\jWrestling Project\jWrestling-Model\.QueryCache': The process cannot access the file because it is being used by another process.  


msg
Caused: org.tigris.subversion.javahl.ClientException: The process cannot access the file because it is being used by another process.  
svn: Can't remove 'Z:\Netbeans\jWrestling Project\jWrestling-Model\.QueryCache'
svn: Can't remove file 'Z:\Netbeans\jWrestling Project\jWrestling-Model\.QueryCache': The process cannot access the file because it is being used by another process.  

        at org.tigris.subversion.javahl.SVNClient.remove(Native Method)
        at org.tigris.subversion.javahl.SVNClient.remove(SVNClient.java:404)
        at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.remove(AbstractJhlClientAdapter.java:819)
Caused: org.tigris.subversion.svnclientadapter.SVNClientException
        at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.remove(AbstractJhlClientAdapter.java:822)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.handle(SvnClientInvocationHandler.java:365)
        at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invokeMethod(SvnClientInvocationHandler.java:329)
        at org.netbeans.modules.subversion.client.SvnClientInvocationHandler$2.call(SvnClientInvocationHandler.java:175)
        at org.netbeans.modules.versioning.indexingbridge.Bridge$1.call(Bridge.java:64)
        at org.netbeans.modules.parsing.api.indexing.IndexingManager.runProtected(IndexingManager.java:304)
        at org.netbeans.modules.versioning.indexingbridge.Bridge.runWithoutIndexing(Bridge.java:59)
        at org.netbeans.modules.versioning.util.IndexingBridge.runWithoutIndexing(IndexingBridge.java:133)
        at org.netbeans.modules.versioning.util.IndexingBridge.runWithoutIndexing(IndexingBridge.java:102)
        at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invoke(SvnClientInvocationHandler.java:185)
        at $Proxy18.remove(Unknown Source)
        at org.netbeans.modules.subversion.FilesystemHandler.doDelete(FilesystemHandler.java:124)
        at org.netbeans.modules.versioning.FilesystemInterceptor$DelegatingInterceptor.delete(FilesystemInterceptor.java:545)
        at org.netbeans.modules.masterfs.ProvidedExtensionsProxy$DelegatingDeleteHandler$1.run(ProvidedExtensionsProxy.java:324)
        at org.netbeans.modules.masterfs.ProvidedExtensionsProxy.runCheckCode(ProvidedExtensionsProxy.java:309)
        at org.netbeans.modules.masterfs.ProvidedExtensionsProxy.access$300(ProvidedExtensionsProxy.java:66)
        at org.netbeans.modules.masterfs.ProvidedExtensionsProxy$DelegatingDeleteHandler.delete(ProvidedExtensionsProxy.java:322)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.deleteFile(FolderObj.java:474)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.delete(FolderObj.java:307)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$2.call(BaseFileObj.java:637)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$2.call(BaseFileObj.java:632)
        at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:115)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.delete(BaseFileObj.java:645)
        at org.openide.filesystems.FileObject.delete(FileObject.java:368)
        at org.netbeans.modules.uml.project.ui.nodes.UMLPhysicalViewProvider$UMLLogicalViewRootNode.destroy(UMLPhysicalViewProvider.java:453)
        at org.netbeans.modules.uml.project.UMLActionProvider.invokeAction(UMLActionProvider.java:99)
        at org.netbeans.modules.project.ui.actions.ProjectAction.actionPerformed(ProjectAction.java:134)
        at org.netbeans.modules.project.ui.actions.LookupSensitiveAction.actionPerformed(LookupSensitiveAction.java:170)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
        at java.awt.Component.processMouseEvent(Component.java:6263)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:6028)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4630)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Subversion failed to delete Z:\Netbeans\jWrestling Project\jWrestling-Model
org.tigris.subversion.javahl.ClientException: The process cannot access the file because it is being used by another process.  
svn: Can't remove 'Z:\Netbeans\jWrestling Project\jWrestling-Model\.QueryCache'
svn: Can't remove file 'Z:\Netbeans\jWrestling Project\jWrestling-Model\.QueryCache': The process cannot access the file because it is being used by another process.