Closed wfhartford closed 1 year ago
I downgraded the plugin version from 5.1.0 to 5.0.3 and I'm no longer seeing the build failure.
Thank you for bringing this issue to our attention, @wfhartford. We have created #55 to address and resolve the matter. Rest assured, we will keep you updated on its status and notify you once it has been merged and subsequently released.
@wfhartford We released version 5.1.1 of the Gradle Artifactory plugin. This version includes the fix for this issue.
Feel free to upgrade - we'd appreciate your feedback on that.
Thanks for the quick release. I upgraded the plugin and my build passed without issue.
Describe the bug
After upgrading the gradle plugin from 4.33.1 to 5.1.0, I've started encountering
java.util.ConcurrentModificationException
during various tasks in my build. The exception is thrown from the methodorg.jfrog.gradle.plugin.artifactory.listener.ArtifactoryDependencyResolutionListener.updateModulesMap
.My project is a fairly large, multi-module project and uses parallel builds. When parallel builds are disabled, the build succeeds with no problem (except that it is slow).
Current behavior
Full gradle build output when
--stacktrace
is added to command flags:Reproduction steps
This happens consistently in my large project when parallel builds are enabled. I haven't tried to create a reproducing project that I can share. It would probably have to be a similarly large project with many sub-projects.
Expected behavior
The build should succeed.
Artifactory Gradle plugin version
5.1.0
Operating system type and version
Linux 6.4.6-76060406-generic #202307241739~1690928105~22.04~d567a38 SMP PREEMPT_DYNAMIC Tue A x86_64 x86_64 x86_64 GNU/Linux
JFrog Artifactory version
7.39.4
Gradle version
8.3