gnailJC commented on issue #12966:
URL: 
https://github.com/apache/dolphinscheduler/issues/12966#issuecomment-1430894286

   ```    
   public void setNextNode(Object nextNode) {
           if (nextNode instanceof Long) {
               this.nextNode = (Long) nextNode;
           } else {
               List<String> nextNodes = (ArrayList) nextNode; // CaseError
               if (CollectionUtils.isNotEmpty(nextNodes)) {
                   this.nextNode = Long.parseLong(nextNodes.get(0));
               }
           }
       }
   ````
   <img width="749" alt="image" 
src="https://user-images.githubusercontent.com/31072303/218965398-a007d573-3e62-4d1d-99f6-5c251d60fea0.png";>
   
   An CaseError will occur if the nextNode is empty when `branch flow` is not 
set. 


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