groovy.lang.MissingMethodException: No signature of method: Demo.somePrivateMethod() is applicable for argument types: (Demo) values: [Demo@2473d930]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by jeffbrown
, 1 year ago
No signature of method: Demo.somePrivateMethod() is applicable for argument types: (Demo) values: [Demo@2473d930]
groovy.lang.MissingMethodException: No signature of method: Demo.somePrivateMethod() is applicable for argument types: (Demo) values: [Demo@2473d930]
at undefined.SomeTrait$Trait$Helper$_somePublicMethod_closure1.doCall(SomeTrait.groovy:5)
at undefined.SomeTrait$Trait$Helper$_somePublicMethod_closure1.doCall(SomeTrait.groovy)
at undefined.SomeTrait$Trait$Helper.somePublicMethod(SomeTrait.groovy:7)
at undefined.SomeTrait$Trait$Helper$somePublicMethod.call(Unknown Source)
at undefined.Demo.somePublicMethod(Demo.groovy)
at undefined.SomeTrait$somePublicMethod.call(Unknown Source)
at undefined.Demo.main(Demo.groovy:3)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.