hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: static Maven.svnRelease() is applicable for argument types: (org.jenkinsci.plugins.workflow.cps.CpsClosure2) values: [org.jenkinsci.plugins.workflow.cps.CpsClosure2@3a07d220] Possible solutions: svnRelease(groovy.lang.Closure)

Jenkins JIRA | Mark Bidewell | 5 months ago
  1. 0

    I updated to the latest Pipeline plugins. I had some library functions taking closures created using the directions here: https://github.com/jenkinsci/workflow-cps-global-lib-plugin/blob/master/README.md Prior to the update the scripts worked perfectly. after updating I get the error: hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: static Maven.svnRelease() is applicable for argument types: (org.jenkinsci.plugins.workflow.cps.CpsClosure2) values: [org.jenkinsci.plugins.workflow.cps.CpsClosure2@3a07d220] Possible solutions: svnRelease(groovy.lang.Closure) at groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1367) at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1353) at org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:50) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:15) at WorkflowScript.run(WorkflowScript:1) at ___cps.transform___(Native Method) at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:55) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:106) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:79) 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 com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.ClosureBlock.eval(ClosureBlock.java:40) at com.cloudbees.groovy.cps.Next.step(Next.java:58) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:297) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:78) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:206) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:204) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:47) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Finished: FAILURE Reverting the Pipeline updates resolved the issue. The last known working Pipeline plugin versions are: Pipeline -> 2.1 Pipeline: API -> 2.1 Pipeline: Basic Steps -> 1.15 Pipeline: Build Step -> 2.0 Pipeline: Groovy -> 2.2 Pipeline: Input Step -> 2.0 Pipeline: Job -> 2.1 Pipeline: Multibranch -> 2.3 Pipeline: Nodes and Processes -> 2.0 Pipeline: SCM Step -> 2.2 Pipeline: Shared Groovy Libraries -> 2.0 Pipeline: Stage Step -> 2.0 Pipeline: Step API -> 2.2 Pipeline: Supporting APIs -> 2.0

    Jenkins JIRA | 5 months ago | Mark Bidewell
    hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: static Maven.svnRelease() is applicable for argument types: (org.jenkinsci.plugins.workflow.cps.CpsClosure2) values: [org.jenkinsci.plugins.workflow.cps.CpsClosure2@3a07d220] Possible solutions: svnRelease(groovy.lang.Closure)
  2. 0

    Jenkins pipeline parallel failing to build branches when map is returned from static method

    Stack Overflow | 4 months ago | Myles Offord
    hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: org.jenkinsci.plugins.workflow.cps.CpsClosure2.node() is applicable for argument types: (org.jenkinsci.plugins.workflow.cps.CpsClosure2) values: [org.jenkinsci.plugins.workflow.cps.CpsClosure2@cd936a] Possible solutions: clone(), use([Ljava.lang.Object;), notify(), wait(), call(), run()
  3. 0

    load groovy class with multiple import statements in Jenkins

    Stack Overflow | 4 months ago | Santhosh Santhu
    hudson.remoting.ProxyException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: /opt/tibco/deploy_tool/DEV/Tibco_Automation/src/com/merck/comet/DBConnectionManager.groovy: 3: unable to resolve class opt.tibco.deploy_tool.DEV.Tibco_Automation.src.com.merck.Entity.ConfigEntity @ line 3, column 1. import opt.tibco.deploy_tool.DEV.Tibco_Automation.src.com.merck.Entity.ConfigEntity ^ /opt/tibco/deploy_tool/DEV/Tibco_Automation/src/com/merck/comet/DBConnectionManager.groovy: 4: unable to resolve class opt.tibco.deploy_tool.DEV.Tibco_Automation.src.com.merck.Entity.ServiceEntity @ line 4, column 1. import opt.tibco.deploy_tool.DEV.Tibco_Automation.src.com.merck.Entity.ServiceEntity ^ 2 errors
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-34517] Pipeline is unable to locate global libraries when build attempts to continue on restart - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: TEST.testMethod() is applicable argument types: (java.lang. ) values: [47380] Possible solutions: testMethod(java.lang. ), testMethod()
  6. 0

    MissingMethodException when Calling Global Libary Functions

    Google Groups | 5 months ago | Mark Bidewell
    hudson.remoting.ProxyException: groovy.lang.MissingMethodException: No signature of method: static Maven.svnRelease() is applicable for argument types: (org.jenkinsci.plugins.workflow.cps.CpsClosure2) values: [org.jenkinsci.plugins.workflow.cps.CpsClosure2@3a07d220] Possible solutions: svnRelease(groovy.lang.Closure)

    1 unregistered visitors
    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. hudson.remoting.ProxyException

      groovy.lang.MissingMethodException: No signature of method: static Maven.svnRelease() is applicable for argument types: (org.jenkinsci.plugins.workflow.cps.CpsClosure2) values: [org.jenkinsci.plugins.workflow.cps.CpsClosure2@3a07d220] Possible solutions: svnRelease(groovy.lang.Closure)

      at groovy.lang.MetaClassImpl.invokeStaticMissingMethod()
    2. Groovy
      AbstractCallSite.call
      1. groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1367)
      2. groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1353)
      3. org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:50)
      4. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      5. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      5 frames
    3. com.cloudbees.groovy
      DefaultInvoker.methodCall
      1. com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:15)
      1 frame
    4. Unknown
      ___cps.transform___
      1. WorkflowScript.run(WorkflowScript:1)
      2. ___cps.transform___(Native Method)
      2 frames
    5. com.cloudbees.groovy
      FunctionCallBlock$ContinuationImpl.fixArg
      1. com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:55)
      2. com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:106)
      3. com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:79)
      3 frames
    6. 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
    7. com.cloudbees.groovy
      Continuable.run0
      1. com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
      2. com.cloudbees.groovy.cps.impl.ClosureBlock.eval(ClosureBlock.java:40)
      3. com.cloudbees.groovy.cps.Next.step(Next.java:58)
      4. com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154)
      4 frames
    8. org.jenkinsci.plugins
      CpsVmExecutorService$2.call
      1. org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164)
      2. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:297)
      3. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:78)
      4. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:206)
      5. org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:204)
      6. org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:47)
      6 frames
    9. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      1 frame
    10. Hudson :: Remoting Layer
      SingleLaneExecutorService$1.run
      1. hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
      1 frame
    11. jenkins.util
      ContextResettingExecutorService$1.run
      1. jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      1 frame
    12. 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