Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54892

java.nio.file.AccessDeniedException: C:\Program Files\Java\jdk1.8.0_171\bin\java.exe

    Details

    • Similar Issues:

      Description

      After upgrading to New Jenkins version 2.138.3, Jenkins job is failed due to 

      java.nio.file.AccessDeniedException: C:\Program Files\Java\jdk1.8.0_171\bin\java.exe
      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 hudson.Util.tryOnceDeleteFile(Util.java:316)
      at hudson.Util.deleteFile(Util.java:272)
      Caused: java.io.IOException: Unable to delete 'C:\Program Files\Java\jdk1.8.0_171\bin\java.exe'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
      at hudson.Util.deleteFile(Util.java:277)
      at hudson.FilePath.deleteRecursive(FilePath.java:1304)
      at hudson.FilePath.deleteContentsRecursive(FilePath.java:1313)
      at hudson.FilePath.deleteRecursive(FilePath.java:1295)

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              fbelzunc Félix Belzunce Arcos
              Reporter:
              saftron safty magnetron
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: