apache/flink · error · RuntimeException
Failed to create PackagedProgram for application %s
Error message
Failed to create PackagedProgram for application %s
What it means
Error "Failed to create PackagedProgram for application %s" thrown in apache/flink.
Source
Thrown at flink-clients/src/main/java/org/apache/flink/client/deployment/application/PackagedProgramApplicationEntry.java:115
throw new RuntimeException("Failed to get user jar file from blob", e);
}
if (!jarFile.exists()) {
throw new RuntimeException(String.format("Jar file %s does not exist", jarFile));
}
PackagedProgram program;
try {
program =
PackagedProgram.newBuilder()
.setJarFile(jarFile)
.setEntryPointClassName(entryClass)
.setConfiguration(configuration)
.setUserClassPaths(getClasspaths())
.setArguments(programArgs)
.build();
} catch (Exception e) {
throw new RuntimeException(
String.format(
"Failed to create PackagedProgram for application %s", applicationId),
e);
}
return new PackagedProgramApplication(
applicationId,
program,
recoveredJobInfos,
recoveredTerminalJobInfos,
configuration,
jobCountLimit,
streamingJobCountLimit,
handleFatalError,
submitFailedJobOnApplicationError,
shutDownOnFinish,
userJarInfo);
}View on GitHub (pinned to 2f3c205e92)
Solutions
- Address the cause reported by the error message: Failed to create PackagedProgram for application the reported value
- Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry.
Example fix
Correct the condition described ("Failed to create PackagedProgram for application the reported value") and rerun the job or command. When it happens
Trigger: Triggered at runtime when the operation fails because: Failed to create PackagedProgram for application 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 create PackagedProgram for application the reported value.
AI-assisted analysis of apache/flink@2f3c205e92 (2026-08-14).
Data as JSON: /api/errors/237c223683877ab2.
Report an issue: GitHub.