groovy.lang.MissingMethodException: No signature of method: javaposse.jobdsl.dsl.helpers.triggers.TriggerContext.pullRequest() is applicable for argument types: (script$_run_closure2$_closure11$_closure16) values: [script$_run_closure2$_closure11$_closure16@37023619] 12:25:56.249 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.AbstractExtensibleContext.methodMissing(AbstractExtensibleContext.groovy:19) 12:25:56.249 [DEBUG] [TestEventLogger] at script.run_closure2$_closure11(script:47) 12:25:56.249 [DEBUG] [TestEventLogger] at script.run_closure2$_closure11(script) 12:25:56.250 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.ContextHelper.executeInContext(ContextHelper.groovy:16) 12:25:56.250 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.Job.triggers(Job.groovy:584) 12:25:56.250 [DEBUG] [TestEventLogger] at script.run_closure2(script:46) 12:25:56.250 [DEBUG] [TestEventLogger] at groovy.lang.Closure.call(Closure.java:414)

Jenkins JIRA | LawYard LawYard | 4 months ago
  1. 0

    Job DSL testing fail after upgrading GHPRB to 1.33.1 and using new DLS (change pullRequest to githubPullRequest): {code:java} triggers { githubPullRequest { admins(['user1', 'user2', 'user3']) orgWhitelist('ORG1') useGitHubHooks() } } {code} ./gradlew clean test output: {code:java} 12:25:56.244 [DEBUG] [TestEventLogger] com.dslexample.JobScriptsSpec > test script seed.groovy FAILED 12:25:56.244 [DEBUG] [TestEventLogger] Expected no exception to be thrown, but got 'javaposse.jobdsl.dsl.DslScriptException' 12:25:56.245 [DEBUG] [TestEventLogger] at spock.lang.Specification.noExceptionThrown(Specification.java:118) 12:25:56.245 [DEBUG] [TestEventLogger] at com.dslexample.JobScriptsSpec.test script #file.name(JobScriptsSpec.groovy:27) 12:25:56.245 [DEBUG] [TestEventLogger] 12:25:56.245 [DEBUG] [TestEventLogger] Caused by: 12:25:56.246 [DEBUG] [TestEventLogger] javaposse.jobdsl.dsl.DslScriptException: (script, line 47) No signature of method: javaposse.jobdsl.dsl.helpers.triggers.TriggerContext.pullRequest() is applicable for argument types: (script$_run_closure2$_closure11$_closure16) values: [script$_run_closure2$_closure11$_closure16@37023619] 12:25:56.246 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.DslScriptLoader.runScriptEngine(DslScriptLoader.groovy:135) 12:25:56.246 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.DslScriptLoader.runScriptsWithClassLoader_closure1(DslScriptLoader.groovy:78) 12:25:56.246 [DEBUG] [TestEventLogger] at groovy.lang.Closure.call(Closure.java:414) 12:25:56.247 [DEBUG] [TestEventLogger] at groovy.lang.Closure.call(Closure.java:430) 12:25:56.247 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.DslScriptLoader.runScriptsWithClassLoader(DslScriptLoader.groovy:68) 12:25:56.247 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.DslScriptLoader.runScripts(DslScriptLoader.groovy:44) 12:25:56.247 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.DslScriptLoader.runScript(DslScriptLoader.groovy:58) 12:25:56.248 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.DslScriptLoader.runDslEngine(DslScriptLoader.groovy:182) 12:25:56.248 [DEBUG] [TestEventLogger] at com.dslexample.JobScriptsSpec.test script #file.name(JobScriptsSpec.groovy:24) 12:25:56.248 [DEBUG] [TestEventLogger] 12:25:56.248 [DEBUG] [TestEventLogger] Caused by: 12:25:56.249 [DEBUG] [TestEventLogger] groovy.lang.MissingMethodException: No signature of method: javaposse.jobdsl.dsl.helpers.triggers.TriggerContext.pullRequest() is applicable for argument types: (script$_run_closure2$_closure11$_closure16) values: [script$_run_closure2$_closure11$_closure16@37023619] 12:25:56.249 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.AbstractExtensibleContext.methodMissing(AbstractExtensibleContext.groovy:19) 12:25:56.249 [DEBUG] [TestEventLogger] at script.run_closure2$_closure11(script:47) 12:25:56.249 [DEBUG] [TestEventLogger] at script.run_closure2$_closure11(script) 12:25:56.250 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.ContextHelper.executeInContext(ContextHelper.groovy:16) 12:25:56.250 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.Job.triggers(Job.groovy:584) 12:25:56.250 [DEBUG] [TestEventLogger] at script.run_closure2(script:46) 12:25:56.250 [DEBUG] [TestEventLogger] at groovy.lang.Closure.call(Closure.java:414) 12:25:56.251 [DEBUG] [TestEventLogger] at groovy.lang.Closure.call(Closure.java:430) 12:25:56.251 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.JobParent.processItem(JobParent.groovy:134) 12:25:56.251 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.JobParent.freeStyleJob(JobParent.groovy:46) 12:25:56.251 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.JobParent.job(JobParent.groovy:38) 12:25:56.252 [DEBUG] [TestEventLogger] at script.run(script:28) 12:25:56.252 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.DslScriptLoader.runScriptEngine(DslScriptLoader.groovy:129) 12:25:56.252 [DEBUG] [TestEventLogger] ... 8 more {code}

    Jenkins JIRA | 4 months ago | LawYard LawYard
    groovy.lang.MissingMethodException: No signature of method: javaposse.jobdsl.dsl.helpers.triggers.TriggerContext.pullRequest() is applicable for argument types: (script$_run_closure2$_closure11$_closure16) values: [script$_run_closure2$_closure11$_closure16@37023619] 12:25:56.249 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.AbstractExtensibleContext.methodMissing(AbstractExtensibleContext.groovy:19) 12:25:56.249 [DEBUG] [TestEventLogger] at script.run_closure2$_closure11(script:47) 12:25:56.249 [DEBUG] [TestEventLogger] at script.run_closure2$_closure11(script) 12:25:56.250 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.ContextHelper.executeInContext(ContextHelper.groovy:16) 12:25:56.250 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.Job.triggers(Job.groovy:584) 12:25:56.250 [DEBUG] [TestEventLogger] at script.run_closure2(script:46) 12:25:56.250 [DEBUG] [TestEventLogger] at groovy.lang.Closure.call(Closure.java:414)
  2. 0

    [JIRA] (JENKINS-37647) Job DSL githubPullRequest: No signature of method

    Google Groups | 4 months ago | law...@gmail.com (JIRA)
    groovy.lang.MissingMethodException: No signature of method: javaposse.jobdsl.dsl.helpers.triggers.TriggerContext.pullRequest() is applicable <span class="code-keyword" style="color: #000091">for</span> argument types: (script$_run_closure2$_closure11$_closure16) values: [script$_run_closure2$_closure11$_closure16@37023619] 12:25:56.249 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.AbstractExtensibleContext.methodMissing(AbstractExtensibleContext.groovy:19) 12:25:56.249 [DEBUG] [TestEventLogger] at script.run_closure2$_closure11(script:47) 12:25:56.249 [DEBUG] [TestEventLogger] at script.run_closure2$_closure11(script) 12:25:56.250 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.ContextHelper.executeInContext(ContextHelper.groovy:16) 12:25:56.250 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.Job.triggers(Job.groovy:584) 12:25:56.250 [DEBUG] [TestEventLogger] at script.run_closure2(script:46) 12:25:56.250 [DEBUG] [TestEventLogger] at groovy.lang.Closure.call(Closure.java:414)
  3. 0

    html report does not display the content

    GitHub | 4 years ago | k4124k
    groovy.lang.MissingMethodException: No signature of method: step_defintions.CommonSteps$_run_closure1.doCall() is applicable for argument types: (cucumber.runtime.ScenarioImpl) values: [cucumber.runtime.ScenarioImpl@1970ae0]\nPossible solutions: doCall(), findAll(), findAll(), isCase(java.lang.Object), isCase(java.lang.Object)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Groovy MissingMethodException on closure

    Stack Overflow | 2 years ago | IAmYourFaja
    groovy.lang.MissingMethodException: No signature of method: com.me.myapp.Widget$_closure1_closure3.doCall() is applicable for argument types: (com.vmware.vim25.mo.Folder) values: [Folder:group-s38651 @ https://dev-vcenter.myorg.com/sdk] Possible solutions: doCall(com.vmware.vim25.mo.Datastore), findAll(), findAll(), isCase(java.lang.Object), isCase(java.lang.Object)
  6. 0

    Errors using GAsyncTask

    GitHub | 2 years ago | tgirard12
    groovy.lang.MissingMethodException: No signature of method: MY_FRAGMENT$_getBackgroundNewEvent_background_closure3.doCall() is applicable for argument types: (null, com.arasthel.swissknife.dsl.components.GAsyncTask) values: [null, com.arasthel.swissknife.dsl.components.GAsyncTask@52d5d5b8] Possible solutions: doCall(), doCall(java.lang.Object), findAll(), findAll()

    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: javaposse.jobdsl.dsl.helpers.triggers.TriggerContext.pullRequest() is applicable for argument types: (script$_run_closure2$_closure11$_closure16) values: [script$_run_closure2$_closure11$_closure16@37023619] 12:25:56.249 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.AbstractExtensibleContext.methodMissing(AbstractExtensibleContext.groovy:19) 12:25:56.249 [DEBUG] [TestEventLogger] at script.run_closure2$_closure11(script:47) 12:25:56.249 [DEBUG] [TestEventLogger] at script.run_closure2$_closure11(script) 12:25:56.250 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.ContextHelper.executeInContext(ContextHelper.groovy:16) 12:25:56.250 [DEBUG] [TestEventLogger] at javaposse.jobdsl.dsl.Job.triggers(Job.groovy:584) 12:25:56.250 [DEBUG] [TestEventLogger] at script.run_closure2(script:46) 12:25:56.250 [DEBUG] [TestEventLogger] at groovy.lang.Closure.call(Closure.java:414)

      at groovy.lang.Closure.call()
    2. Groovy
      Closure.call
      1. groovy.lang.Closure.call(Closure.java:430)
      1 frame
    3. javaposse.jobdsl.dsl
      JobParent.job
      1. javaposse.jobdsl.dsl.JobParent.processItem(JobParent.groovy:134)
      2. javaposse.jobdsl.dsl.JobParent.freeStyleJob(JobParent.groovy:46)
      3. javaposse.jobdsl.dsl.JobParent.job(JobParent.groovy:38)
      3 frames