-
Notifications
You must be signed in to change notification settings - Fork 459
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
GroovyGradle fails with IndexOutOfBoundsException in multiproject build + parallel #877
Comments
Although the line numbers do not line up with the method in the GrEclipseFormatterStepImpl class, I think the issue is with the GroovyLogManager - it is not thread safe and is backed by an array. It would explain the exception. |
@k-brooks I agree with your analysis and fix. Thanks a lot. |
Fixed in |
If you are submitting a bug, please include the following:
Spotless groovyGradle occasionally fails with an IndexOutOfBoundsException when run in a multi-project build with parallel execution.
Gradle version = 6.8.3
Spotless version = 5.1.1
Windows 10, Ubuntu 20, Centos 7, AWS Linux 2
gradlew spotless[Apply/Check] --stacktrace
The text was updated successfully, but these errors were encountered: