PLAT-6474 - Metrics component factory JMX null check

Ensure null server handled in metrics JMX
Reviewed-by: Chris