java.lang.RuntimeException: java.io.FileNotFoundException: /usr/sbin/.gradle/wrapper/dists/gradle-2.4-all/3i2gobhdl0fm2tosnn15g540i0/gradle-2.4-all.zip.lck (No such file or directory)


Solutions on the web55

Solution icon of stackoverflow
via Stack Overflow by MrMehdi
, 8 months ago
java.io.FileNotFoundException: /usr/sbin/.gradle/wrapper/dists/gradle-2.4-all/3i2gobhdl0fm2tosnn15g540i0/gradle-2.4-all.zip.lck (No such file or directory)

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
java.io.FileNotFoundException: /var/www/.gradle/wrapper/dists/gradle-2.2.1-all/6dibv5rcssdffbq9klf8imrndn/gradle-2.2.1-all.zip.lck (No such file or directory)

Solution icon of web
via intel.com by Unknown author, 1 year ago
Timeout of 120000 reached waiting for exclusive access to file: /Users/sam/.gradle/wrapper/dists/gradle-2.4-all/3i2gobhdl0fm2tosnn15g540i0/gradle-2.4-all.zip

Solution icon of github
via GitHub by rorschach
, 1 year ago
java.io.FileNotFoundException: /home/flow/.gradle/wrapper/dists/gradle-2.10-all/5b6kqrscumh9p4evkkemdk57ad/gradle-2.10-all.zip.lck (Disk quota exceeded)

Solution icon of stackoverflow
Could not create parent directory for lock file /usr/sbin/.gradle/wrapper/dists/gradle-4.1-bin/c3kp51zwwt108wc78u68yt7vs/gradle-4.1-bin.zip.lck

Solution icon of stackoverflow
Timeout of 120000 reached waiting for exclusive access to file: C:\Users\Sandeep\.gradle\wrapper\dists\gradle-2.4-all\4nbr1pmuf9qag6p78oj1edfbtn\gradle-2.4-all.zip

Solution icon of github
via GitHub by MrHangVIP
, 7 months ago
Timeout of 120000 reached waiting for exclusive access to file: /Users/songzhihang/.gradle/wrapper/dists/gradle-2.14.1-all/8bnwg5hd3w55iofp58khbp6yv/gradle-2.14.1-all.zip

Solution icon of github
Timeout of 120000 reached waiting for exclusive access to file: /Users/songzhihang/.gradle/wrapper/dists/gradle-2.14.1-all/8bnwg5hd3w55iofp58khbp6yv/gradle-2.14.1-all.zip

Solution icon of stackoverflow
via Stack Overflow by Muhammad Umer
, 1 year ago
Timeout of 120000 reached waiting for exclusive access to file: /var/root/.gradle/wrapper/dists/gradle-2.2.1-all/2m8005s69iu8v0oiejfej094b/gradle-2.2.1-all.zip

Solution icon of stackoverflow
Timeout of 120000 reached waiting for exclusive access to file: /home/atefhares/.gradle/wrapper/dists/gradle-2.14.1-all/8bnwg5hd3w55iofp58khbp6yv/gradle-2.14.1-all.zip

Stack trace

java.lang.RuntimeException: java.io.FileNotFoundException: /usr/sbin/.gradle/wrapper/dists/gradle-2.4-all/3i2gobhdl0fm2tosnn15g540i0/gradle-2.4-all.zip.lck (No such file or directory)
	at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78)
	at org.gradle.wrapper.Install.createDist(Install.java:47)
	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
Caused by: java.io.FileNotFoundException: /usr/sbin/.gradle/wrapper/dists/gradle-2.4-all/3i2gobhdl0fm2tosnn15g540i0/gradle-2.4-all.zip.lck (No such file or directory)
	at java.io.RandomAccessFile.open0(Native Method)
	at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
	at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:49)
	... 3 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 4 months ago
4 times, 6 months ago
3 times, 8 months ago
Once, 10 months ago
34 more bugmates