hudson.util.IOException2: remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1

Jenkins JIRA | Jesse Glick | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Starting with the integration of JNR in 1.518, the {{login}} CLI command fails on Windows: {code:none} hudson.util.IOException2: remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1 at hudson.FilePath.act(FilePath.java:905) at hudson.FilePath.act(FilePath.java:882) at hudson.cli.ClientAuthenticationCache.save(ClientAuthenticationCache.java:109) at hudson.cli.ClientAuthenticationCache.set(ClientAuthenticationCache.java:97) at hudson.cli.LoginCommand.run(LoginCommand.java:37) at ... Caused by: java.io.IOException: Remote call on CLI channel from /127.0.0.1 failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.FilePath.act(FilePath.java:898) ... 24 more Caused by: java.lang.NoClassDefFoundError: jnr/ffi/util/ref/internal/Finalizer$ShutDown at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at jnr.ffi.util.ref.FinalizableReferenceQueue.getStartFinalizer(FinalizableReferenceQueue.java:292) at jnr.ffi.util.ref.FinalizableReferenceQueue.<clinit>(FinalizableReferenceQueue.java:90) at jnr.ffi.provider.jffi.NativeFinalizer.<init>(NativeFinalizer.java:9) at jnr.ffi.provider.jffi.NativeFinalizer$SingletonHolder.<clinit>(NativeFinalizer.java:12) at jnr.ffi.provider.jffi.NativeFinalizer.getInstance(NativeFinalizer.java:16) at jnr.ffi.provider.jffi.TransientNativeMemory$Magazine.<init>(TransientNativeMemory.java:110) at jnr.ffi.provider.jffi.TransientNativeMemory.allocate(TransientNativeMemory.java:53) at jnr.ffi.provider.jffi.NativeMemoryManager.allocateDirect(NativeMemoryManager.java:45) at jnr.ffi.Memory.allocateDirect(Memory.java:124) at jnr.posix.WString$1.toNative(WString.java:33) at jnr.posix.WString$1.toNative(WString.java:26) at jnr.posix.WindowsLibC$jnr$ffi$0._wchmod(Unknown Source) at jnr.posix.WindowsPOSIX.chmod(WindowsPOSIX.java:136) at jnr.posix.CheckedPOSIX.chmod(CheckedPOSIX.java:49) at jnr.posix.LazyPOSIX.chmod(LazyPOSIX.java:51) at hudson.cli.ClientAuthenticationCache$2.invoke(ClientAuthenticationCache.java:121) at hudson.cli.ClientAuthenticationCache$2.invoke(ClientAuthenticationCache.java:109) at ... Caused by: java.lang.ClassNotFoundException: jnr.ffi.util.ref.internal.Finalizer$ShutDown at java.net.URLClassLoader$1.run(Unknown Source) at ... ... 31 more{code}

    Jenkins JIRA | 4 years ago | Jesse Glick
    hudson.util.IOException2: remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1
  2. 0

    Starting with the integration of JNR in 1.518, the {{login}} CLI command fails on Windows: {code:none} hudson.util.IOException2: remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1 at hudson.FilePath.act(FilePath.java:905) at hudson.FilePath.act(FilePath.java:882) at hudson.cli.ClientAuthenticationCache.save(ClientAuthenticationCache.java:109) at hudson.cli.ClientAuthenticationCache.set(ClientAuthenticationCache.java:97) at hudson.cli.LoginCommand.run(LoginCommand.java:37) at ... Caused by: java.io.IOException: Remote call on CLI channel from /127.0.0.1 failed at hudson.remoting.Channel.call(Channel.java:723) at hudson.FilePath.act(FilePath.java:898) ... 24 more Caused by: java.lang.NoClassDefFoundError: jnr/ffi/util/ref/internal/Finalizer$ShutDown at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at jnr.ffi.util.ref.FinalizableReferenceQueue.getStartFinalizer(FinalizableReferenceQueue.java:292) at jnr.ffi.util.ref.FinalizableReferenceQueue.<clinit>(FinalizableReferenceQueue.java:90) at jnr.ffi.provider.jffi.NativeFinalizer.<init>(NativeFinalizer.java:9) at jnr.ffi.provider.jffi.NativeFinalizer$SingletonHolder.<clinit>(NativeFinalizer.java:12) at jnr.ffi.provider.jffi.NativeFinalizer.getInstance(NativeFinalizer.java:16) at jnr.ffi.provider.jffi.TransientNativeMemory$Magazine.<init>(TransientNativeMemory.java:110) at jnr.ffi.provider.jffi.TransientNativeMemory.allocate(TransientNativeMemory.java:53) at jnr.ffi.provider.jffi.NativeMemoryManager.allocateDirect(NativeMemoryManager.java:45) at jnr.ffi.Memory.allocateDirect(Memory.java:124) at jnr.posix.WString$1.toNative(WString.java:33) at jnr.posix.WString$1.toNative(WString.java:26) at jnr.posix.WindowsLibC$jnr$ffi$0._wchmod(Unknown Source) at jnr.posix.WindowsPOSIX.chmod(WindowsPOSIX.java:136) at jnr.posix.CheckedPOSIX.chmod(CheckedPOSIX.java:49) at jnr.posix.LazyPOSIX.chmod(LazyPOSIX.java:51) at hudson.cli.ClientAuthenticationCache$2.invoke(ClientAuthenticationCache.java:121) at hudson.cli.ClientAuthenticationCache$2.invoke(ClientAuthenticationCache.java:109) at ... Caused by: java.lang.ClassNotFoundException: jnr.ffi.util.ref.internal.Finalizer$ShutDown at java.net.URLClassLoader$1.run(Unknown Source) at ... ... 31 more{code}

    Jenkins JIRA | 4 years ago | Jesse Glick
    hudson.util.IOException2: remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1
  3. 0

    [JENKINS-19192] CLI login command fails on Windows - Jenkins JIRA

    jenkins-ci.org | 3 weeks ago
    hudson.util.IOException2: remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.util.IOException2

      remote file operation failed: C:\Documents and Settings\Jesse Glick\.hudson\cli-credentials at hudson.remoting.Channel@1a8afc3:CLI channel from /127.0.0.1

      at hudson.FilePath.act()
    2. Hudson
      LoginCommand.run
      1. hudson.FilePath.act(FilePath.java:905)
      2. hudson.FilePath.act(FilePath.java:882)
      3. hudson.cli.ClientAuthenticationCache.save(ClientAuthenticationCache.java:109)
      4. hudson.cli.ClientAuthenticationCache.set(ClientAuthenticationCache.java:97)
      5. hudson.cli.LoginCommand.run(LoginCommand.java:37)
      5 frames