groovy.maven.plugin.compile.TestCompileMojo#execute() caused a linkage error /
java.lang.VerifyError Mismatched stack types
----------------------------------------------------------------------------------------------------------------------------
Key: MGROOVY-193
URL: http://jira.codehaus.org/browse/MGROOVY-193
Project: GMaven
Issue Type: Bug
Components: compile
Affects Versions: 1.0-rc-4
Environment: windows vista.
Reporter: chris bedford
Assignee: Jason Dillon
Priority: Critical
Attachments: groovy.compilation.problem.zip
To reproduce
extract contents of zip to directory "groovy.compilation.problem"
< this is a stripped down, simplified version of my
project >
cd groovy.compilation.problem/
cd core/
mvn clean compile test-compile
You will observe the error output below.
ERROR OUTPUT
------------
[INFO] Compiling 1 source file to C:\tmp\prov.try\core\target\test-classes
[INFO] [groovy:testCompile {execution: default}]
[FATAL ERROR]
org.codehaus.groovy.maven.plugin.compile.TestCompileMojo#execute() caused a
linkage error (java.lang.VerifyError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm =
app0.child-container[org.codehaus.groovy.maven:gmaven-plugin]
urls[0] =
file:/C:/Users/Ryden/.m2/repository/org/codehaus/groovy/maven/gmaven-plugin/1.0-rc-4/gmaven-plugin-1.0-rc-4.jar
urls[1] =
file:/C:/Users/Ryden/.m2/repository/org/codehaus/groovy/maven/runtime/gmaven-runtime-api/1.0-rc-4/gmaven-runtime-api-1.0-rc-4.jar
about 30 more similar lines...
urls[34] =
file:/C:/Users/Ryden/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.0-alpha-10/doxia-module-xhtml-1.0-alpha-10.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] =
file:/c:/home/Ryden/3rdparty/java/apache-maven-2.0.9/lib/maven-2.0.9-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] (class: com/lackey/provis/depot/FileSystemFolderArtifact, method: <init>
signature: (Ljava/io/File;Lcom/lackey/provis/depot/FileSystemFolderArtifact;)V)
Mismatched stack types
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.VerifyError: (class:
com/lackey/provis/depot/FileSystemFolderArtifact, method: <init> signature:
(Ljava/io/File;Lcom/lackey/provis/depot/FileSystemFolderArtifact;)V) Mismatched
stack types
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
at java.lang.Class.getDeclaredFields(Class.java:1743)
at
org.codehaus.groovy.vmplugin.v5.Java5.configureClassNode(Java5.java:154)
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.ast.ClassNode.isDerivedFrom(ClassNode.java:681)
at
org.codehaus.groovy.classgen.AsmClassGenerator.doConvertAndCast(AsmClassGenerator.java:3193)
at
org.codehaus.groovy.classgen.AsmClassGenerator.doConvertAndCast(AsmClassGenerator.java:1125)
at
org.codehaus.groovy.classgen.AsmClassGenerator.visitCastExpression(AsmClassGenerator.java:1557)
at
org.codehaus.groovy.classgen.AsmClassGenerator.visitDeclarationExpression(AsmClassGenerator.java:1175)
at
org.codehaus.groovy.ast.expr.DeclarationExpression.visit(DeclarationExpression.java:35)
Thanks in advance for your help.
Chris Bedford
Founder & Lead Lackey
Build Lackey Labs
http://buildlackey.com
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email