You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Dwarakesh (JIRA)" <ji...@apache.org> on 2016/08/10 09:42:20 UTC
[jira] [Created] (INFRA-12406) Groovy error:
groovy.lang.MissingMethodException
Dwarakesh created INFRA-12406:
---------------------------------
Summary: Groovy error: groovy.lang.MissingMethodException
Key: INFRA-12406
URL: https://issues.apache.org/jira/browse/INFRA-12406
Project: Infrastructure
Issue Type: Bug
Components: Blogs
Reporter: Dwarakesh
Dear Team,
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
ERROR:
Possible solutions: take(int), any(), any(groovy.lang.Closure), wait(), next(), size()
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Java Stack Trace:
groovy.lang.MissingMethodException: No signature of method: java.lang.Strin=
g.name() is applicable for argument types: () values: [] Possible solutions: take(int), any(), any(groovy.lang.Closure), wait(), nex= t(), size() =09at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptByteco=
deAdapter.java:55)
=09at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaC=
lassSite.java:46)
=09at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSi=
teArray.java:45)
=09at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaC=
lassSite.java:49)
=09at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCa=
llSite.java:112)
=09at
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)