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.


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


      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


          Issue Links



              • Votes:
                0 Vote for this issue
                1 Start watching this issue


                • Created:
                  Days since last comment:
                  1 year, 30 weeks, 3 days ago


                  Version Package