Alxe1 opened a new issue, #12809: URL: https://github.com/apache/dolphinscheduler/issues/12809
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened I add email alert in dolphinscheduler, and it send me an empty email, and I found the log has an error: ``` [ERROR] 2022-11-08 12:20:21.584 +0800 org.apache.dolphinscheduler.spi.utils.JSONUtils:[179] - parse list exception! com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.util.ArrayList<java.util.LinkedHashMap<java.lang.Object,java.lang.Object>>` out of START_OBJECT token at [Source: (String)"{"processDefinitionId":1,"processDefinitionName":"ods_log_logins_di","processInstanceId":182,"processInstanceName":"ods_log_logins_di-46-20221108121900047","taskInstanceId":261,"taskName":"data quality-not equal 0","ruleType":0,"ruleName":"(table_count_check)","statisticsValue":1.3335117E7,"comparisonValue":0.0,"checkType":1,"threshold":0.0,"operator":5,"failureStrategy":0,"userId:2,"userName":"test","state":2,"errorDataPath":"hdfs://mycluster:8020/user/dolphinscheduler/data_quality_error_data/0_1"[truncated 20 chars]; line: 1, column: 1] at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59) at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1445) at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1219) at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1171) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.handleNonArray(CollectionDeserializer.java:332) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:265) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245) at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4218) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3214) at org.apache.dolphinscheduler.spi.utils.JSONUtils.toList(JSONUtils.java:177) at org.apache.dolphinscheduler.plugin.alert.email.template.DefaultHTMLTemplate.getTableTypeMessage(DefaultHTMLTemplate.java:72) at org.apache.dolphinscheduler.plugin.alert.email.template.DefaultHTMLTemplate.getMessageFromTemplate(DefaultHTMLTemplate.java:54) at org.apache.dolphinscheduler.plugin.alert.email.MailSender.htmlTable(MailSender.java:219) at org.apache.dolphinscheduler.plugin.alert.email.MailSender.htmlTable(MailSender.java:229) at org.apache.dolphinscheduler.plugin.alert.email.MailSender.getStringObjectMap(MailSender.java:365) at org.apache.dolphinscheduler.plugin.alert.email.MailSender.sendMails(MailSender.java:187) at org.apache.dolphinscheduler.plugin.alert.email.MailSender.sendMails(MailSender.java:141) at org.apache.dolphinscheduler.plugin.alert.email.EmailAlertChannel.process(EmailAlertChannel.java:42) at org.apache.dolphinscheduler.alert.AlertSenderService.alertResultHandler(AlertSenderService.java:232) at org.apache.dolphinscheduler.alert.AlertSenderService.send(AlertSenderService.java:105) at org.apache.dolphinscheduler.alert.AlertSenderService.run(AlertSenderService.java:76) ``` ### What you expected to happen Get a not empty email. ### How to reproduce Use the data quality plugin, and test a hive table data quality, test whether it equals 0. ### Anything else _No response_ ### Version 3.0.x ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
