Chosen123Wang opened a new issue, #9448:
URL: https://github.com/apache/seatunnel/issues/9448

   ### 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 set  telemetry metric is enable ,  start worker is failed
   
   ### SeaTunnel Version
   
   2.3.8
   
   ### SeaTunnel Config
   
   ```conf
   seatunnel:
     engine:
       telemetry:
         metric:
           enabled: true
   ```
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel-cluster.sh -d -r worker
   ```
   
   ### Error Exception
   
   ```log
   [] 2025-06-17 16:47:00,954 ERROR [o.a.s.c.s.SeaTunnel           ] [main] - 
   
   
===============================================================================
   
   
   [] 2025-06-17 16:47:00,954 ERROR [o.a.s.c.s.SeaTunnel           ] [main] - 
Fatal Error, 
   
   [] 2025-06-17 16:47:00,954 ERROR [o.a.s.c.s.SeaTunnel           ] [main] - 
Please submit bug report in https://github.com/apache/seatunnel/issues
   
   [] 2025-06-17 16:47:00,957 ERROR [o.a.s.c.s.SeaTunnel           ] [main] - 
Reason:null 
   
   [] 2025-06-17 16:47:00,958 ERROR [o.a.s.c.s.SeaTunnel           ] [main] - 
Exception StackTrace:java.lang.NullPointerException
        at 
org.apache.seatunnel.engine.server.SeaTunnelServer.getThreadPoolStatusMetrics(SeaTunnelServer.java:330)
        at 
org.apache.seatunnel.engine.server.telemetry.metrics.exports.JobThreadPoolStatusExports.collect(JobThreadPoolStatusExports.java:43)
        at 
io.prometheus.client.CollectorRegistry.collectorNames(CollectorRegistry.java:113)
        at 
io.prometheus.client.CollectorRegistry.register(CollectorRegistry.java:50)
        at io.prometheus.client.Collector.register(Collector.java:307)
        at 
org.apache.seatunnel.engine.server.telemetry.metrics.ExportsInstanceInitializer.init(ExportsInstanceInitializer.java:45)
        at 
org.apache.seatunnel.engine.server.SeaTunnelServerStarter.initTelemetryInstance(SeaTunnelServerStarter.java:122)
        at 
org.apache.seatunnel.engine.server.SeaTunnelServerStarter.initializeHazelcastInstance(SeaTunnelServerStarter.java:71)
        at 
org.apache.seatunnel.engine.server.SeaTunnelServerStarter.createHazelcastInstance(SeaTunnelServerStarter.java:50)
        at 
org.apache.seatunnel.core.starter.seatunnel.command.ServerExecuteCommand.execute(ServerExecuteCommand.java:60)
        at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
        at 
org.apache.seatunnel.core.starter.seatunnel.SeaTunnelServer.main(SeaTunnelServer.java:34)
    
   [] 2025-06-17 16:47:00,958 ERROR [o.a.s.c.s.SeaTunnel           ] [main] - 
   
===============================================================================
   ```
   
   ### Zeta or Flink or Spark Version
   
   Zeta 2.3.8
   
   ### Java or Scala Version
   
   1.8
   
   ### 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