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

   ## What happened?
   
   Root cause: the WebSocket handler checks that a workflow is attached, then 
dereferences an execution service that can still be null.
   
   Before: a workflow is attached but execution has not started, then 
ModifyLogicRequest throws a NullPointerException.
   
   Expected: the handler reports that workflow execution is not initialized and 
sends a WorkflowErrorEvent.
   
   ## How to reproduce?
   
   1. Attach a WebSocket session to a workflow without starting execution.
   2. Send a ModifyLogicRequest frame.
   3. Observe the NullPointerException.
   
   A regression test against commit caeb27ea54 reproduced this with 15 passing 
tests and 1 failing test.
   
   ## Version or branch
   
   1.3.0-incubating-SNAPSHOT on main
   
   ## Commit hash
   
   caeb27ea54
   
   ## Browsers
   
   Not browser specific.
   
   ## Relevant log output
   
   java.lang.NullPointerException


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