Fixed a NullPointerException in alarm dashlet