W-dragan opened a new issue, #6325:
URL: https://github.com/apache/seatunnel/issues/6325

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   When I deploy in cluster mode, roll up seatunel, and access runtime tasks 
using restApi, this error is reported
   Due to some reasons, the image cannot be uploaded, and its null pointer 
occurs on line 344 of RestHttpGetCommandProcessor.java
   
          if (seaTunnelServer == null) {
               jobMetrics =
                       (String)
                               NodeEngineUtil.sendOperationToMasterNode(
                                               getNode().nodeEngine, new 
GetJobMetricsOperation(jobId))
   line 344                                    .join();
               jobStatus =
                       JobStatus.values()[
                               (int)
                                       NodeEngineUtil.sendOperationToMasterNode(
                                                       getNode().nodeEngine,
                                                       new 
GetJobStatusOperation(jobId))
                                               .join()];
           } else {
               jobMetrics =
                       
seaTunnelServer.getCoordinatorService().getJobMetrics(jobId).toJsonString();
               jobStatus = 
seaTunnelServer.getCoordinatorService().getJobStatus(jobId);
           }
   
   
   
   When I completely stop the cluster and restart it, this problem will not 
occur. Once I roll restart, this problem will occur
   
   
   ### SeaTunnel Version
   
   2.3.4
   
   ### SeaTunnel Config
   
   ```conf
   pass
   ```
   
   
   ### Running Command
   
   ```shell
   pass
   ```
   
   
   ### Error Exception
   
   ```log
   {"status":"fail","message":"java.lang.RuntimeException: 
java.util.concurrent.ExecutionException: java.lang.NullPointerException"}
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to