java.nio.file.FileSystemException: F:\Jenkins\jobs\sdk-for-net\htmlreports\Unit_Test_Report\Compute.Tests.html: The process cannot access the file because it is being used by another process.
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Solutions on the web
via GitHub by DeepakRajendranMsft
, 1 year agovia Jenkins JIRA by dan tran, 1 year ago
via Google Groups by sergey....@checkmarx.com (JIRA), 1 year ago
via GitHub by JanneKiiskila
, 6 months agovia Google Groups by Unknown author, 10 months ago
via Stack Overflow by user2329174
, 2 weeks agojava.nio.file.FileSystemException: F:\Jenkins\jobs\sdk-for-net\htmlreports\Unit_Test_Report\Compute.Tests.html: The process cannot access the file because it is being used by another process.
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source)
at java.nio.file.Files.delete(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at hudson.Util.deleteFile(Util.java:247)
at hudson.FilePath.deleteRecursive(FilePath.java:1204)
at hudson.FilePath.deleteContentsRecursive(FilePath.java:1213)
at hudson.FilePath.deleteRecursive(FilePath.java:1195)
at hudson.FilePath.access$1000(FilePath.java:191)
at hudson.FilePath$14.invoke(FilePath.java:1174)
at hudson.FilePath$14.invoke(FilePath.java:1171)
at hudson.FilePath.act(FilePath.java:991)
at hudson.FilePath.act(FilePath.java:969)
at hudson.FilePath.deleteRecursive(FilePath.java:1171)
at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:210)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
at hudson.model.Build$BuildExecution.post2(Build.java:185)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
at hudson.model.Run.execute(Run.java:1766)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:381)