{"action":"created","issue":{"url":"https://api.github.com/repos/fabric8io/kubernetes-workflow/issues/35","repository_url":"https://api.github.com/repos/fabric8io/kubernetes-workflow","labels_url":"https://api.github.com/repos/fabric8io/kubernetes-workflow/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/kubernetes-workflow/issues/35/comments","events_url":"https://api.github.com/repos/fabric8io/kubernetes-workflow/issues/35/events","html_url":"https://github.com/fabric8io/kubernetes-workflow/issues/35","id":135373950,"number":35,"title":"java.lang.NoSuchMethodError: io.fabric8.kubernetes.client.Config.<init>","user":{"login":"rawlingsj","id":1457180,"avatar_url":"https://avatars.githubusercontent.com/u/1457180?v=3","gravatar_id":"","url":"https://api.github.com/users/rawlingsj","html_url":"https://github.com/rawlingsj","followers_url":"https://api.github.com/users/rawlingsj/followers","following_url":"https://api.github.com/users/rawlingsj/following{/other_user}","gists_url":"https://api.github.com/users/rawlingsj/gists{/gist_id}","starred_url":"https://api.github.com/users/rawlingsj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rawlingsj/subscriptions","organizations_url":"https://api.github.com/users/rawlingsj/orgs","repos_url":"https://api.github.com/users/rawlingsj/repos","events_url":"https://api.github.com/users/rawlingsj/events{/privacy}","received_events_url":"https://api.github.com/users/rawlingsj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-22T10:14:27Z","updated_at":"2016-02-22T12:44:51Z","closed_at":null,"body":"I'm getting the following error during a release and stage of a new nodejs project.\r\n```\r\n[Pipeline] stage: Rolling upgrade Staging\r\nEntering stage Rolling upgrade Staging\r\nProceeding\r\n[Pipeline] kubernetesApply\r\n[Pipeline] } //node\r\n[Pipeline] Allocate node : End\r\n[Pipeline] End of Pipeline\r\njava.lang.NoSuchMethodError: io.fabric8.kubernetes.client.Config.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIJILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V\r\n\tat io.fabric8.openshift.client.OpenShiftConfig.<init>(OpenShiftConfig.java:47)\r\n\tat io.fabric8.openshift.client.OpenShiftConfig.<init>(OpenShiftConfig.java:60)\r\n\tat io.fabric8.openshift.client.OpenShiftConfig.<init>(OpenShiftConfig.java:38)\r\n\tat io.fabric8.openshift.client.OpenShiftExtensionAdapter.isAdaptable(OpenShiftExtensionAdapter.java:46)\r\n\tat io.fabric8.openshift.client.OpenShiftExtensionAdapter.adapt(OpenShiftExtensionAdapter.java:55)\r\n\tat io.fabric8.openshift.client.OpenShiftExtensionAdapter.adapt(OpenShiftExtensionAdapter.java:33)\r\n\tat io.fabric8.kubernetes.client.BaseClient.adapt(BaseClient.java:128)\r\n\tat io.fabric8.workflow.devops.ApplyStepExecution.createRoutes(ApplyStepExecution.java:190)\r\n\tat io.fabric8.workflow.devops.ApplyStepExecution.run(ApplyStepExecution.java:133)\r\n\tat io.fabric8.workflow.devops.ApplyStepExecution.run(ApplyStepExecution.java:64)\r\n\tat org.jenkinsci.plugins.workflow.steps.AbstractSynchronousStepExecution.start(AbstractSynchronousStepExecution.java:40)\r\n\tat org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:136)\r\n\tat org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:112)\r\n\tat groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)\r\n\tat org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)\r\n\tat org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)\r\n\tat org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151)\r\n\tat org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:21)\r\n\tat org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:76)\r\n\tat org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:149)\r\n\tat org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:146)\r\n\tat org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)\r\n\tat com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:15)\r\n\tat WorkflowScript.run(WorkflowScript:24)\r\n\tat ___cps.transform___(Native Method)\r\n\tat com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:55)\r\n\tat com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:106)\r\n\tat com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:79)\r\n\tat sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)\r\n\tat com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)\r\n\tat com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)\r\n\tat sun.reflect.GeneratedMethodAccessor177.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)\r\n\tat com.cloudbees.groovy.cps.impl.LocalVariableBlock$LocalVariable.get(LocalVariableBlock.java:33)\r\n\tat com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30)\r\n\tat com.cloudbees.groovy.cps.impl.LocalVariableBlock.evalLValue(LocalVariableBlock.java:22)\r\n\tat com.cloudbees.groovy.cps.LValueBlock$BlockImpl.eval(LValueBlock.java:55)\r\n\tat com.cloudbees.groovy.cps.LValueBlock.eval(LValueBlock.java:16)\r\n\tat com.cloudbees.groovy.cps.Next.step(Next.java:58)\r\n\tat com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154)\r\n\tat org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:19)\r\n\tat org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33)\r\n\tat org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30)\r\n\tat org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:106)\r\n\tat org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30)\r\n\tat org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164)\r\n\tat org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:277)\r\n\tat org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:77)\r\n\tat org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:186)\r\n\tat org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:184)\r\n\tat org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:47)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)\r\n\tat jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nFinished: FAILURE\r\n```"},"comment":{"url":"https://api.github.com/repos/fabric8io/kubernetes-workflow/issues/comments/187156334","html_url":"https://github.com/fabric8io/kubernetes-workflow/issues/35#issuecomment-187156334","issue_url":"https://api.github.com/repos/fabric8io/kubernetes-workflow/issues/35","id":187156334,"user":{"login":"iocanel","id":402008,"avatar_url":"https://avatars.githubusercontent.com/u/402008?v=3","gravatar_id":"","url":"https://api.github.com/users/iocanel","html_url":"https://github.com/iocanel","followers_url":"https://api.github.com/users/iocanel/followers","following_url":"https://api.github.com/users/iocanel/following{/other_user}","gists_url":"https://api.github.com/users/iocanel/gists{/gist_id}","starred_url":"https://api.github.com/users/iocanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iocanel/subscriptions","organizations_url":"https://api.github.com/users/iocanel/orgs","repos_url":"https://api.github.com/users/iocanel/repos","events_url":"https://api.github.com/users/iocanel/events{/privacy}","received_events_url":"https://api.github.com/users/iocanel/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T12:44:51Z","updated_at":"2016-02-22T12:44:51Z","body":"@rawlingsj: The client seems to be fine! We are just using incompatible version between kubernetes-client and openshift-client (the later is brought in fabric8 kubernetes-api). \r\n\r\nSo we either need to also upgrade fabric8 to use the latest kubernetes-client stuff, or use dependencyManagement for that."}}