saowu commented on code in PR #16595:
URL:
https://github.com/apache/dolphinscheduler/pull/16595#discussion_r1748095666
##########
dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-feishu/src/main/java/org/apache/dolphinscheduler/plugin/alert/feishu/FeiShuSender.java:
##########
@@ -118,7 +119,7 @@ public static String formatContent(AlertData alertData) {
for (Map map : list) {
for (Entry<String, Object> entry : (Iterable<Entry<String,
Object>>) map.entrySet()) {
String key = entry.getKey();
- String value = entry.getValue().toString();
+ String value = Objects.nonNull(entry.getValue()) ?
entry.getValue().toString() : null;
Review Comment:

Is the field value in the result processed here empty?
--
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]