caishunfeng commented on pull request #6269:
URL: https://github.com/apache/dolphinscheduler/pull/6269#issuecomment-926599723


   The PythonGatewayServer is run by spring and it can manage beans by 
annotations like @Autowired,
   so if you new the PythonGatewayServer by yourself,  which is out of Spring 
control, you will get some null beans.
   
   you can have a try like `GatewayServer server = new GatewayServer(this);` 
instead of new  PythonGatewayServer.


-- 
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