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

CLI login command fails on Windows

    Details

    • Similar Issues:

      Description

      Starting with the integration of JNR in 1.518, the login CLI command fails on Windows:

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: