After gradle udgrade to 7.4 and groovy to 4.0.17 I am getting stackoverflow error.
Can anyone tell me are these versions compatible with each other.
Full stacktrace -
java.lang.StackOverflowError
at org.codehaus.groovy.ast.ClassNode.hashCode(ClassNode.java:719)
at java.base/java.util.HashMap.hash(HashMap.java:338)
at java.base/java.util.HashMap.getNode(HashMap.java:568)
at java.base/java.util.HashMap.containsKey(HashMap.java:594)
at java.base/java.util.Collections$UnmodifiableMap.containsKey(Collections.java:1500)
at org.codehaus.groovy.classgen.asm.util.TypeUtil.isPrimitiveType(TypeUtil.java:99)
at org.codehaus.groovy.ast.ClassHelper.isPrimitiveType(ClassHelper.java:379)
at org.codehaus.groovy.ast.ClassNode.getPlainNodeReference(ClassNode.java:1520)
at org.codehaus.groovy.ast.ClassNode.getPlainNodeReference(ClassNode.java:1531)
at org.codehaus.groovy.ast.tools.GenericsUtils.newClass(GenericsUtils.java:318)
at org.codehaus.groovy.ast.tools.GenericsUtils.makeClassSafe0(GenericsUtils.java:332)
at org.codehaus.groovy.ast.tools.GenericsUtils.makeClassSafeWithGenerics(GenericsUtils.java:352)
at org.codehaus.groovy.ast.tools.GenericsUtils.correctToGenericsSpecRecurse(GenericsUtils.java:442)
at org.codehaus.groovy.ast.tools.GenericsUtils.correctToGenericsSpecRecurse(GenericsUtils.java:371)
at org.codehaus.groovy.ast.tools.GenericsUtils.extractSuperClassGenerics(GenericsUtils.java:561)
at org.codehaus.groovy.ast.tools.GenericsUtils.parameterizeType(GenericsUtils.java:294)
at org.codehaus.groovy.ast.tools.GeneralUtils.addAllInterfaces(GeneralUtils.java:479)
at org.codehaus.groovy.ast.tools.GeneralUtils.addAllInterfaces(GeneralUtils.java:479)
at org.codehaus.groovy.ast.tools.GeneralUtils.addAllInterfaces(GeneralUtils.java:479)
at org.codehaus.groovy.ast.tools.GeneralUtils.addAllInterfaces(GeneralUtils.java:479)
at org.codehaus.groovy.ast.tools.GeneralUtils.getInterfacesAndSuperInterfaces(GeneralUtils.java:486)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:422)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:210)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)
at org.codehaus.groovy.ast.tools.WideningCategories.parameterizeLowestUpperBound(WideningCategories.java:276)
at org.codehaus.groovy.ast.tools.WideningCategories.lowestUpperBound(WideningCategories.java:238)