Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-56500

Ensure TemplateManagers are initialized out side PACL policy scope

    Details

      Description

      This is the fixing the mysterious random 270 PACL test failures

      Could not initialize class com.liferay.portal.kernel.template.TemplateManagerUtil
      
      java.lang.NoClassDefFoundError: Could not initialize class com.liferay.portal.kernel.template.TemplateManagerUtil
      	at com.liferay.portal.deploy.hot.HotDeployImpl.fireUndeployEvent(HotDeployImpl.java:125)
      	at com.liferay.portal.security.lang.DoPrivilegedHandler$InvokePrivilegedExceptionAction.run(DoPrivilegedHandler.java:168)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandler.java:101)
      	at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler.java:57)
      	at com.sun.proxy.$Proxy87.fireUndeployEvent(Unknown Source)
      	at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireUndeployEvent(HotDeployUtil.java:32)
      	at com.liferay.portal.test.rule.PACLTestRule.afterClass(PACLTestRule.java:103)
      	at com.liferay.portal.test.rule.PACLTestRule$1.evaluate(PACLTestRule.java:92)
      	at com.liferay.portal.test.rule.PACLTestRule.invokeStatement(PACLTestRule.java:207)
      	at com.liferay.portal.test.rule.PACLTestRule$1.evaluate(PACLTestRule.java:88)
      	at com.liferay.portal.security.pacl.PACLAggregateTest$PACLTestsProcessCallable.call(PACLAggregateTest.java:384)
      	at com.liferay.portal.security.pacl.PACLAggregateTest$PACLTestsProcessCallable.call(PACLAggregateTest.java:338)
      	at com.liferay.portal.kernel.process.local.LocalProcessLauncher.main(LocalProcessLauncher.java:122)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 18 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 M6