java.nio.file.AccessDeniedException: \windows\addins\FXSEXT.ecf

Jenkins JIRA | Oleg Zhylin | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Why C:\Windows\addins\FXSEXT.ecf accessed by Jenkins git plugin

    Stack Overflow | 2 years ago | Oleg Zhylin
    java.nio.file.AccessDeniedException: \windows\addins\FXSEXT.ecf
  2. 0

    I configured a Windows Jenkins slave via JNLP agent on a new machine. When I tried to run a job, that is known to run fine on Windows slaves before I got the exception below. I could see in ProcMon that java.exe process tries to obtain Delete permissions to C:\Windows\addins\FXSEXT.ecf. Why does it need that? {code} Building remotely on ccnet-2013 (6.3 windows-6.3 windows amd64-windows-6.3 amd64-windows amd64) in workspace /windows Cloning the remote Git repository Cloning repository <my repo path> ERROR: Failed to clean the workspace java.nio.file.AccessDeniedException: \windows\addins\FXSEXT.ecf 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.Util.deleteRecursive(Util.java:310) at hudson.Util.deleteContentsRecursive(Util.java:212) at hudson.Util.deleteRecursive(Util.java:301) at hudson.Util.deleteContentsRecursive(Util.java:212) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:458) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:325) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:69) at java.lang.Thread.run(Unknown Source) ERROR: Error cloning remote repo 'origin' ERROR: Error cloning remote repo 'origin'{code}

    Jenkins JIRA | 2 years ago | Oleg Zhylin
    java.nio.file.AccessDeniedException: \windows\addins\FXSEXT.ecf
  3. 0

    I configured a Windows Jenkins slave via JNLP agent on a new machine. When I tried to run a job, that is known to run fine on Windows slaves before I got the exception below. I could see in ProcMon that java.exe process tries to obtain Delete permissions to C:\Windows\addins\FXSEXT.ecf. Why does it need that? {code} Building remotely on ccnet-2013 (6.3 windows-6.3 windows amd64-windows-6.3 amd64-windows amd64) in workspace /windows Cloning the remote Git repository Cloning repository <my repo path> ERROR: Failed to clean the workspace java.nio.file.AccessDeniedException: \windows\addins\FXSEXT.ecf 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.Util.deleteRecursive(Util.java:310) at hudson.Util.deleteContentsRecursive(Util.java:212) at hudson.Util.deleteRecursive(Util.java:301) at hudson.Util.deleteContentsRecursive(Util.java:212) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:458) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:325) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:69) at java.lang.Thread.run(Unknown Source) ERROR: Error cloning remote repo 'origin' ERROR: Error cloning remote repo 'origin'{code}

    Jenkins JIRA | 2 years ago | Oleg Zhylin
    java.nio.file.AccessDeniedException: \windows\addins\FXSEXT.ecf
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Deleting Java is throwing an exception on Windows

    GitHub | 11 months ago | kchodorow
    java.nio.file.AccessDeniedException: c:\jenkins\workspace\Bazel\JAVA_VERSION\1.7\PLATFORM_NAME\windows-x86_64\bazel-windows-x86_64\external\local_jdk\bin\java.exe
  6. 0

    Fail to clean the workspace due to AccessDeniedException

    GitHub | 1 year ago | adelez
    java.nio.file.AccessDeniedException: /home/jenkins/workspace/gRPC_master/config/opt/language/sanity/platform/linux/gens/src/proto/grpc/lb/v0/load_balancer.pb.c

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.nio.file.AccessDeniedException

      \windows\addins\FXSEXT.ecf

      at sun.nio.fs.WindowsException.translateToIOException()
    2. Java RT
      Method.invoke
      1. sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
      2. sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
      3. sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
      4. sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
      5. sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source)
      6. java.nio.file.Files.delete(Unknown Source)
      7. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      8. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      9. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      10. java.lang.reflect.Method.invoke(Unknown Source)
      10 frames
    3. Hudson
      Util.deleteContentsRecursive
      1. hudson.Util.deleteFile(Util.java:247)
      2. hudson.Util.deleteRecursive(Util.java:310)
      3. hudson.Util.deleteContentsRecursive(Util.java:212)
      4. hudson.Util.deleteRecursive(Util.java:301)
      5. hudson.Util.deleteContentsRecursive(Util.java:212)
      5 frames
    4. org.jenkinsci.plugins
      RemoteGitImpl$CommandInvocationHandler$1.call
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:458)
      2. org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
      3. org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
      3 frames
    5. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:121)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:49)
      3. hudson.remoting.Request$2.run(Request.java:325)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      4 frames
    6. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3 frames
    7. Hudson :: Remoting Layer
      Engine$1$1.run
      1. hudson.remoting.Engine$1$1.run(Engine.java:69)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame