• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • Kubernetes Client API Plugin 5.4.1
      Kubernetes Credentials Provider 0.18-1
      Jenkins 2.289.1

      Jenkins print error when start

      2021-06-23 06:14:23.547+0000 [id=28] WARNING jenkins.model.Jenkins$5#runTask: KubernetesCredentialProvider.startWatchingForSecrets failed perhaps due to plugin dependency issues

      2021-06-23 06:14:23.547+0000 [id=28] WARNING jenkins.model.Jenkins$5#runTask: KubernetesCredentialProvider.startWatchingForSecrets failed perhaps due to plugin dependency issuesjava.lang.NoSuchMethodError: io.fabric8.kubernetes.client.dsl.FilterWatchListDeletable.watch(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; at com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.KubernetesCredentialProvider.startWatchingForSecrets(KubernetesCredentialProvider.java:128)Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)Caused: java.lang.Error at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296) at jenkins.model.Jenkins$5.runTask(Jenkins.java:1129) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

          [JENKINS-65962] java.lang.NoSuchMethodError when start

          Angel added a comment -

          Hi, I had the same problem, for the momento I resolved downgrading kubernetes-client-api plugin to 4.13.3-1, if you read changelog on this plugin it says:

          • Version 5.x and later have breaking API changes over 4.x so make sure to update as well plugins using this library at the same time.

          So please update the plugin to new api or mark version < 5.x

          Thanks

          Angel added a comment - Hi, I had the same problem, for the momento I resolved downgrading kubernetes-client-api plugin to 4.13.3-1, if you read changelog on this plugin it says: Version 5.x and later have breaking API changes over 4.x so make sure to update as well plugins using this library at the same time. So please update the plugin to new api or mark version < 5.x Thanks

          James Nord added a comment -

          Was released as 0.20

           

          James Nord added a comment - Was released as 0.20  

          Angel added a comment -

          I tested 0.20 and it worked fine.

          Thanks!

          Angel added a comment - I tested 0.20 and it worked fine. Thanks!

            teilo James Nord
            topikachu Yi Gong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: