Matthias Pohl created FLINK-26122:
-------------------------------------

             Summary: JobManagerMetricGroup.addJob returns null when already 
being closed
                 Key: FLINK-26122
                 URL: https://issues.apache.org/jira/browse/FLINK-26122
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Coordination, Runtime / Metrics
    Affects Versions: 1.16.0
            Reporter: Matthias Pohl


We might want to make this more stable by throwing a {{IllegalStateException}} 
instead. The value will be returned to the {{JobMaster}} and passed into the 
scheduler. Additionally, it's called in the {{JobMaster}}'s {{stopScheduling}} 
method where it is closed and would issue a {{NullPointerException}} if not 
properly handled earlier.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to