You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Nico Kruber (Jira)" <ji...@apache.org> on 2022/10/14 12:46:00 UTC

[jira] [Created] (FLINK-29643) Possible NPE in ApplicationDispatcherBootstrap with failedJob submission and no HA

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)