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

Staging Global Scope Remote Staging errors when DM is published

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE RC6
    • Fix Version/s: 6.2.0 CE RC6
    • Component/s: Staging
    • Labels:
      None
    • Environment:
      Tomcat 7 + MySQL 5. Portal master GIT ID: 9ca069de24f8b27effb1b350f469473bc9ca19e1.
    • Fix Priority:
      5

      Description

      When a user attempts to publish global scope with a DM image content to remote global scope it fails and an error is thrown.

      Steps to reproduce:

      1. Enable remote staging in local global scope site
      2. Create a DM Basic Document image
      3. Attempt to publish the global scope to remote live

      Expected result:
      The publish should be successful and the DM image should be available in remote global scope site.

      Actual result:
      The publish fails and an error is thrown [below] and the dm image is not available.

      00:47:35,489 ERROR [liferay/background_task-1][ParallelDestination:72] Unable to process message {destinationName=liferay/background_task, response=null, responseDestinationName=null, responseId=null, payload=null, values={permissionChecker=com.liferay.portal.kernel.util.TransientValue@1b2b1985, principalName=10201, companyId=10157, backgroundTaskId=10481}}
      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.ParallelDestination$1.run(ParallelDestination.java:69)
              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: java.lang.NullPointerException
              at com.liferay.portal.staging.StagingImpl.getExceptionMessagesJSONObject(StagingImpl.java:932)
              at com.liferay.portal.kernel.staging.StagingUtil.getExceptionMessagesJSONObject(StagingUtil.java:206)
              at com.liferay.portal.lar.backgroundtask.BaseStagingBackgroundTaskExecutor.handleException(BaseStagingBackgroundTaskExecutor.java:52)
              at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.handleException(DelegatingBackgroundTaskExecutor.java:48)
              at com.liferay.portal.backgroundtask.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:120)
              at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
              ... 5 more
      

        Attachments

          Activity

            People

            • Assignee:
              evan.nagayama Evan Nagayama (Inactive)
              Reporter:
              evan.nagayama Evan Nagayama (Inactive)
              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, 12 weeks, 2 days ago

                Packages

                Version Package
                6.2.0 CE RC6