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

NullPointerException is thrown when Asset Publisher with article and document are republished.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 7.0.X
    • Fix Version/s: None
    • Component/s: Staging
    • Labels:
    • Fix Priority:
      3

      Description

      Reproduction steps:

      0.) Use latest 7.0.x bundle, delete the automatically deployed Adaptive Media plugin from osgi/modules. It overrides the publishing logic and prevents the exception.

      1.) Create a new site and enable local Staging with the default configuration.

      2.) On your site create two new pages (page1 and page2).

      3.) Create a new basic web content, add some data to the title and the content section (test1, test1).

      4.) Upload a new document to the Documents and Media.

      5.) Add a web content display to the page1 and configure it to show the article from step 3.

      6.) Make a publication to Live.

      Checkpoint: The publication is successful.

      7.) Add the image to the article and publish it.

      8.) Make a publication to Live.

      Checkpoint: The publication is successful.

      9.) Now add an Asset Publisher to page2 and initiate a new publication.

      Result: The publication will fail with a NullPointerException. The full error can be found in 'NullPointerException.txt'.

      Originally LPS-74209 caused the behavior.

      Also tested:
       master @ commit (5cbf6d6d84b0e202b8de63269f264b2f252c9b66) fixed

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              vendel.toreki Vendel Töreki
              Participants of an Issue:
              Recent user:
              Vendel Töreki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 39 weeks, 3 days ago

                  Packages

                  Version Package