Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE M3
    • Fix Version/s: 6.2.0 CE M2
    • Labels:
      None
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 4d7c83e29d0327286cfb33de3c906881b660867c.
      Plugin 6.2.x GIT ID: dd7476a64f5011049884cdf002c726867193585a.

      Description

      Steps to reproduce:

      1. Start liferay bundle.
      2. Deploy the following plugin portlet:
        • test-pacl-portlet
        • chat-portlet
        • flash-portlet
        • sample-service-builder-portlet-6.2.0.1

      Expectation:
      All plugin deployed successfully, bundle start successfully.
      Reality:
      An exception occured when deploying test-pacl-portlet.

      05:07:06,828 ERROR [pool-2-thread-5][HotDeployImpl:189] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for test-pacl-portlet
      com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for test-pacl-portlet
              at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:46)
              at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:122)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:186)
              at com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:214)
              at com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:95)
              at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:27)
              at com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:159)
              at com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:149)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:64)
              at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:56)
              at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:52)
              at com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:111)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
              at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
              at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1099)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1621)
              at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
              at java.util.concurrent.FutureTask.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.ExceptionInInitializerError
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
              at java.lang.reflect.Constructor.newInstance(Unknown Source)
              at java.lang.Class.newInstance0(Unknown Source)
              at java.lang.Class.newInstance(Unknown Source)
              at com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:135)
              at com.liferay.portal.deploy.hot.PortletHotDeployListener.initPortlet(PortletHotDeployListener.java:533)
              at com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:325)
              at com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:119)
              ... 25 more
      Caused by: java.lang.SecurityException: Attempted to get class loader
              at com.liferay.portal.security.pacl.checker.BaseChecker.throwSecurityException(BaseChecker.java:259)
              at com.liferay.portal.security.pacl.checker.RuntimeChecker.checkPermission(RuntimeChecker.java:89)
              at com.liferay.portal.security.pacl.ActivePACLPolicy.checkPermission(ActivePACLPolicy.java:55)
              at com.liferay.portal.security.lang.PortalSecurityManager.checkPermission(PortalSecurityManager.java:103)
              at com.liferay.portal.security.lang.PortalSecurityManager.checkPermission(PortalSecurityManager.java:74)
              at com.liferay.portal.kernel.util.PortalClassLoaderUtil.getClassLoader(PortalClassLoaderUtil.java:38)
              at com.liferay.portal.kernel.util.ClassResolverUtil.resolveByPortalClassLoader(ClassResolverUtil.java:57)
              at com.liferay.util.bridges.mvc.MVCPortlet.<clinit>(MVCPortlet.java:428)
              ... 35 more
      05:07:57,388 ERROR [http-bio-9080-exec-6][AutoLoginFilter:230] Current URL / generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.util.EncryptorException: com.liferay.util.EncryptorException: javax.crypto.BadPaddingException: Given final block not properly padded
      05:15:40,246 INFO  [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1426] Checking for available updates
      05:15:43,646 INFO  [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1470] Finished checking for available updates in 3400 ms
      
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 41 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.0 CE M2