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

Exceptions adding test-resources-importer portlet

Details

    • 3
    • Regression Bug

    Description

      Steps to reproduce:
      1. Deploy test-resources-importer
      2. Add portlet to page

      18:33:36,292 INFO  [localhost-startStop-2][PortletHotDeployListener:243] Registering portlets for test-resources-importer-portlet
      18:33:36,421 INFO  [localhost-startStop-2][PortletHotDeployListener:392] 1 portlet for test-resources-importer-portlet is available for use
      18:34:30,594 ERROR [liferay/hot_deploy-1][XugglerImpl:131] Liferay does not have the Xuggler native libraries installed. In order to generate video and audio previews, please follow the instructions for Xuggler in the Server Administration section of the Control Panel at: http://<server>/group/control_panel/manage/-/server/external-services. Error message is: no xuggle in java.library.path
      18:34:32,396 INFO  [liferay/hot_deploy-1][ResourcesImporterHotDeployMessageListener:256] Importing resources from test-resources-importer-portlet to group 10497 takes 2420 ms
      18:34:32,996 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:32,998 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,174 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,176 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,490 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,492 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,561 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,562 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,626 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,627 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,674 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,675 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,719 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,720 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,769 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,770 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,815 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:33,817 WARN  [http-bio-8080-exec-3][DLPreviewableProcessor:607] No thumbnail found for file entry 10503
      18:34:36,282 ERROR [liferay/hot_deploy-1][SerialDestination:69] Unable to process message {destinationName=liferay/hot_deploy, response=null, responseDestinationName=liferay/resources_importer, responseId=5855598e-610f-42b3-8b12-229d5d0796af, payload=null, values={defaultLocale=en_US, groupId=0, [email protected]51e4afa5, principalName=10205, siteDefaultLocale=en_US, command=deploy, companyId=10156, themeDisplayLocale=en_US, servletContextName=test-resources-importer-portlet}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.lar.PortletDataException: com.liferay.portlet.dynamicdatamapping.RequiredStructureException
              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:66)
              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:744)
      Caused by: com.liferay.portal.kernel.lar.PortletDataException: com.liferay.portlet.dynamicdatamapping.RequiredStructureException
              at com.liferay.portal.kernel.lar.BasePortletDataHandler.deleteData(BasePortletDataHandler.java:108)
              at com.liferay.portal.lar.PortletImporter.deletePortletData(PortletImporter.java:311)
              at com.liferay.portal.lar.PortletImporter.deletePortletData(PortletImporter.java:259)
              at com.liferay.portal.lar.LayoutImporter.doImportLayouts(LayoutImporter.java:549)
              at com.liferay.portal.lar.LayoutImporter.importLayouts(LayoutImporter.java:122)
              at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:1834)
              at com.liferay.portal.service.impl.LayoutLocalServiceImpl.importLayouts(LayoutLocalServiceImpl.java:1883)
              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:606)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
              at com.liferay.portal.service.impl.LayoutLocalServiceVirtualLayoutsAdvice.invoke(LayoutLocalServiceVirtualLayoutsAdvice.java:183)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.invoke(LayoutLocalServiceStagingAdvice.java:140)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
              at com.sun.proxy.$Proxy65.importLayouts(Unknown Source)
              at com.liferay.portal.service.LayoutLocalServiceUtil.importLayouts(LayoutLocalServiceUtil.java:1315)
              at com.liferay.resourcesimporter.util.LARImporter.importResources(LARImporter.java:46)
              at com.liferay.resourcesimporter.messaging.ResourcesImporterHotDeployMessageListener.initialize(ResourcesImporterHotDeployMessageListener.java:251)
              at com.liferay.resourcesimporter.messaging.ResourcesImporterHotDeployMessageListener.onDeploy(ResourcesImporterHotDeployMessageListener.java:303)
              at com.liferay.portal.kernel.messaging.HotDeployMessageListener.doReceive(HotDeployMessageListener.java:55)
              at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
              ... 5 more
      Caused by: com.liferay.portlet.dynamicdatamapping.RequiredStructureException
              at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.deleteStructure(DDMStructureLocalServiceImpl.java:408)
              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:606)
              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:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
              at com.sun.proxy.$Proxy116.deleteStructure(Unknown Source)
              at com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureLocalServiceImpl.deleteStructures(DDMStructureLocalServiceImpl.java:506)
              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:606)
              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:55)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
              at com.sun.proxy.$Proxy116.deleteStructures(Unknown Source)
              at com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalServiceUtil.deleteStructures(DDMStructureLocalServiceUtil.java:760)
              at com.liferay.portlet.journal.lar.JournalPortletDataHandler.doDeleteData(JournalPortletDataHandler.java:140)
              at com.liferay.portal.kernel.lar.BasePortletDataHandler.deleteData(BasePortletDataHandler.java:101)
              ... 31 more
      18:34:45,860 INFO  [liferay/hot_deploy-1][FileSystemImporter:923] Layout prototype with name Page 1 - 7.0.0.1 already exists for company 10156
      18:34:45,862 INFO  [liferay/hot_deploy-1][FileSystemImporter:923] Layout prototype with name Page 2 - 7.0.0.1 already exists for company 10156
      18:34:46,425 INFO  [liferay/hot_deploy-1][ResourcesImporterHotDeployMessageListener:256] Importing resources from test-resources-importer-portlet to group 11013 takes 1362 ms

      Expected result:
      No exceptions when adding portlet.

      Actual result:
      Exceptions when adding portlet. (See above)

      Attachments

        Issue Links

          Activity

            People

              brian.wulbern Brian Wulbern
              robert.srisamang Robert Srisam-ang (Inactive)
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 50 weeks, 2 days ago

                Packages

                  Version Package
                  6.2.X EE
                  7.0.X EE