Nico Kruber created FLINK-29643:
-----------------------------------

             Summary: Possible NPE in ApplicationDispatcherBootstrap with 
failedJob submission and no HA
                 Key: FLINK-29643
                 URL: https://issues.apache.org/jira/browse/FLINK-29643
             Project: Flink
          Issue Type: Bug
          Components: Client / Job Submission
    Affects Versions: 1.15.2, 1.16.0, 1.17.0
            Reporter: Nico Kruber


If
- {{PipelineOptionsInternal.PIPELINE_FIXED_JOB_ID}} is not set, and
- high availabibility is not activated, and
- {{DeploymentOptions.SUBMIT_FAILED_JOB_ON_APPLICATION_ERROR}} is set,
then a failure in job submission may fail with an NPE since the appropriate 
code in {{ApplicationDispatcherBootstrap#runApplicationEntryPoint()}} is trying 
to read the {{failedJobId}} from the configuration where it will not be present 
in these cases.

Please refer to the conditions that set the {{jobId}} in 
{{ApplicationDispatcherBootstrap.fixJobIdAndRunApplicationAsync()}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to