{"record":{"id":"237c223683877ab2","repo":"apache/flink","slug":"failed-to-create-packagedprogram-for-application","errorCode":null,"errorMessage":"Failed to create PackagedProgram for application %s","messagePattern":"Failed to create PackagedProgram for application (.+?)","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"flink-clients/src/main/java/org/apache/flink/client/deployment/application/PackagedProgramApplicationEntry.java","lineNumber":115,"sourceCode":"            throw new RuntimeException(\"Failed to get user jar file from blob\", e);\n        }\n\n        if (!jarFile.exists()) {\n            throw new RuntimeException(String.format(\"Jar file %s does not exist\", jarFile));\n        }\n\n        PackagedProgram program;\n        try {\n            program =\n                    PackagedProgram.newBuilder()\n                            .setJarFile(jarFile)\n                            .setEntryPointClassName(entryClass)\n                            .setConfiguration(configuration)\n                            .setUserClassPaths(getClasspaths())\n                            .setArguments(programArgs)\n                            .build();\n        } catch (Exception e) {\n            throw new RuntimeException(\n                    String.format(\n                            \"Failed to create PackagedProgram for application %s\", applicationId),\n                    e);\n        }\n\n        return new PackagedProgramApplication(\n                applicationId,\n                program,\n                recoveredJobInfos,\n                recoveredTerminalJobInfos,\n                configuration,\n                jobCountLimit,\n                streamingJobCountLimit,\n                handleFatalError,\n                submitFailedJobOnApplicationError,\n                shutDownOnFinish,\n                userJarInfo);\n    }","sourceCodeStart":97,"sourceCodeEnd":133,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-clients/src/main/java/org/apache/flink/client/deployment/application/PackagedProgramApplicationEntry.java#L97-L133","documentation":"Error \"Failed to create PackagedProgram for application %s\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Failed to create PackagedProgram for application the reported value.","commonSituations":"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.","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."],"exampleFix":"Correct the condition described (\"Failed to create PackagedProgram for application the reported value\") and rerun the job or command.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2f3c205e9266cb30240eb7f4fdab15cad629a70f","analyzedAt":"2026-08-14T08:48:24.518Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}