Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
2.3.3, 2.3.10
-
None
-
None
Description
I have upgraded the groovy jar from 1.5 to 2.3.3 in order to support Java 8. When running my application I am getting the below error and I have tried using the below possible solutions as well. But still getting the same error with different possible solutions.
Can some one help me on this and let me know if there is any issue with the upgraded groovy jar 2.3.3
Code:
================================================
def tickets = row.'**'.find
=============================================
ERROR:
Possible solutions: take(int), any(), any(groovy.lang.Closure), wait(), size(), size()
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Java Stack Trace:
groovy.lang.MissingMethodException: No signature of method: java.lang.String.name() is applicable for argument types: () values: [] Possible solutions: take(int), any(), any(groovy.lang.Closure), wait(), siz= e(), size() =09at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:56)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:49)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)