Handle NullPointerException when sending email alerts#5649
Handle NullPointerException when sending email alerts#5649yadvr merged 4 commits intoapache:mainfrom
Conversation
|
@blueorangutan package |
|
Packaging result: ✖️ el7 ✔️ el8 ✔️ debian ✖️ suse15. SL-JID 1656 |
|
@blueorangutan package |
|
@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1658 |
…le-npe-when-sending-email Upgrade to 4.17.0.0
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖️ el7 ✖️ el8 ✖️ debian ✖️ suse15. SL-JID 1725 |
|
I'll check it locally. |
…le-npe-when-sending-email
|
@blueorangutan package |
|
@joseflauzino a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1748 |
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-2571)
|
* Handle NullPointerException when sending email * Improve the log message related to the recipient list is empty Co-authored-by: José Flauzino <jose@scclouds.com.br>
Description
This PR improves the handling of NullPointerException while ACS is sending email alerts, which can occur due to the recipient list being empty (or null).
I also took the liberty to improve some log messages and added unit test cases that address this part of the code.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
How Has This Been Tested?
I ran all related unit tests and they all passed successfully.