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

"Prune stale remote-tracking branches" causes IAE

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin
    • Jenkins 1.530
      Windows Slave
      Used Git is standard Git

      With "Prune stale remote-tracking branches" enabled, builds fail with this stacktrace:

      Started by an SCM change
      Building remotely on ciwin8 in workspace c:\ci\workspace\foo
      Fetching changes from the remote Git repository
      Fetching upstream changes from origin
      Checking out Revision 9dcf1a0d1098ceaa45e56fa199705eb182691b80 (origin/master)
      FATAL: wrong number of arguments
      java.lang.IllegalArgumentException: wrong number of arguments
      	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.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
      	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
      	at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:287)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      	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:60)
      	at java.lang.Thread.run(Unknown Source)
      

          [JENKINS-19523] "Prune stale remote-tracking branches" causes IAE

          This is a problem in remoting (which is a part of the core), not in the plugin.

          This issue has already been fixed in remoting 2.17 (by commit 83f9d643abf3f479eb88c1aa81d550bd18a312c0).

          Kohsuke Kawaguchi added a comment - This is a problem in remoting (which is a part of the core), not in the plugin. This issue has already been fixed in remoting 2.17 (by commit 83f9d643abf3f479eb88c1aa81d550bd18a312c0).

          Michael Lewis added a comment -

          I am having this issue too (once I upgraded my git plugin).

          It seems 2.17 is about a year old, and I am on a new jenkins. Does it not ship with the latest remoting plugin?

          Michael Lewis added a comment - I am having this issue too (once I upgraded my git plugin). It seems 2.17 is about a year old, and I am on a new jenkins. Does it not ship with the latest remoting plugin?

            kohsuke Kohsuke Kawaguchi
            zeha Christian Hofstaedtler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: