groovy.lang.MissingMethodException: No signature of method: static io.fabric8.kubernetes.pipeline.Kubernetes.withEnv() is applicable for argument types: (java.lang.String, java.lang.String) values: [DOCKER_CONFIG, /home/jenkins/.docker/] Possible solutions: with(groovy.lang.Closure)

GitHub | magick93 | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 69#277132293

    GitHub | 3 months ago | magick93
    groovy.lang.MissingMethodException: No signature of method: static io.fabric8.kubernetes.pipeline.Kubernetes.withEnv() is applicable for argument types: (java.lang.String, java.lang.String) values: [DOCKER_CONFIG, /home/jenkins/.docker/] Possible solutions: with(groovy.lang.Closure)
  2. 0

    Upgraded Fabric8 - now jenkinsfile doesnt run

    Google Groups | 4 months ago | Unknown author
    hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: static io.fabric8.kubernetes.pipeline.Kubernetes.withPrivileged() is applicable for argument types: (java.lang.Boolean) values: [true]
  3. 0

    No clear upgrade path

    GitHub | 3 months ago | magick93
    hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: static io.fabric8.kubernetes.pipeline.Kubernetes.withPrivileged() is applicable for argument types: (java.lang.Boolean) values: [true]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [groovy-user] Groovy1.6 breaks my code (swingapp)

    Google Groups | 8 years ago | tran duc trung
    org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: GUI.panel() is applicable for argument types: (GUI$_closure2_closure6) values: {GUI$_closure2_closure6@1286b10}
  6. 0

    [groovy-user] Autobox issue with 1.5.2

    Google Groups | 9 years ago | cmay4
    groovy.lang.MissingMethodException: No signature of method: static Autobox$Util.printByte() is applicable for argument types: (java.lang.String, java.lang.Integer) values: {"1", 1}
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. groovy.lang.MissingMethodException

    No signature of method: static io.fabric8.kubernetes.pipeline.Kubernetes.withEnv() is applicable for argument types: (java.lang.String, java.lang.String) values: [DOCKER_CONFIG, /home/jenkins/.docker/] Possible solutions: with(groovy.lang.Closure)

    at groovy.lang.MetaClassImpl.invokeStaticMissingMethod()
  2. Groovy
    ScriptBytecodeAdapter.invokeMethodN
    1. groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1503)
    2. groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1489)
    3. org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:897)
    4. org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:168)
    4 frames
  3. io.fabric8.kubernetes
    Kubernetes$Container.methodMissing
    1. io.fabric8.kubernetes.pipeline.Kubernetes$Container.methodMissing(Kubernetes.groovy)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. Groovy
    MetaClassImpl.invokeMethod
    1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
    2. groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:941)
    3. groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1264)
    4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217)
    5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
    6. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:812)
    6 frames
  6. io.fabric8.kubernetes
    Kubernetes$Container.invokeMethod
    1. io.fabric8.kubernetes.pipeline.Kubernetes$Container.invokeMethod(Kubernetes.groovy)
    1 frame
  7. Groovy
    AbstractCallSite.call
    1. groovy.lang.GroovyObject$invokeMethod.call(Unknown Source)
    2. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
    3 frames
  8. org.kohsuke.groovy
    GroovyInterceptor.onMethodCall
    1. org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151)
    2. org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:21)
    2 frames
  9. org.jenkinsci.plugins
    SandboxInterceptor.onMethodCall
    1. org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:115)
    2. org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:103)
    2 frames
  10. org.kohsuke.groovy
    Checker.checkedCall
    1. org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:149)
    2. org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:146)
    2 frames
  11. com.cloudbees.groovy
    SandboxInvoker.methodCall
    1. com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:16)
    1 frame
  12. Unknown
    ___cps.transform___
    1. WorkflowScript.run(WorkflowScript:36)
    2. ___cps.transform___(Native Method)
    2 frames
  13. com.cloudbees.groovy
    FunctionCallBlock$ContinuationImpl.fixArg
    1. com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:57)
    2. com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109)
    3. com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82)
    3 frames
  14. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor378.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:498)
    3 frames
  15. com.cloudbees.groovy
    Continuable.run0
    1. com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
    2. com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
    3. com.cloudbees.groovy.cps.Next.step(Next.java:58)
    4. com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154)
    4 frames
  16. org.jenkinsci.plugins
    CpsVmExecutorService$2.call
    1. org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
    2. org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33)
    3. org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30)
    4. org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
    5. org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30)
    6. org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:163)
    7. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:328)
    8. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:80)
    9. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:240)
    10. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:228)
    11. org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:63)
    11 frames
  17. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    1 frame
  18. Hudson :: Remoting Layer
    SingleLaneExecutorService$1.run
    1. hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
    1 frame
  19. jenkins.util
    ContextResettingExecutorService$1.run
    1. jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
    1 frame
  20. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames