paulk-asert commented on PR #1719:
URL: https://github.com/apache/groovy/pull/1719#issuecomment-1116089920
@eric-milles When the codenarcMain task is run, there are stack traces like
below:
```
Error from [org.codenarc.rule.naming.ClassNameRule] processing source file
[D:/projects/groovyCopy/subprojects/groovy-ant/src/main/groovy/groovy/ant/FileNameFinder.groovy]
groovy.lang.MissingMethodException: No signature of method:
org.codenarc.rule.naming.AbstractTypeNameAstVisitor.visitClassEx() is
applicable for argument types: (org.codehaus.groovy.ast.ClassNode) values:
[groovy.ant.FileNameFinder]
Possible solutions: visitClassEx(org.codehaus.groovy.ast.ClassNode),
visitClass(org.codehaus.groovy.ast.ClassNode),
visitClass(org.codehaus.groovy.ast.ClassNode)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:72)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:148)
at
org.codenarc.rule.naming.AbstractTypeNameAstVisitor.visitClassEx(AbstractTypeNameAstVisitor.groovy:44)
at
org.codenarc.rule.AbstractAstVisitor.visitClass(AbstractAstVisitor.java:131)
```
Does that look like GROOVY-10302 to you? I haven't started to debug as yet.
It might also be a classloader issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]