Error:Groovyc: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'java.util.List <View> -> java.util.List <E extends java.lang.Object -> java.lang.Object>' with class 'org.codehaus.groovy.ast.ClassNode' to class 'java.lang.Class' due to: java.lang.ClassNotFoundException: java.util.List <View> -> java.util.List <E extends java.lang.Object -> java.lang.Object>
at org.codehaus.groovy.runtime.typehandling.ShortTypeHandling.castToClass(ShortTypeHandling.java:35)
at com.arasthel.swissknife.annotations.InjectViewsTransformation.visit(InjectViewsTransformation.groovy:32)
at org.codehaus.groovy.transform.ASTTransformationVisitor.visitClass(ASTTransformationVisitor.java:132)
at org.codehaus.groovy.transform.ASTTransformationVisitor$2.call(ASTTransformationVisitor.java:176)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1047)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:583)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:561)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:538)
at org.jetbrains.groovy.compiler.rt.GroovyCompilerWrapper.compile(GroovyCompilerWrapper.java:54)
at org.jetbrains.groovy.compiler.rt.DependentGroovycRunner.runGroovyc(DependentGroovycRunner.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jetbrains.groovy.compiler.rt.GroovycRunner.main(GroovycRunner.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:130)
This error message is obscure to me.
Other annotations work as expected.
Hi, first of all thanks for this great library, it really helps getting into groovy on android!
When I try to use
@InjectView
like this:I get that:
This error message is obscure to me. Other annotations work as expected.
Any idea ?