IDE-1070

Fixed NullPointerException when create
portlet class in new portlet project wizard;
reloaded entry categories when switch projects
of different portal versions.