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

MessageListenerException when deploying test resources importer portlet

    Details

    • Story Points:
      8
    • Fix Priority:
      3

      Description

      PASSED Manual Testing using the following steps:

      1. Start a clean bundle
      2. Deploy resources-importer-web and test-resources-importer-portlet

      Expected Result:
      Deploy successfully without errors.

      Actual Result:
      The console throws the following error:

      01:52:12,207 ERROR [liferay/hot_deploy-1][SerialDestination:70] Unable to process message {destinationName=liferay/hot_deploy, response=null, responseDestinationName=null, responseId=null, payload=null, values={groupId=0, command=deploy, companyId=0, servletContextName=test-resources-importer-portlet}}
      com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
      	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:67)
      	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:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.resourcesimporter.util.BaseImporter.getLayoutPrototype(BaseImporter.java:250)
      	at com.liferay.resourcesimporter.util.FileSystemImporter.addLayoutPrototype(FileSystemImporter.java:1144)
      	at com.liferay.resourcesimporter.util.FileSystemImporter.addLayoutPrototype(FileSystemImporter.java:1221)
      	at com.liferay.resourcesimporter.util.FileSystemImporter.setUpAssets(FileSystemImporter.java:1673)
      	at com.liferay.resourcesimporter.util.FileSystemImporter.doImportResources(FileSystemImporter.java:1265)
      	at com.liferay.resourcesimporter.util.FileSystemImporter.importResources(FileSystemImporter.java:131)
      	at com.liferay.resourcesimporter.messaging.ResourcesImporterHotDeployMessageListener.importResources(ResourcesImporterHotDeployMessageListener.java:128)
      	at com.liferay.resourcesimporter.messaging.ResourcesImporterHotDeployMessageListener.initialize(ResourcesImporterHotDeployMessageListener.java:77)
      	at com.liferay.resourcesimporter.messaging.ResourcesImporterHotDeployMessageListener.onDeploy(ResourcesImporterHotDeployMessageListener.java:90)
      	at com.liferay.portal.kernel.messaging.HotDeployMessageListener.doReceive(HotDeployMessageListener.java:55)
      	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
      	... 5 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                felix.zhang Felix Zhang
                Participants of an Issue:
                Recent user:
                Mária Kispál (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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

                  Packages

                  Version Package