NullPointerException when accessing portal imported from EPP 5.1.x in EPP 5.2.x with Site Publisher

Solution Verified - Updated -


When accessing a site exported from EPP 5.1.1 and imported EPP 5.2 with SP, we have the following error:

ERROR [org.exoplatform.webui.application.portlet.PortletApplicationController] (http- Error while rendering the porlet
org.exoplatform.groovyscript.TemplateRuntimeException: Groovy template exception at DataText[pos=Position[col=1,line=28],data=  boolean userCouldEditPage = uicomponent.hasEditPermissionOnPage();] for template app:/groovy/Toolbar/UIAdminToolbarPortlet.gtmpl
Caused by: java.lang.NullPointerException
    at org.exoplatform.wcm.webui.Utils.hasEditPermissionOnPage(
    at org.exoplatform.wcm.webui.toolbar.UIAdminToolbarPortlet.hasEditPermissionOnPage(


  • JBoss Enterprise Portal Platform (EPP)
    • 5.2.x
  • Site Publisher (SP)
    • 5.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In