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]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web265

  • via Google Groups by raphael...@stef.com (JIRA), 10 months ago
    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
  • via Google Groups by lglic...@circleup.com (JIRA), 7 months ago
    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>)
  • via Google Groups by gaiz...@gmail.com (JIRA), 9 months ago
    Failed to create Script instance <span class="code-keyword" style="color: #000091">for</span> class: class WorkflowScript. Reason: java.lang.RuntimeException: java.lang.ClassNotFoundException: java.io.Serializable
  • Stack trace

    • 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(MetaClassImpl.java:3240)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 3 weeks ago
    2 times, 3 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    5 more bugmates