Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for DaemonDisappearedException (0.24 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonDisappearedException.java

    /**
     * Thrown when a daemon disconnects unexpectedly while a client is interacting with it.
     */
    public class DaemonDisappearedException extends GradleException {
    
        public static final String MESSAGE = "Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)";
    
        public DaemonDisappearedException() {
            super(MESSAGE);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

    import org.gradle.integtests.fixtures.daemon.DaemonClientFixture
    import org.gradle.integtests.fixtures.daemon.DaemonIntegrationSpec
    import org.gradle.launcher.daemon.client.DaemonDisappearedException
    import org.gradle.launcher.daemon.logging.DaemonMessages
    import org.gradle.test.fixtures.server.http.BlockingHttpServer
    import org.gradle.test.precondition.Requires
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerMechanicalFailureIntegrationTest.groovy

    import org.gradle.initialization.StartParameterBuildOptions
    import org.gradle.integtests.fixtures.executer.OutputScrapingExecutionResult
    import org.gradle.internal.os.OperatingSystem
    import org.gradle.launcher.daemon.client.DaemonDisappearedException
    import org.gradle.testkit.runner.fixtures.HideEnvVariableValuesInDaemonLog
    import org.gradle.testkit.runner.fixtures.InspectsBuildOutput
    import org.gradle.testkit.runner.fixtures.InspectsExecutedTasks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressDaemonErrorsCrossVersionSpec.groovy

                        toolingApi.daemons.daemon.kill()
                        killed = true
                    }
                }, EnumSet.of(OperationType.TEST)).run()
            }
    
            then: "build fails with a DaemonDisappearedException"
            GradleConnectionException ex = thrown()
            ex.cause.message.contains('Gradle build daemon disappeared unexpectedly')
    
            and:
            !result.empty
        }
    
        def goodCode() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientTest.groovy

            parameters.currentDir >> new File(".")
    
            when:
            client.execute(Stub(BuildAction), parameters, Stub(ClientBuildRequestContext))
    
            then:
            thrown(DaemonDisappearedException)
    
            and:
            connector.connect(compatibilitySpec) >> connection
            _ * connection.daemon >> Stub(DaemonConnectDetails)
            1 * connection.dispatch({ it instanceof Build })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClient.java

            findCrashLogFile(build, diagnostics).ifPresent(crashLogFile ->
                LOGGER.error("JVM crash log found: " + new ConsoleRenderer().asClickableFileUrl(crashLogFile))
            );
            throw new DaemonDisappearedException();
        }
    
        /**
         * <a href="https://stackoverflow.com/a/5154619/104894">See why this logic exists in this SO post.</a>
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.launcher.daemon.client.DaemonDisappearedException> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DaemonDisappearedException.java:0)
    Class <org.gradle.launcher.daemon.client.DaemonGreeter> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DaemonGreeter.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top