Details

      Description

      Reproduction steps:
      1) Start a portal
      2) when it's started deploy the following war file for the git repository liferay-portal\modules\apps\foundation\frontend-theme\frontend-theme-product-app\.task-cache\product-app-theme.war

      Expected: War file is deployed properly without errors
      Actual: The following error is being thrown:

      10:50:39,298 INFO  [fileinstall-/Users/marcoscastro/Proyects/7.0/bundles/osgi/war][BaseAutoDeployListener:50] Themes for /Users/marcoscastro/Proyects/7.0/bundles/tomcat-8.0.32/temp/20160503105038447HYZLUPDB/product-app-theme.war copied successfully
      10:50:40,333 INFO  [Refresh Thread: Equinox Container: 50162a1e-1c11-0016-1436-c1e7b186efea][HotDeployImpl:222] Deploying product-app-theme from queue
      10:50:40,333 INFO  [Refresh Thread: Equinox Container: 50162a1e-1c11-0016-1436-c1e7b186efea][PluginPackageUtil:1006] Reading plugin package for product-app-theme
      03-May-2016 10:50:40.335 INFO [Refresh Thread: Equinox Container: 50162a1e-1c11-0016-1436-c1e7b186efea] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
      10:50:40,339 INFO  [Refresh Thread: Equinox Container: 50162a1e-1c11-0016-1436-c1e7b186efea][ThemeHotDeployListener:94] Registering themes for product-app-theme
      10:50:40,995 INFO  [Refresh Thread: Equinox Container: 50162a1e-1c11-0016-1436-c1e7b186efea][ThemeHotDeployListener:109] 1 theme for product-app-theme is available for use
      10:50:41,091 INFO  [Refresh Thread: Equinox Container: 50162a1e-1c11-0016-1436-c1e7b186efea][BundleStartStopLogger:35] STARTED product-app-theme_7.0.1 [478]
      10:50:41,103 ERROR [liferay/hot_deploy-1][PortletImpl:1324] No portlet bag for {mvccVersion=0, id=0, companyId=0, portletId=197_WAR_shoppingweb, roles=, active=true}
      10:50:41,113 ERROR [liferay/hot_deploy-1][SerialDestination:61] Unable to process message {destinationName=liferay/hot_deploy, response=null, responseDestinationName=null, responseId=null, payload=null, values={groupId=0, command=deploy, companyId=0, servletContextName=product-app-theme}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalStateException: No portlet bag for {mvccVersion=0, id=0, companyId=0, portletId=197_WAR_shoppingweb, roles=, active=true}
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
      	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
      	at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:58)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalStateException: No portlet bag for {mvccVersion=0, id=0, companyId=0, portletId=197_WAR_shoppingweb, roles=, active=true}
      	at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:200)
      	at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:217)
      	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:153)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      	at com.sun.proxy.$Proxy154.importLayouts(Unknown Source)
      	at com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil.importLayouts(ExportImportLocalServiceUtil.java:209)
      	at com.liferay.exportimport.resources.importer.util.LARImporter.importResources(LARImporter.java:89)
      	at com.liferay.exportimport.resources.importer.messaging.ResourcesImporterHotDeployMessageListener._importResources(ResourcesImporterHotDeployMessageListener.java:196)
      	at com.liferay.exportimport.resources.importer.messaging.ResourcesImporterHotDeployMessageListener.initialize(ResourcesImporterHotDeployMessageListener.java:128)
      	at com.liferay.exportimport.resources.importer.messaging.ResourcesImporterHotDeployMessageListener.onDeploy(ResourcesImporterHotDeployMessageListener.java:141)
      	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: java.lang.IllegalStateException: No portlet bag for {mvccVersion=0, id=0, companyId=0, portletId=197_WAR_shoppingweb, roles=, active=true}
      	at com.liferay.portal.model.impl.PortletImpl.getPortletDataHandlerInstance(PortletImpl.java:1326)
      	at com.liferay.exportimport.controller.LayoutImportController.validateFile(LayoutImportController.java:1362)
      	at com.liferay.exportimport.controller.LayoutImportController.doImportFile(LayoutImportController.java:426)
      	at com.liferay.exportimport.controller.LayoutImportController.importFile(LayoutImportController.java:218)
      	at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:185)
      	... 25 more
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 20 weeks, 4 days ago