I've found the following *old* bug report from 2009: [GROOVY-3867 Allow methodMissing/propertyMissing to be defined through category |https://issues.apache.org/jira/browse/GROOVY-3867]
which says that methodMissing does not work since Groovy 1.6.5. So I've opened a new JIRA ticket [iGROOVY-8408 invokeMethod cannot be set through category|https://issues.apache.org/jira/browse/GROOVY-8408] Thanks for the help On Fri, Dec 8, 2017 at 9:02 AM, Jochen Theodorou <blackd...@gmx.org> wrote: > On 07.12.2017 13:44, Ruben Laguna wrote: >> >> There was a typo in my previous mail missingMethod -> methodMissing. >> It still doesn not work, a.method1() throws MissingMethodException >> after adding the methodMissing via category. > > > yes, just tested myself. if you add the method through the meta class it > works. It is strange it does not work via category. This is supposed to > work... and I was really thinking that used to work too. So I am puzzled, > looks like a bug/regression to me > > bye Jochen -- /Rubén