[ 
https://issues.apache.org/jira/browse/FLINK-29643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17760369#comment-17760369
 ] 

Matt Wang commented on FLINK-29643:
-----------------------------------

[~nkruber] hi, I can't reproduce this error here. If `PIPELINE_FIXED_JOB_ID` is 
not configured, it will throw an ApplicationExecutionException exception in 
`runApplicationEntryPoint`[1]
1. 
[https://github.com/apache/flink/blob/master/flink-clients/src/main/java/org/apache/flink/client/deployment/application/ApplicationDispatcherBootstrap.java#L287]

 

> 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.16.0, 1.17.0, 1.15.3
>            Reporter: Nico Kruber
>            Priority: Major
>
> 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