CMS-2647 NullPointer exception occurs during editing a content