Romain Petit
12/17/2025, 7:42 AMVampire
12/17/2025, 7:52 AMgradle-profiler to see what is happening / hanging?Romain Petit
12/17/2025, 8:18 AMIt is not possible to use the currently selected Gradle JVM for the operation.
The installation from /Users/romain/Library/Java/JavaVirtualMachines/liberica-23.0.2 will be used instead.
Starting Gradle Daemon...
Gradle Daemon started in 715 ms
FAILURE: Build failed with an exception.
* What went wrong:
Gradle could not start your build.
> Cannot create service of type BuildSessionActionExecutor using method LauncherServices$ToolingBuildSessionScopeServices.createActionExecutor() as there is a problem with parameter #22 of type ValueSnapshotter.
> Cannot create service of type ValueSnapshotter using method WorkerSharedBuildSessionScopeServices.createValueSnapshotter() as there is a problem with parameter #1 of type List<ValueSnapshotterSerializerRegistry>.
> Could not create service of type ResourceSnapshotterCacheService using GradleUserHomeServices.createResourceSnapshotterCacheService().
> Timeout waiting to lock file hash cache (/Users/romain/.gradle/caches/8.10.2/fileHashes). It is currently in use by another Gradle instance.
Owner PID: 78330
Our PID: 82413
Owner Operation:
Our operation:
Lock file: /Users/romain/.gradle/caches/8.10.2/fileHashes/fileHashes.lock
@Vampire i was not aware of this tool. Thanks.
I tried to launch my app in debug mode from IJ (getting stucked and timeout, see the output just before).
While stucked i’ve try to run from my terminal
gradle-profiler --benchmark --project-dir ./ dependencies
on the same folder in //
This project is in Gradle 8.10.2
I can see it ‘Running warm-up build’ multiple times with each ‘BUILD SUCCESSFUL’Romain Petit
12/17/2025, 8:20 AMgradle dependencies
Welcome to Gradle 7.6.5!
Here are the highlights of this release:
- Added support for Java 19.
- Introduced `--rerun` flag for individual task rerun.
- Improved dependency block for test suites to be strongly typed.
- Added a pluggable system for Java toolchains provisioning.
For more details see <https://docs.gradle.org/7.6.5/release-notes.html>
Starting a Gradle Daemon (subsequent builds will be faster)
<-------------> 0% INITIALIZING [1m 30s]
> IDLERomain Petit
12/17/2025, 8:32 AMgradle-profiler --benchmark --project-dir ./ dependencies
seems fineRomain Petit
12/17/2025, 8:58 AMVampire
12/17/2025, 9:50 AMTimeout waiting to lock file hash cacheThat should just be a symptom. It means there is a Gradle process running that has the file locked. When this happens to me then usually because I'm sitting at some all-threads-suspending breakpoint in the IDE within the Gradle daemon and then trying to launch a second build.
Romain Petit
12/17/2025, 10:07 AMVampire
12/17/2025, 10:09 AM<GRADLE_USER_HOME>/daemon/<version>/*.logRomain Petit
12/17/2025, 1:40 PMRomain Petit
12/17/2025, 1:40 PMVampire
12/17/2025, 2:19 PM