Bug #2534

Windows, Corpus deletion problem if some files are in use

Added by Sebastien Jacquot 5 months ago. Updated 5 months ago.

Status:New Start date:04/09/2019
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Persistence Spent time: -
Target version:TXM 0.8.1

Description

Corpus deletion problem if some files are in use. At this moment I'm not sure it's because some files are in use by user or by TXM.

Log:

TXMPreferences.delete(): Local preferences node for object /project/GRAAL2018/txm_res_20190408_143454740_0002_MainCorpus deleted.
Droping corpus GRAAL2018...
Toolbox.notifyEngines GRAAL2018 -> clean
TXMPreferences.delete(): Local preferences node for object /project/GRAAL2018/txm_res_20190408_143454765_0004_Edition deleted.
TXMPreferences.delete(): Local preferences node for object /project/GRAAL2018/txm_res_20190408_143454766_0005_Edition deleted.
TXMPreferences.delete(): Local preferences node for object /project/GRAAL2018/txm_res_20190408_143454767_0006_Edition deleted.
TXMPreferences.delete(): Local preferences node for object /project/GRAAL2018/txm_res_20190408_143454770_0007_Edition deleted.
TXMPreferences.delete(): Local preferences node for object /project/GRAAL2018/txm_res_20190408_143454772_0008_Edition deleted.
TXMPreferences.delete(): Local preferences node for object /project/GRAAL2018/txm_res_20190408_143454775_0009_Edition deleted.
TXMPreferences.delete(): Local preferences node for object /project/GRAAL2018/txm_res_20190408_143454778_0010_Edition deleted.
TXMPreferences.delete(): Local preferences node for object /project/GRAAL2018/txm_res_20190408_143454780_0011_Edition deleted.
TXMPreferences.delete(): Local preferences node for object /project/GRAAL2018/txm_res_20190408_143454764_0003_Text deleted.
TXMPreferences.delete(): Local preferences node for object /project/GRAAL2018/txm_res_20190408_143453574_0001_Project deleted.
Cleaning GRAAL2018 ->  1000
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018'.
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018/.settings'.
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018/HTML'.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\default.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\default\css.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\default\images.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\default\images\icons.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\default\js.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\default\js\viewer.
Cleaning GRAAL2018 -> subTask 
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018/analec'.
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018/css'.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\css.
Cleaning GRAAL2018 -> subTask 
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018/data'.
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018/dtd'.
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018/registry'.
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018/txm'.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\txm.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\txm\GRAAL2018.
Cleaning GRAAL2018 -> subTask 
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018/xsl'.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\xsl.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\xsl\2-front.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\xsl\3-posttok.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\xsl\4-edition.
Cleaning GRAAL2018 -> subTask 
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:773)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:282)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete '/GRAAL2018/HTML'.
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:366)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:282)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Problems encountered while deleting files.
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\ms_colonne.
java.nio.file.AccessDeniedException: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\ms_colonne
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.localstore.DeleteVisitor.delete(DeleteVisitor.java:63)
    at org.eclipse.core.internal.localstore.DeleteVisitor.visit(DeleteVisitor.java:151)
    at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:111)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:363)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:282)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\ms_page.
java.nio.file.AccessDeniedException: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\ms_page
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.localstore.DeleteVisitor.delete(DeleteVisitor.java:63)
    at org.eclipse.core.internal.localstore.DeleteVisitor.visit(DeleteVisitor.java:151)
    at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:111)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:363)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:282)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\traduction.
java.nio.file.AccessDeniedException: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\traduction
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.localstore.DeleteVisitor.delete(DeleteVisitor.java:63)
    at org.eclipse.core.internal.localstore.DeleteVisitor.visit(DeleteVisitor.java:151)
    at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:111)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:363)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:282)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018.
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML.
Contains: Could not delete '/GRAAL2018/dtd'.
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:366)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:282)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Problems encountered while deleting files.
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\dtd.
java.nio.file.FileSystemException: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\dtd: Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.

    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.localstore.DeleteVisitor.delete(DeleteVisitor.java:63)
    at org.eclipse.core.internal.localstore.DeleteVisitor.visit(DeleteVisitor.java:151)
    at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:111)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:363)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:282)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete 'C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018'.
Toolbox.notifyEngines GRAAL2018 -> clean
GRAAL2018 supprimé.
TXMPreferences.delete(): Local preferences node for object /project/GRAAL2018/txm_res_20190408_143453574_0001_Project deleted.
Cleaning GRAAL2018 ->  1000
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018'.
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018/HTML'.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML.
Cleaning GRAAL2018 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018.
Cleaning GRAAL2018 -> subTask 
Cleaning GRAAL2018 -> subTask Deleting '/GRAAL2018/dtd'.
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:773)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete '/GRAAL2018/HTML'.
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:366)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Problems encountered while deleting files.
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\default.
java.nio.file.AccessDeniedException: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\default
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.localstore.DeleteVisitor.delete(DeleteVisitor.java:63)
    at org.eclipse.core.internal.localstore.DeleteVisitor.visit(DeleteVisitor.java:151)
    at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:111)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:363)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\ms_colonne.
java.nio.file.AccessDeniedException: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\ms_colonne
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.localstore.DeleteVisitor.delete(DeleteVisitor.java:63)
    at org.eclipse.core.internal.localstore.DeleteVisitor.visit(DeleteVisitor.java:151)
    at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:111)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:363)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\ms_page.
java.nio.file.AccessDeniedException: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\ms_page
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.localstore.DeleteVisitor.delete(DeleteVisitor.java:63)
    at org.eclipse.core.internal.localstore.DeleteVisitor.visit(DeleteVisitor.java:151)
    at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:111)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:363)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\traduction.
java.nio.file.AccessDeniedException: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018\traduction
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.localstore.DeleteVisitor.delete(DeleteVisitor.java:63)
    at org.eclipse.core.internal.localstore.DeleteVisitor.visit(DeleteVisitor.java:151)
    at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:111)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:363)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML\GRAAL2018.
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\HTML.
Contains: Could not delete '/GRAAL2018/dtd'.
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:366)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Problems encountered while deleting files.
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\dtd.
java.nio.file.FileSystemException: C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018\dtd: Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus.

    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.localstore.DeleteVisitor.delete(DeleteVisitor.java:63)
    at org.eclipse.core.internal.localstore.DeleteVisitor.visit(DeleteVisitor.java:151)
    at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:111)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.delete(FileSystemResourceManager.java:363)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteFolder(ResourceTree.java:358)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:393)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:934)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1308)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete 'C:\Users\s\TXM_0.8.0_dev\corpora\GRAAL2018'.
Toolbox.notifyEngines GRAAL2018 -> clean
GRAAL2018 supprimé.

History

#1 Updated by Sebastien Jacquot 5 months ago

Nouveau log Win7, aucun fichier n'était ouvert à l'extérieur de TXM ou dans TXM :

TXMPreferences.delete(): Local preferences node for object /project/TEST3/txm_res_20190425_151632361_0001_MainCorpus deleted.
Droping corpus TEST3...
Toolbox.notifyEngines TEST3 -> clean
TXMPreferences.delete(): Local preferences node for object /project/TEST3/txm_res_20190425_151633387_0003_Edition deleted.
TXMPreferences.delete(): Local preferences node for object /project/TEST3/txm_res_20190425_151633043_0002_Text deleted.
TXMPreferences.delete(): Local preferences node for object /project/TEST3/txm_res_20190425_151633415_0005_Edition deleted.
TXMPreferences.delete(): Local preferences node for object /project/TEST3/txm_res_20190425_151633392_0004_Text deleted.
TXMPreferences.delete(): Local preferences node for object /project/TEST3/txm_res_20190425_151524718_0000_Project deleted.
Cleaning TEST3 ->  1000
Cleaning TEST3 -> subTask Deleting '/TEST3'.
Cleaning TEST3 -> subTask Deleting '/TEST3/.settings'.
Cleaning TEST3 -> subTask Deleting: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\.settings.
Cleaning TEST3 -> subTask 
Toolbox.notifyEngines TEST3 -> clean
TEST3 supprimé.
TXMPreferences.delete(): Local preferences node for object /project/TEST3/txm_res_20190425_151524718_0000_Project deleted.
Cleaning TEST3 ->  1000
Cleaning TEST3 -> subTask Deleting '/TEST3'.
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:773)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:962)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1309)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:282)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete 'C:\Users\s\TXM_0.8.0_dev\corpora\TEST3'.
org.eclipse.core.runtime.CoreException: Problems encountered while deleting files.
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:139)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:443)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:962)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1309)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:282)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\HTML.
java.nio.file.DirectoryNotEmptyException: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\HTML
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:266)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:253)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:443)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:962)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1309)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:282)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3.
Contains: Could not delete 'C:\Users\s\TXM_0.8.0_dev\corpora\TEST3'.
org.eclipse.core.internal.resources.ResourceException: Problems encountered while deleting resources.
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:773)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:962)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1309)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete 'C:\Users\s\TXM_0.8.0_dev\corpora\TEST3'.
org.eclipse.core.runtime.CoreException: Problems encountered while deleting files.
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:139)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:443)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:962)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1309)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\analec.
java.nio.file.AccessDeniedException: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\analec
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:443)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:962)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1309)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\cqp.
java.nio.file.AccessDeniedException: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\cqp
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
Toolbox.notifyEngines TEST3 -> clean
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:443)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:962)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1309)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\data.
java.nio.file.AccessDeniedException: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\data
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:443)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:962)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1309)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\ptokenized.
java.nio.file.AccessDeniedException: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\ptokenized
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:443)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:962)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1309)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\ptreetagger.
java.nio.file.AccessDeniedException: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3\ptreetagger
TEST3 supprimé.
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
    at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
    at java.nio.file.Files.deleteIfExists(Files.java:1165)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:220)
    at org.eclipse.core.internal.filesystem.local.LocalFile.internalDelete(LocalFile.java:248)
    at org.eclipse.core.internal.filesystem.local.LocalFile.delete(LocalFile.java:137)
    at org.eclipse.core.internal.resources.ResourceTree.internalDeleteProject(ResourceTree.java:443)
    at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:850)
    at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1785)
    at org.eclipse.core.internal.resources.Resource.delete(Resource.java:760)
    at org.eclipse.core.internal.resources.Project.delete(Project.java:324)
    at org.txm.objects.Project.clean(Project.java:962)
    at org.txm.core.results.TXMResult.delete(TXMResult.java:1309)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:287)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:185)
    at org.txm.rcp.handlers.results.DeleteObject.delete(DeleteObject.java:165)
    at org.txm.rcp.views.corpora.CorporaView$4$1.run(CorporaView.java:386)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Contains: Could not delete: C:\Users\s\TXM_0.8.0_dev\corpora\TEST3.
Contains: Could not delete 'C:\Users\s\TXM_0.8.0_dev\corpora\TEST3'.

#2 Updated by Sebastien Jacquot 5 months ago

More information: it seems to happen only with corpus that has been imported in the session. If TXM has been restarted, it seems to work well.
Need to check that the import processes close well all files.

#3 Updated by Sebastien Jacquot 5 months ago

  • Target version changed from TXM 0.8.0 to TXM 0.8.1

I didn't manage to reproduce the bug in 0.8.0_prestable.
Need to see if we need to make the code more robust and manage the case of a user that has opened a file of the corpora directory?

Also available in: Atom PDF