{"record":{"id":"34c1735a67395352","repo":"apache/flink","slug":"failed-to-get-user-jar-file-from-blob","errorCode":null,"errorMessage":"Failed to get user jar file from blob","messagePattern":"Failed to get user jar file from blob","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"flink-clients/src/main/java/org/apache/flink/client/deployment/application/PackagedProgramApplicationEntry.java","lineNumber":97,"sourceCode":"        this.applicationId = applicationId;\n        this.applicationName = applicationName;\n        this.jobCountLimit = jobCountLimit;\n        this.streamingJobCountLimit = streamingJobCountLimit;\n        this.handleFatalError = handleFatalError;\n        this.submitFailedJobOnApplicationError = submitFailedJobOnApplicationError;\n        this.shutDownOnFinish = shutDownOnFinish;\n    }\n\n    @Override\n    public AbstractApplication getApplication(\n            PermanentBlobService blobService,\n            Collection<JobInfo> recoveredJobInfos,\n            Collection<JobInfo> recoveredTerminalJobInfos) {\n        File jarFile;\n        try {\n            jarFile = blobService.getFile(applicationId, userJarInfo.getJarBlobKey());\n        } catch (Exception e) {\n            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(","sourceCodeStart":79,"sourceCodeEnd":115,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-clients/src/main/java/org/apache/flink/client/deployment/application/PackagedProgramApplicationEntry.java#L79-L115","documentation":"Wrapped RuntimeException from getApplication when the PermanentBlobService fails to fetch the user JAR identified by the application's blob key (e.g. missing or unreadable blob). It signals the packaged program cannot be built because the JAR materialization failed.","triggerScenarios":"Triggered at runtime when the operation fails because: Failed to get user jar file from blob.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Failed to get user jar file from blob.","solutions":["Address the cause reported by the error message: Failed to get user jar file from blob","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Failed to get user jar file from blob\") and rerun the job or command.","handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2f3c205e9266cb30240eb7f4fdab15cad629a70f","analyzedAt":"2026-08-14T08:48:24.518Z","contentChangedAt":"2026-08-14T08:48:24.518Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}