org.codehaus.groovy.runtime.metaclass.MethodSelectionException

Could not find which method <init>() to invoke from this list: public java.lang.Boolean#<init>(boolean) public java.lang.Boolean#<init>(java.lang.String)

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 web11

  • Could not find which method <init>() to invoke from this list: public java.lang.Boolean#<init>(boolean) public java.lang.Boolean#<init>(java.lang.String)
  • via Google Groups by Marcin Gryszko, 3 weeks ago
    Could not find which method <init>() to invoke from this list: public java.io.File#<init>(java.net.URI) private java.io.File#<init>(java.lang.String, int) private java.io.File#<init>(java.lang.String, java.io.File) public java.io.File#<init
  • via Google Groups by Aschemann Gerd, 1 year ago
    Could not find which method <init>() to invoke from this list: public Tst$InnerImpl#<init>(Tst) public Tst$InnerImpl#<init>(Tst, boolean)
  • Stack trace

    • org.codehaus.groovy.runtime.metaclass.MethodSelectionException: Could not find which method <init>() to invoke from this list: public java.lang.Boolean#<init>(boolean) public java.lang.Boolean#<init>(java.lang.String) at groovy.lang.MetaClassImpl.chooseMethodInternal(MetaClassImpl.java:3160) at groovy.lang.MetaClassImpl.chooseMethod(MetaClassImpl.java:3097) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1707) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1526)

    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 months ago
    Unknown user
    Once, 8 months ago
    4 times, 11 months ago