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

Importing public pages LAR showing NullPointerException in DXP

    Details

      Description

      Customer's Issue:
      Customer is facing an issue with the import export functionality. They are exporting a LAR file of Public Pages from one of their development environment and importing the same in other instance of Liferay DXP which is running in their local machine. Below are the activities have been performed by them:

      1) Exported content from Dev 1(Liferay DXP with de-9 fix pack) which got successful. When you imported this LAR file in their localhost(Liferay DXP with no fix pack), it got failed.

      2) Updated Liferay DXP of localhost and Dev with the latest fix pack i.e. de-10 successfully. Again, they exported content from Dev 1(Liferay DXP with de-10 fix pack) which got successful. But, when they imported this LAR file in their localhost(Liferay DXP with de-10 fix pack), it again got failed.

      3) Changed mysql collation to utf8-general-ci which previously was latin-general-ci and again exported content from Dev 1(Liferay DXP with de-10 fix pack) which got successful. But, when they imported this LAR file in their localhost(Liferay DXP with de-10 fix pack), it again got failed.

      Customer's Requirement:

      Customer's main objective is to export content from Dev environment and import it into their Liferay DXP instance which is running in their local machine.

      Steps to reproduce:
      1. Go to Content > Dynamic Data Lists > Manage Data Definitions (upper right corner), and add a new Data Definition with two text fields.
      2. Create a Dynamic Data List that uses the previously created Data Definition.
      3. Place a Dynamic Data List Display portlet on a page and configure it to display the previously create List.
      4. Create a new Record into your List.
      5. Go back to Content > Dynamic Data Lists > Manage Data Definitions (upper right corner), and edit your Data Definition: remove one of the fields.
      6. Export the whole Site (Publishing > Export).
      7. Create a new Site and attemt to import the LAR file.

      Result: Import fails with this error message:
      com.liferay.dynamic.data.mapping.exception.StorageException: java.lang.NullPointerException

      Results on master @e330d7f03769a98f5b54f0e4c9db8f0d907fad7d: Not Reproduced!

      End Goal:
      Please provide the fix for the above issue.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  7.0.0 DXP FP14
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE