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

Console errors when deploying the zoe-brochure-theme and zoe-tech-theme.

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE RC2
    • Fix Version/s: 6.2.0 CE RC4
    • Labels:
    • Environment:
      Tomcat 7.0 + MySQL 5. Portal ee-6.2.x EE GIT ID: a68ccda94ffb0b19ad6f3e69968994e57c480e43.
      Plugins 6.2.x EE GIT ID: 0aa5091b3b433dd7c086ca31d0f69c697ffe6acc.

      Description

      Steps to reproduce:

      1. Download and install the zoe-brochure-theme
      2. Assert the console error:
        19:06:43,488 INFO  [localhost-startStop-2][ThemeHotDeployListener:117] 1 theme for zoe-brochure-theme is available for use
        19:06:48,206 ERROR [liferay/hot_deploy-1][SerialDestination:92] Unable to process message {destinationName=liferay/hot_deploy, response=null, responseDestinationName=null, responseId=null, payload=null, values={command=deploy, companyId=0, servletContextName=zoe-brochure-theme}}
        com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portlet.dynamicdatamapping.StructureXsdException
        	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
        	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
        	at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:65)
        	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
        	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
        	at java.lang.Thread.run(Thread.java:722)
        Caused by: com.liferay.portlet.dynamicdatamapping.StructureXsdException
        	at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.addStructure(DDMStructureLocalServiceImpl.java:153)
        	at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.addStructure(DDMStructureLocalServiceImpl.java:282)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        	at java.lang.reflect.Method.invoke(Method.java:601)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
        	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
        	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
        	at com.liferay.portal.security.pacl.PACLInvocationHandler.doInvoke(PACLInvocationHandler.java:62)
        	at com.liferay.portal.security.pacl.PACLInvocationHandler.invoke(PACLInvocationHandler.java:51)
        	at $Proxy450.addStructure(Unknown Source)
        	at com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalServiceUtil.addStructure(DDMStructureLocalServiceUtil.java:603)
        	at com.liferay.resourcesimporter.util.FileSystemImporter.addDDMStructures(FileSystemImporter.java:160)
        	at com.liferay.resourcesimporter.util.ResourceImporter.addDDMStructures(ResourceImporter.java:64)
        	at com.liferay.resourcesimporter.util.FileSystemImporter.setupAssets(FileSystemImporter.java:902)
        	at com.liferay.resourcesimporter.util.FileSystemImporter.doImportResources(FileSystemImporter.java:657)
        	at com.liferay.resourcesimporter.util.ResourceImporter.importResources(ResourceImporter.java:38)
        	at com.liferay.resourcesimporter.servlet.ResourcesImporterServletContextListener.initialize(ResourcesImporterServletContextListener.java:262)
        	at com.liferay.resourcesimporter.servlet.ResourcesImporterServletContextListener$1.onDeploy(ResourcesImporterServletContextListener.java:86)
        	at com.liferay.portal.kernel.messaging.HotDeployMessageListener.doReceive(HotDeployMessageListener.java:55)
        	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
        	... 5 more
        

      Expected result:
      The zoe-brochure-theme should be deployed and correctly applied

      Actual result:
      In the console it says the zoe-brochure-theme is ready to use, but immediately after there is an error

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sharry.shi Sharry Shi
                Reporter:
                sharry.shi Sharry Shi
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.2.0 CE RC4