groovy.lang.MissingMethodException: No signature of method: cat.Cat.count() is applicable for argument types: () values: [] Possible solutions: count(), ident(), print(java.lang.Object), print(java.io.PrintWriter), getCount(), wait()

Stack Overflow | user734861 | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    no signature of method after using metaclass method replacement?

    Stack Overflow | 10 months ago | user734861
    groovy.lang.MissingMethodException: No signature of method: cat.Cat.count() is applicable for argument types: () values: [] Possible solutions: count(), ident(), print(java.lang.Object), print(java.io.PrintWriter), getCount(), wait()

    Root Cause Analysis

    1. groovy.lang.MissingMethodException

      No signature of method: cat.Cat.count() is applicable for argument types: () values: [] Possible solutions: count(), ident(), print(java.lang.Object), print(java.io.PrintWriter), getCount(), wait()

      at cat.CatTests.testSomething()
    2. cat
      CatTests.testSomething
      1. cat.CatTests.testSomething(CatTests.groovy:33)
      1 frame