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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by DeepakRajendranMsft
, 1 year ago
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.
via Jenkins JIRA by dan tran, 1 year ago
C:\Users\trand8\AppData\Local\Temp\hudson6220150106327700823tmp\cvs\WEB-INF\lib\class es.jar: The process cannot access the file because it is being used by another process.
via Google Groups by sergey....@checkmarx.com (JIRA), 1 year ago
C:\Users\theuser\AppData\Local\Temp\hudson4255358313274730321tmp\ant-1.2\WEB-INF\lib\classes.jar: The process cannot access the file because it is being used by another process.</p> <p style="margin: 10px 0 0 0">
via GitHub by JanneKiiskila
, 1 month ago
c:\jsbld\ws\mbed-os\e_g_pr_tls@4\tls-client@tmp\durable-19ffe8a3\jenkins-log.txt: The process cannot access the file because it is being used by another process.
via Google Groups by Unknown author, 5 months ago
<http://d1m1s1b1.stat.columbia.edu:8080/job/Stan%20Unit%20Tests/ws/.git/objects/pack/pack-0219e0c1806e4acbe043078bc33061dc9516f822.pack>: The process cannot access the file because it is being used by another process.
via GitHub by adriaanm
, 1 month ago
y:\jenkins\tmp\test-8354326820267605177.jar: The process cannot access the file because it is being used by another process. , took 0.041 sec
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.
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 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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.