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)

Stack Overflow | Ambuj Jauhari | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Could not find which method <init>() to invoke from this list on newInstance in groovy closure

    Stack Overflow | 9 months ago | Ambuj Jauhari
    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)

    Root Cause Analysis

    1. 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()
    2. Groovy
      MetaClassImpl.invokeConstructor
      1. groovy.lang.MetaClassImpl.chooseMethodInternal(MetaClassImpl.java:3160)
      2. groovy.lang.MetaClassImpl.chooseMethod(MetaClassImpl.java:3097)
      3. groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1707)
      4. groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1526)
      4 frames