groovy.lang.MissingMethodException: No signature of method: org.jasig.ssp.util.migration.Main$_handleOptions_closure1.hasValue() is applicable for argument types: (java.lang.String) values: [--schema-file=db.xml]

Apereo Issues | Dan McCallum | 4 years ago
  1. 0

    Passing an arg other than --db-url will result in a stack trace. E.g. {noformat} dmccallum@dmccallum-mbp:~/dev1/ssp/src/ssp-data-migration (master)$ gradle -q run -PcliArgs="--db-url=jdbc:postgresql://localhost:5432/ssp-dev-1-2 --schema-file=db.xml" Exception in thread "main" groovy.lang.MissingMethodException: No signature of method: org.jasig.ssp.util.migration.Main$_handleOptions_closure1.hasValue() is applicable for argument types: (java.lang.String) values: [--schema-file=db.xml] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:379) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697) at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:72) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.jasig.ssp.util.migration.Main$_handleOptions_closure1.doCall(Main.groovy:64) {noformat}

    Apereo Issues | 4 years ago | Dan McCallum
    groovy.lang.MissingMethodException: No signature of method: org.jasig.ssp.util.migration.Main$_handleOptions_closure1.hasValue() is applicable for argument types: (java.lang.String) values: [--schema-file=db.xml]
  2. 0

    Passing an arg other than --db-url will result in a stack trace. E.g. {noformat} dmccallum@dmccallum-mbp:~/dev1/ssp/src/ssp-data-migration (master)$ gradle -q run -PcliArgs="--db-url=jdbc:postgresql://localhost:5432/ssp-dev-1-2 --schema-file=db.xml" Exception in thread "main" groovy.lang.MissingMethodException: No signature of method: org.jasig.ssp.util.migration.Main$_handleOptions_closure1.hasValue() is applicable for argument types: (java.lang.String) values: [--schema-file=db.xml] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:379) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697) at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:72) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at org.jasig.ssp.util.migration.Main$_handleOptions_closure1.doCall(Main.groovy:64) {noformat}

    Apereo Issues | 4 years ago | Dan McCallum
    groovy.lang.MissingMethodException: No signature of method: org.jasig.ssp.util.migration.Main$_handleOptions_closure1.hasValue() is applicable for argument types: (java.lang.String) values: [--schema-file=db.xml]
  3. 0

    I broke the build

    GitHub | 5 years ago | aslakhellesoy
    groovy.lang.MissingMethodException: No signature of method: cucumber.runtime.groovy.interpreted_stepdefs.haveCukes() is applicable for argument types: (java.lang.Integer) values: [12]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    groovy singleton to access overloaded constructor

    Stack Overflow | 5 years ago | anish
    groovy.lang.MissingMethodException: No signature of method: test.test() is applicable for argument types: (java.lang.String) values: [anish]
  6. 0

    How can I evaluate my own Groovy script from Java?

    Stack Overflow | 3 years ago | cgrgcn
    groovy.lang.MissingMethodException: No signature of method: Script1.customConcat() is applicable for argument types: (java.lang.String, java.lang.String) values: [foo, boo]

  1. Luka 2 times, last 2 months ago
  2. Cafecanudo 2 times, last 4 months ago
  3. mortalman7 1 times, last 5 months ago
  4. tfr 1 times, last 5 months ago
9 unregistered visitors
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: org.jasig.ssp.util.migration.Main$_handleOptions_closure1.hasValue() is applicable for argument types: (java.lang.String) values: [--schema-file=db.xml]

    at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod()
  2. Groovy
    AbstractCallSite.callCurrent
    1. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:379)
    2. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877)
    3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:697)
    4. groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)
    5. org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:72)
    6. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
    7. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
    8. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)
    8 frames
  3. org.jasig.ssp
    Main$_handleOptions_closure1.doCall
    1. org.jasig.ssp.util.migration.Main$_handleOptions_closure1.doCall(Main.groovy:64)
    1 frame