No portlet bag for {id=0, companyId=0, portletId=xxxxx, roles=, active=true} reported during import process

Issue

  • When publishing from staging to live, or importing lar into a new site, the following error is reported:
11:09:48,470 ERROR [liferay/background_task-1][StagingServiceHttp:153] com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalStateException: No portlet bag for {id=0, companyId=0, portlet
Id=xxxxx, roles=, active=true}
com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalStateException: No portlet bag for {id=0, companyId=0, portletId=1_WAR_opensocialportlet, roles=, active=true}

Environment

  • Liferay Portal 6.2

Resolution

  • The error normally happens when the reported portlet bag is missing in memory on the target site (live site or the site that the user would like to import the lar into). For example, if the reported portlet is undeployed on the target site, the portlet bag will be removed from memory.
  • Please check if the reported portlet is undeployed on the target site.
    • If it is undeployed, please deploy it back.
    • If it is not undeployed, try redeploying it. 
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助