JBSEAM-5080 - fixed NPE