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 | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MissingMethodException: No signature of method error after replacing method using groovy metaclass?

    Stack Overflow | 11 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.testSomething2()
    2. cat
      CatTests.testSomething2
      1. cat.CatTests.testSomething2(CatTests.groovy:37)
      1 frame