Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ScriptBytecodeAdapter.invokeMethod0() has thrown a MissingMethodException
    Apache Groovy
    0
    0
    2
  2. ScriptBytecodeAdapter.unwrap() has thrown a MissingMethodException
    Apache Groovy
    61
    88
    68

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
groovy.lang.MissingMethodException: No signature of method: $Proxy0.doIt() is applicable for argument types: () values: {}
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:169)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:195)

Solution

chinthana11 months ago

You can also get this error if the objects you're passing to the method are out of order. In other words say your method takes, in order, a string, an integer, and a date. If you pass a date, then a string, then an integer you will get this error.

External results for this pattern (10)

  1. Adam Tyborvia Google Groups1 month ago
    No signature of method: HelloWorld.should be hello world() is applicable for argument types: (HelloWorld$_run_closure1) values: [HelloWorld$_run_closure1@1abcc03]
    Show stack trace
  2. strdnvia GitHub2 months ago
    groovy.lang.MissingMethodException: No signature of method: com.dtolabs.rundeck.core.logging.LoggingManagerImpl.createManager() is applicable for argument types: (java.util.ArrayList) values: [[]]
    Show stack trace
  3. kaushalyevia GitHub2 months ago
    No signature of method: au.com.dius.pact.provider.ProviderVerifier.invokeProviderMethod() is applicable for argument types: (java.lang.reflect.Method) values: [public java.lang.String net.nxbos.ips.vehicletxn.resource.VehicleTxnResourcePactTest.verifyTransaction()] Possible solutions: invokeProviderMethod(java.lang.reflect.Method, java.lang.Object)
    Show stack trace
  4. CodeMedvia Stack Overflow3 months ago
    No signature of method: Script1.echo() is applicable for argument types: (java.lang.String) values: [GWS-43-getissueforcommit] Possible solutions: each(groovy.lang.Closure), getAt(java.lang.String), wait(), run(), run(), every()
    Show stack trace
  5. Matsa59via GitHub3 months ago
    No signature of method: java.lang.String.parameters() is applicable for argument types: () values: []
    Show stack trace
  6. tsvanessavia GitHub4 months ago
    Failed to load ApplicationContext
    Show stack trace
  7. aarelevia GitHub4 months ago
    No signature of method: java.util.ArrayList.toSorted() is applicable for argument types: (io.restassured.internal.RequestSpecificationImpl$_applyPathParamsAndSendRequest_closure32) values: [io.restassured.internal.RequestSpecificationImpl$_applyPathParamsAndSendRequest_closure32@64d0cbb1] Possible solutions: toSet(), toString(), toString(), toString(), toString(), sort()
    Show stack trace
  8. echohackvia GitHub4 months ago
    No signature of method: com.sun.proxy.$Proxy30.invokeInTransaction() is applicable for argument types: (LocalBuildService$1) values: [LocalBuildService$1@78d344a8] Possible solutions: invokeInTransaction(java.lang.String, java.util.concurrent.Callable)
    Show stack trace
  9. omazilovvia GitHub4 months ago
    No signature of method: Script1.slackSend() is applicable for argument types: (java.util.LinkedHashMap) values: [[baseUrl:https://mytestslack.slack.com/services/hooks/jenkins-ci/, ...]]
    Show stack trace
  10. areesevia GitHub4 months ago
    No signature of method: org.jfrog.artifactory.client.impl.ArtifactoryImpl.put() is applicable for argument types: (org.codehaus.groovy.ru ntime.GStringImpl, java.util.LinkedHashMap, java.io.BufferedInputStream, java.util.LinkedHashMap, java.lang.Class, groovyx.net.http.ContentType, java.lang.Long) values: [/http://areese_sshd_prototype: password@test.artifactory:4080/artifactory//com/yahoo/dps/sshd/0.0.1-SNAPSHOT/package.txt ...] Possible solutions: wait(), dump(), any(), find(), grep()
    Show stack trace