[GRADLE-1376] Error Compiling from Source: unsupported Target TYPE_PARAMETER Created: 06/Feb/11  Updated: 23/Jan/13  Resolved: 23/Jan/13

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Robert Fischer Assignee: Unassigned
Resolution: Incomplete Votes: 0


 Description   

During call to ./gradlew assemble

:core:compileGroovy
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files declare unsafe vararg methods.
Note: Recompile with -Xlint:varargs for details.
>>> a serious error occurred: BUG! exception in phase 'class generation' in source unit '/Users/robert/wkdir/gradle/subprojects/core/src/main/groovy/org/gradle/api/internal/AutoCreateDomainObjectContainerDelegate.groovy' unsupported Target TYPE_PARAMETER
>>> stacktrace:
BUG! exception in phase 'class generation' in source unit '/Users/robert/wkdir/gradle/subprojects/core/src/main/groovy/org/gradle/api/internal/AutoCreateDomainObjectContainerDelegate.groovy' unsupported Target TYPE_PARAMETER
at org.codehaus.groovy.vmplugin.v5.Java5.getElementCode(Java5.java:301)
at org.codehaus.groovy.vmplugin.v5.Java5.configureAnnotationFromDefinition(Java5.java:197)
at org.codehaus.groovy.vmplugin.v5.Java5.configureAnnotation(Java5.java:207)
at org.codehaus.groovy.classgen.AnnotationVisitor.visit(AnnotationVisitor.java:81)
at org.codehaus.groovy.classgen.ExtendedVerifier.visitAnnotation(ExtendedVerifier.java:153)
at org.codehaus.groovy.classgen.ExtendedVerifier.visitAnnotations(ExtendedVerifier.java:114)
at org.codehaus.groovy.classgen.ExtendedVerifier.visitConstructorOrMethod(ExtendedVerifier.java:75)
at org.codehaus.groovy.classgen.ExtendedVerifier.visitMethod(ExtendedVerifier.java:71)
at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1039)
at org.codehaus.groovy.classgen.ExtendedVerifier.visitClass(ExtendedVerifier.java:59)
at org.codehaus.groovy.control.CompilationUnit$11.call(CompilationUnit.java:721)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:936)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:513)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:491)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:468)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:447)
at org.codehaus.groovy.tools.FileSystemCompiler.compile(FileSystemCompiler.java:57)
at org.codehaus.groovy.tools.FileSystemCompiler.doCompilation(FileSystemCompiler.java:170)
at org.codehaus.groovy.tools.FileSystemCompiler.commandLineCompile(FileSystemCompiler.java:138)
at org.codehaus.groovy.tools.FileSystemCompiler.main(FileSystemCompiler.java:152)

FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/robert/wkdir/gradle/subprojects/core/core.gradle'
  • What went wrong:
    Execution failed for task ':core:compileGroovy'.
    Cause: Forked groovyc returned error code: 1
  • Try:
    Run with -s or -d option to get more details. Run with -S option to get the full (very verbose) stacktrace.

BUILD FAILED


Generated at Wed Jun 30 11:53:59 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.