gradle/gradle · error · DaemonUnavailableException
This daemon has stopped.
Error message
This daemon has stopped.
What it means
Error "This daemon has stopped." thrown in gradle/gradle.
Source
Thrown at platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java:394
try {
result = this;
condition.signalAll();
} finally {
lock.unlock();
}
}
private void onStartCommand(String commandDisplayName) {
lock.lock();
try {
switch (state) {
case Broken:
throw new DaemonUnavailableException("This daemon is in a broken state and will stop.");
case StopRequested:
throw new DaemonUnavailableException("This daemon is currently stopping.");
case Stopped:
case ForceStopped:
throw new DaemonUnavailableException("This daemon has stopped.");
case Busy:
case Canceled:
throw new DaemonUnavailableException(String.format("This daemon is currently executing: %s", currentCommandExecution));
case Idle:
break;
}
LOGGER.debug("Command execution: started {} after {} minutes of idle", commandDisplayName, getIdleMinutes());
try {
setState(DaemonState.Busy);
onStartCommand.run();
currentCommandExecution = commandDisplayName;
result = null;
updateActivityTimestamp();
updateCancellationToken();
condition.signalAll();
} catch (Throwable throwable) {
setState(DaemonState.Broken);View on GitHub (pinned to 534f27719b)
Solutions
- Retry the command; a new daemon will be started automatically.
- Run 'gradle --status' to check for lingering daemons and 'gradle --stop' to clean them up.
When it happens
Trigger: A command is sent to a daemon that has fully stopped.
Common situations: Stale daemon registry entries pointing at terminated daemon processes.
AI-assisted analysis of gradle/gradle@534f27719b (2026-08-22).
Data as JSON: /api/errors/afc51b9db221f76f.
Report an issue: GitHub.