COMMONS-341 fix NPE with plugin portlet