[groovy-user] Recent GMaven failures - MalformedParameterizedTypeException

12 views
Skip to first unread message

tto...@comcast.net

unread,
Aug 18, 2008, 12:37:47 PM8/18/08
to Groovy
I have three independent groovy maven-based projects that all started to fail on the same day with the same error. Not really sure why this is happening, there is a build error with the ever-helpful message "null". I'm suspecting something is going on with the gmaven plugin since the projects all share that in common and that's where the exception is being thrown.

If I mvn -e clean package, I get the following stack trace, which doesn't help me too much more. Does anyone have any ideas where to go with this?

[INFO] [compiler:testCompile]
[INFO] Compiling 7 source files to /Volumes/ext/depot/myProject/target/test-classes
[INFO] [groovy:testCompile {execution: default}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException
at org.codehaus.groovy.maven.plugin.MojoSupport.execute(MojoSupport.java:85)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
Caused by: java.lang.reflect.MalformedParameterizedTypeException
at sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.validateConstructorArguments(ParameterizedTypeImpl.java:42)
at sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.<init>(ParameterizedTypeImpl.java:35)
at sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.make(ParameterizedTypeImpl.java:77)
at sun.reflect.generics.factory.CoreReflectionFactory.makeParameterizedType(CoreReflectionFactory.java:86)
at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:122)
at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
at sun.reflect.generics.repository.MethodRepository.getReturnType(MethodRepository.java:50)
at java.lang.reflect.Method.getGenericReturnType(Method.java:231)
at org.codehaus.groovy.vmplugin.v5.Java5.configureClassNode(Java5.java:161)
at org.codehaus.groovy.ast.ClassNode.lazyClassInit(ClassNode.java:209)
at org.codehaus.groovy.ast.ClassNode.getUnresolvedSuperClass(ClassNode.java:744)
at org.codehaus.groovy.ast.ClassNode.getUnresolvedSuperClass(ClassNode.java:738)
at org.codehaus.groovy.ast.ClassNode.getSuperClass(ClassNode.java:732)
at org.codehaus.groovy.control.CompilationUnit.sortClasses(CompilationUnit.java:480)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:453)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:417)
at org.codehaus.groovy.maven.runtime.v15.ClassCompilerFeature$ClassCompilerImpl.compile(ClassCompilerFeature.java:158)
at org.codehaus.groovy.maven.plugin.compile.AbstractCompileMojo.compile(AbstractCompileMojo.java:200)
at org.codehaus.groovy.maven.plugin.compile.AbstractCompileMojo.process(AbstractCompileMojo.java:164)
at org.codehaus.groovy.maven.plugin.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:68)
at org.codehaus.groovy.maven.plugin.compile.TestCompileMojo.doExecute(TestCompileMojo.java:90)
at org.codehaus.groovy.maven.plugin.MojoSupport.execute(MojoSupport.java:69)
... 18 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Mon Aug 18 09:30:35 PDT 2008
[INFO] Final Memory: 20M/40M
[INFO] ------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Reply all
Reply to author
Forward
0 new messages