Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Cannot Reproduce
-
1.1-rc-2
-
None
-
None
Description
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot
cast object 'org.apache.commons.cli.PosixParser@79ab0' with
class 'org.apache.commons.cli.PosixParser' to class
'groovyjarjarcommonscli.CommandLineParser'
at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:328)
at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:1925)
at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:2483)
at groovy.lang.MetaClassImpl.setProperties(MetaClassImpl.java:1218)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1195)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1112)
at org.codehaus.groovy.runtime.Invoker.invokeConstructorOf(Invoker.java:126)
at org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:95)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBytecodeAdapter.java:245)
at gant.Gant.process(Gant.groovy:185)