Motivation: The toString() methods of MqttSubscribePayload and MqttUnsubscribePayload are causing exceptions when no topics are set. Modification: The toString() methods will not throw Excpetions anymore. Result: Fixes #9197
Motivation: Fixing an introduced NPE by #6817 Modification: Add null checks. Result: Fixes #7076 .