JBIDE-16472 - npe during publish