groovy.lang.GroovyRuntimeException: Ambiguous method overloading <span class="code-keyword" style="color: #000091">for</span> method java.io.File#&lt;init&gt;. Cannot resolve which method to invoke <span class="code-keyword" style="color: #000091">for</span> [<span class="code-keyword" style="color: #000091">null</span>] due to overlapping prototypes between: [class java.lang.<span class="code-object" style="color: #910091">String</span>] [class java.net.URI]

Google Groups | raphael...@stef.com (JIRA) | 3 months ago
  1. 0

    [JIRA] (JENKINS-37967) dynamic choice parameter not compatible with folder + windows slave

    Google Groups | 3 months ago | raphael...@stef.com (JIRA)
    groovy.lang.GroovyRuntimeException: Ambiguous method overloading <span class="code-keyword" style="color: #000091">for</span> method java.io.File#&lt;init&gt;. Cannot resolve which method to invoke <span class="code-keyword" style="color: #000091">for</span> [<span class="code-keyword" style="color: #000091">null</span>] due to overlapping prototypes between: [class java.lang.<span class="code-object" style="color: #910091">String</span>] [class java.net.URI]
  2. 0

    if i use a dynamic choice parameter in a job executed on a (remote) windows slave, it works. {code:java} List<String> listDir = new ArrayList<String>(); new File(System.getenv("HOMEPATH")).eachDir() { dir -> listDir.add(dir.getName() ) } return listDir.reverse() {code} but if this job is in a folder (https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Folders+Plugin ), it does not work (the paramter field is empty in the jenkins log, i can see: {code:java} sept. 05, 2016 5:41:49 PM com.seitenbau.jenkins.plugins.dynamicparameter.BaseParameterDefinition executeScript AVERTISSEMENT: No label is assigned to project; script for parameter '' will be executed on master sept. 05, 2016 5:41:49 PM com.seitenbau.jenkins.plugins.dynamicparameter.util.JenkinsUtils execute GRAVE: Cannot access class path groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.io.File#<init>. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.String] [class java.net.URI] at groovy.lang.MetaClassImpl.chooseMostSpecificParams(MetaClassImpl.java:3240) ... sept. 05, 2016 5:41:49 PM com.seitenbau.jenkins.plugins.dynamicparameter.BaseParameterDefinition getScriptResultAsList INFOS: Script parameter with name '' is not a instance of java.util.List the parameter value is : null {code}

    Jenkins JIRA | 3 months ago | Raphaƫl UNIQUE
    groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.io.File#<init>. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.String] [class java.net.URI]
  3. 0

    [JIRA] (JENKINS-40136) Declarative doesn't allow parallel steps to failFast

    Google Groups | 6 days ago | lglic...@circleup.com (JIRA)
    groovy.lang.GroovyRuntimeException: Could not find matching constructor <span class="code-keyword" style="color: #000091">for</span>: org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTKey(org.codehaus.groovy.ast.expr.ConstantExpression, <span class="code-keyword" style="color: #000091">null</span>)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Gradle build progress bar always at 0%

    Stack Overflow | 1 year ago | ss1891
    groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.io.File#<init>. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.String] [class java.net.URI]
  6. 0

    GitHub comment 33#96056365

    GitHub | 2 years ago | ageorge303
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':deployToServer'.

    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.GroovyRuntimeException

      Ambiguous method overloading <span class="code-keyword" style="color: #000091">for</span> method java.io.File#&lt;init&gt;. Cannot resolve which method to invoke <span class="code-keyword" style="color: #000091">for</span> [<span class="code-keyword" style="color: #000091">null</span>] due to overlapping prototypes between: [class java.lang.<span class="code-object" style="color: #910091">String</span>] [class java.net.URI]

      at groovy.lang.MetaClassImpl.chooseMostSpecificParams()
    2. Groovy
      MetaClassImpl.chooseMostSpecificParams
      1. groovy.lang.MetaClassImpl.chooseMostSpecificParams(MetaClassImpl.java:3240)
      1 frame