-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constant StackOverflow errors #45
Comments
Do you have any clue which file causes this? I have already opened CodeNarc/CodeNarc#621 trying to figure out if it's issue with the plugin or CodeNarc itself |
I think error is thrown in almost any groovy file that is being saved: rror from [org.codenarc.rule.groovyism.GStringExpressionWithinStringRule] processing source file [null]
java.lang.StackOverflowError
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:168)
at org.codenarc.rule.groovyism.GStringExpressionWithinStringAstVisitor.visitConstantExpression(GStringExpressionWithinStringRule.groovy:48)
at jdk.internal.reflect.GeneratedMethodAccessor4015.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
Following exceptions happened soon after this one, most probably they are induced.
2021-07-15T10:33:10.587
Error from [org.codenarc.rule.groovyism.GStringExpressionWithinStringRule] processing source file [null]
java.lang.StackOverflowError
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:168)
at org.codenarc.rule.groovyism.GStringExpressionWithinStringAstVisitor.visitConstantExpression(GStringExpressionWithinStringRule.groovy:48)
at jdk.internal.reflect.GeneratedMethodAccessor4015.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) All my teammates get the same error. Let me know if I can produce any valuable info for you :) Java 11 |
Okay this is weird. I don't know what I did but the errors stopped showing up for now. |
I'm seeing these and other repeated errors like "Error from [org.codenarc.rule.design.PrivateFieldCouldBeFinalRule] processing source file [null]" -- the "rule" changes but the exceptions are all similar. |
I have similar problem with a version from the beta channel (5.0.0-202208291503) in Idea #IC-221.6008.13 and CodeNarc 2.0.0, Groovy 2.5 (from Gradle 6.9.2).
|
Intellij plugin constantly throws StackOverflow errors, over 20 in 30 minute period.
The text was updated successfully, but these errors were encountered: