carloea2 opened a new issue, #8165:
URL: https://github.com/apache/texera/issues/8165

   ### What happened?
   
   A logic change can arrive after a workflow is attached but before its 
execution service is initialized. The WebSocket handler dereferences the 
missing service and reports a Java null pointer error.
   
   Before: logic change before execution initialization reports a null pointer 
error.
   
   After: logic change before execution initialization reports that workflow 
execution is not initialized.
   
   ### How to reproduce?
   
   1. Start the local computing unit service.
   2. Open the workflow WebSocket for a workflow that has not started execution.
   3. Send a `ModifyLogicRequest`.
   4. Observe the `WorkflowErrorEvent` message.
   
   ### Version or branch
   
   1.3.0-incubating-SNAPSHOT on main
   
   ### Commit hash
   
   70c21145887920528d7d5540e3fb790b43e8b759
   
   ### Relevant log output
   
   java.lang.NullPointerException: Cannot invoke 
WorkflowExecutionService.executionReconfigurationService because 
executionService is null


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