apache/flink · error · RuntimeException

Failed to extract '%s' as URLs. Provided value: %s

Error message

Failed to extract '%s' as URLs. Provided value: %s

What it means

Error "Failed to extract '%s' as URLs. Provided value: %s" thrown in apache/flink.

Source

Thrown at flink-clients/src/main/java/org/apache/flink/client/deployment/application/PackagedProgramApplicationEntry.java:140

                applicationId,
                program,
                recoveredJobInfos,
                recoveredTerminalJobInfos,
                configuration,
                jobCountLimit,
                streamingJobCountLimit,
                handleFatalError,
                submitFailedJobOnApplicationError,
                shutDownOnFinish,
                userJarInfo);
    }

    private List<URL> getClasspaths() {
        try {
            return ConfigUtils.decodeListFromConfig(
                    configuration, PipelineOptions.CLASSPATHS, URL::new);
        } catch (MalformedURLException e) {
            throw new RuntimeException(
                    String.format(
                            "Failed to extract '%s' as URLs. Provided value: %s",
                            PipelineOptions.CLASSPATHS.key(),
                            configuration.get(PipelineOptions.CLASSPATHS)));
        }
    }

    @Override
    public ApplicationID getApplicationId() {
        return applicationId;
    }

    @Override
    public String getName() {
        return applicationName;
    }
}

View on GitHub (pinned to 2f3c205e92)

Solutions

  1. Address the cause reported by the error message: Failed to extract 'the reported value' as URLs. Provided value: the reported value
  2. Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry.

Example fix

Correct the condition described ("Failed to extract 'the reported value' as URLs. Provided value: the reported value") and rerun the job or command.

When it happens

Trigger: Triggered at runtime when the operation fails because: Failed to extract 'the reported value' as URLs. Provided value: the reported value.

Common situations: Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Failed to extract 'the reported value' as URLs. Provided value: the reported value.


AI-assisted analysis of apache/flink@2f3c205e92 (2026-08-14). Data as JSON: /api/errors/7c558303621af6cd. Report an issue: GitHub.