[GRADLE-1752] Hang in Ivy and/or Wharf Created: 18/Aug/11  Updated: 04/Jan/13  Resolved: 12/Oct/11

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-milestone-4
Fix Version/s: 1.0-milestone-5

Type: Bug
Reporter: Joern Huxhorn Assignee: Adam Murdoch
Resolution: Fixed Votes: 0

Attachments: Text File gradle10m4_hang.txt    


After canceling a previous build with Ctrl-C Gradle wasn't able to start another build anymore.

It turned out that a lock file (~/.gradle/caches/artifacts/org.slf4j/slf4j-api/wharfdata-1.6.2.kryo.lck in my case) was still lingering in the cache directory, causing an infinite hang.
After deleting said file, everything worked fine again.

The attached file is the stacktrace at the time of the hang.

Generated at Wed Jun 30 12:03:27 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.