Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.5
-
None
-
Travis CI Ubuntu (also macOS) JDK 9
-
Important
Description
Compiler crashes in Gradle build with Groovy 3.0.5. Works with Groovy 3.0.4.
Caused by: java.lang.NullPointerException
at org.codehaus.groovy.ast.ClassNode.isDerivedFrom(ClassNode.java:909)
at org.codehaus.groovy.ast.tools.WideningCategories.implementsInterfaceOrSubclassOf(WideningCategories.java:733)
at org.codehaus.groovy.classgen.AsmClassGenerator.visitCastExpression(AsmClassGenerator.java:799)
at org.codehaus.groovy.ast.expr.CastExpression.visit(CastExpression.java:85)
Fails with both JDK 8 and JDK 9, see Travis CI jobs:
Failure: https://travis-ci.org/github/ConsensusJ/consensusj/jobs/716458220
Success: https://travis-ci.org/github/ConsensusJ/consensusj/builds/726709254