[JBIDE-14923] NPE in MetaClassTemplateHelper