You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "gnailJC (via GitHub)" <gi...@apache.org> on 2023/02/15 07:52:04 UTC
[GitHub] [dolphinscheduler] gnailJC commented on issue #12966: [Bug] Failed to export and then import the project.
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org