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

NPE ERROR appears when importing specific lar file to 7.1.x

    Details

    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Start up 7.1.x bundle.
      2. Create a new site named as SiteA.
      3. Import HR_Home_Page_Content.lar.

      Actual Result:
      NPE error appears in the console:

      2019-09-23 08:59:12.038 ERROR [liferay/background_task_status-1][SerialDestination:61] Unable to process message {destinationName=liferay/background_task_status, response=null, responseDestinationName=null, responseId=null, payload=null, values={groupId=0, backgroundTaskId=37779, portletModelAdditionCountersTotal=0, principalName=20140, permissionChecker=com.liferay.portal.kernel.util.TransientValue@728350f4, siteDefaultLocale=en_US, themeDisplayLocale=en_US, modelDeletionCounters={com.liferay.journal.model.JournalFeed=com.liferay.portal.kernel.util.LongWrapper@35a8561f, com.liferay.commerce.product.model.CPDefinition=com.liferay.portal.kernel.util.LongWrapper@2bd5a604, com.liferay.wiki.model.WikiPage=com.liferay.portal.kernel.util.LongWrapper@1d6f3313, com.liferay.portal.reports.engine.console.model.Definition=com.liferay.portal.kernel.util.LongWrapper@7503d4ba, com.liferay.commerce.product.model.CPInstance=com.liferay.portal.kernel.util.LongWrapper@26c7cab, com.liferay.knowledge.base.model.KBTemplate=com.liferay.portal.kernel.util.LongWrapper@48f0f64, com.liferay.calendar.model.CalendarNotificationTemplate=com.liferay.portal.kernel.util.LongWrapper@609c434d, com.liferay.blogs.kernel.model.BlogsEntry=com.liferay.portal.kernel.util.LongWrapper@bd1ede0, com.liferay.message.boards.kernel.model.MBMessage#referrer-class-name-all=com.liferay.portal.kernel.util.LongWrapper@6ab95115, com.liferay.calendar.model.Calendar=com.liferay.portal.kernel.util.LongWrapper@16b18709, com.liferay.calendar.model.CalendarResource=com.liferay.portal.kernel.util.LongWrapper@14b538b9, com.liferay.journal.model.JournalArticle=com.liferay.portal.kernel.util.LongWrapper@100f6922, com.liferay.bookmarks.model.BookmarksEntry=com.liferay.portal.kernel.util.LongWrapper@309ea3cf, com.liferay.polls.model.PollsQuestion=com.liferay.portal.kernel.util.LongWrapper@2a0df31a, com.liferay.dynamic.data.mapping.model.DDMTemplate#com.liferay.dynamic.data.mapping.model.DDMStructure=com.liferay.portal.kernel.util.LongWrapper@17c06612, com.liferay.message.boards.kernel.model.MBMessage#referrer-class-name-any=com.liferay.portal.kernel.util.LongWrapper@7ced5bb1, com.liferay.mobile.device.rules.model.MDRRule=com.liferay.portal.kernel.util.LongWrapper@39280f38, com.liferay.portal.kernel.model.LayoutFriendlyURL=com.liferay.portal.kernel.util.LongWrapper@7c78be24, com.liferay.journal.model.JournalFolder=com.liferay.portal.kernel.util.LongWrapper@689ca74f, com.liferay.dynamic.data.mapping.model.DDMDataProviderInstance=com.liferay.portal.kernel.util.LongWrapper@7eba593e, com.liferay.calendar.model.CalendarBooking=com.liferay.portal.kernel.util.LongWrapper@792d81e, com.liferay.document.library.kernel.model.DLFileEntry=com.liferay.portal.kernel.util.LongWrapper@3e22df56, com.liferay.commerce.product.model.CPSpecificationOption=com.liferay.portal.kernel.util.LongWrapper@3389b102, com.liferay.asset.kernel.model.AssetCategory=com.liferay.portal.kernel.util.LongWrapper@1fd67de4, com.liferay.asset.kernel.model.AssetTag=com.liferay.portal.kernel.util.LongWrapper@e951428, com.liferay.message.boards.kernel.model.MBBan=com.liferay.portal.kernel.util.LongWrapper@26e5b2c3, com.liferay.mobile.device.rules.model.MDRAction#com.liferay.portal.kernel.model.Layout=com.liferay.portal.kernel.util.LongWrapper@581a16bc, com.liferay.asset.kernel.model.AssetVocabulary=com.liferay.portal.kernel.util.LongWrapper@740f6906, com.liferay.document.library.kernel.model.DLFolder=com.liferay.portal.kernel.util.LongWrapper@521d17fb, com.liferay.portal.kernel.model.Layout=com.liferay.portal.kernel.util.LongWrapper@5965d4d1, com.liferay.commerce.product.model.CPOption=com.liferay.portal.kernel.util.LongWrapper@51c296b7, com.liferay.ratings.kernel.model.RatingsEntry#referrer-class-name-all=com.liferay.portal.kernel.util.LongWrapper@5e0a92d0, com.liferay.dynamic.data.lists.model.DDLRecord=com.liferay.portal.kernel.util.LongWrapper@6492f425, com.liferay.portal.reports.engine.console.model.Source=com.liferay.portal.kernel.util.LongWrapper@13a6673a, com.liferay.document.library.kernel.model.DLFileEntryType=com.liferay.portal.kernel.util.LongWrapper@56142cd7, com.liferay.knowledge.base.model.KBComment=com.liferay.portal.kernel.util.LongWrapper@5c82a8d7, com.liferay.portal.kernel.model.Repository#referrer-class-name-all=com.liferay.portal.kernel.util.LongWrapper@2f424cbe, com.liferay.portal.kernel.model.Team=com.liferay.portal.kernel.util.LongWrapper@f7d71db, com.liferay.document.library.kernel.model.DLFileShortcut=com.liferay.portal.kernel.util.LongWrapper@78f89677, com.liferay.polls.model.PollsVote=com.liferay.portal.kernel.util.LongWrapper@31755daf, com.liferay.dynamic.data.mapping.model.DDMStructure#com.liferay.journal.model.JournalArticle=com.liferay.portal.kernel.util.LongWrapper@cefd083, com.liferay.dynamic.data.lists.model.DDLRecordSet=com.liferay.portal.kernel.util.LongWrapper@68f88b6c, com.liferay.commerce.product.model.CPOptionCategory=com.liferay.portal.kernel.util.LongWrapper@548ff32a, com.liferay.message.boards.kernel.model.MBThreadFlag=com.liferay.portal.kernel.util.LongWrapper@4f0c5431, com.liferay.commerce.product.model.CPOptionValue=com.liferay.portal.kernel.util.LongWrapper@3d15ee9b, com.liferay.knowledge.base.model.KBArticle=com.liferay.portal.kernel.util.LongWrapper@119ab1be, com.liferay.commerce.product.model.CPAttachmentFileEntry=com.liferay.portal.kernel.util.LongWrapper@3a271604}, defaultLocale=en_US, companyId=20099, messageType=portlet, modelAdditionCounters={com.liferay.journal.model.JournalFeed=com.liferay.portal.kernel.util.LongWrapper@172760ad, com.liferay.commerce.product.model.CPDefinition=com.liferay.portal.kernel.util.LongWrapper@55425e4, com.liferay.wiki.model.WikiPage=com.liferay.portal.kernel.util.LongWrapper@410763b1, com.liferay.portal.reports.engine.console.model.Definition=com.liferay.portal.kernel.util.LongWrapper@4392daa3, com.liferay.commerce.product.model.CPInstance=com.liferay.portal.kernel.util.LongWrapper@6f1ce874, com.liferay.knowledge.base.model.KBTemplate=com.liferay.portal.kernel.util.LongWrapper@4b439b76, com.liferay.calendar.model.CalendarNotificationTemplate=com.liferay.portal.kernel.util.LongWrapper@31a36344, com.liferay.blogs.kernel.model.BlogsEntry=com.liferay.portal.kernel.util.LongWrapper@64b1f011, com.liferay.message.boards.kernel.model.MBMessage#referrer-class-name-all=com.liferay.portal.kernel.util.LongWrapper@6c66fbbb, com.liferay.calendar.model.Calendar=com.liferay.portal.kernel.util.LongWrapper@3ba9456a, com.liferay.calendar.model.CalendarResource=com.liferay.portal.kernel.util.LongWrapper@11bab818, com.liferay.journal.model.JournalArticle=com.liferay.portal.kernel.util.LongWrapper@7ae0e346, com.liferay.bookmarks.model.BookmarksEntry=com.liferay.portal.kernel.util.LongWrapper@21006482, com.liferay.polls.model.PollsQuestion=com.liferay.portal.kernel.util.LongWrapper@50f3e7dd, com.liferay.dynamic.data.mapping.model.DDMTemplate#com.liferay.dynamic.data.mapping.model.DDMStructure=com.liferay.portal.kernel.util.LongWrapper@14cdffa3, com.liferay.message.boards.kernel.model.MBMessage#referrer-class-name-any=com.liferay.portal.kernel.util.LongWrapper@69cac4af, com.liferay.mobile.device.rules.model.MDRRule=com.liferay.portal.kernel.util.LongWrapper@4b4c9960, com.liferay.portal.kernel.model.LayoutFriendlyURL=com.liferay.portal.kernel.util.LongWrapper@4ce42db, com.liferay.journal.model.JournalFolder=com.liferay.portal.kernel.util.LongWrapper@7f058506, com.liferay.dynamic.data.mapping.model.DDMDataProviderInstance=com.liferay.portal.kernel.util.LongWrapper@40d5d9f5, com.liferay.calendar.model.CalendarBooking=com.liferay.portal.kernel.util.LongWrapper@6ffdcf16, com.liferay.document.library.kernel.model.DLFileEntry=com.liferay.portal.kernel.util.LongWrapper@19d390a8, com.liferay.commerce.product.model.CPSpecificationOption=com.liferay.portal.kernel.util.LongWrapper@4aad0b21, com.liferay.asset.kernel.model.AssetCategory=com.liferay.portal.kernel.util.LongWrapper@245969f0, com.liferay.asset.kernel.model.AssetTag=com.liferay.portal.kernel.util.LongWrapper@25dd8712, com.liferay.message.boards.kernel.model.MBBan=com.liferay.portal.kernel.util.LongWrapper@200e15d1, com.liferay.mobile.device.rules.model.MDRAction#com.liferay.portal.kernel.model.Layout=com.liferay.portal.kernel.util.LongWrapper@2d8e6f2, com.liferay.asset.kernel.model.AssetVocabulary=com.liferay.portal.kernel.util.LongWrapper@6da119b0, com.liferay.document.library.kernel.model.DLFolder=com.liferay.portal.kernel.util.LongWrapper@240de601, com.liferay.portal.kernel.model.Layout=com.liferay.portal.kernel.util.LongWrapper@74fddfcc, com.liferay.commerce.product.model.CPOption=com.liferay.portal.kernel.util.LongWrapper@31d748d7, com.liferay.ratings.kernel.model.RatingsEntry#referrer-class-name-all=com.liferay.portal.kernel.util.LongWrapper@54deabc4, com.liferay.dynamic.data.lists.model.DDLRecord=com.liferay.portal.kernel.util.LongWrapper@1fa862b0, com.liferay.portal.reports.engine.console.model.Source=com.liferay.portal.kernel.util.LongWrapper@531cd36, com.liferay.document.library.kernel.model.DLFileEntryType=com.liferay.portal.kernel.util.LongWrapper@eabacb7, com.liferay.knowledge.base.model.KBComment=com.liferay.portal.kernel.util.LongWrapper@2f0aa62d, com.liferay.portal.kernel.model.Repository#referrer-class-name-all=com.liferay.portal.kernel.util.LongWrapper@736bfc9e, com.liferay.portal.kernel.model.Team=com.liferay.portal.kernel.util.LongWrapper@78b8c7b8, com.liferay.document.library.kernel.model.DLFileShortcut=com.liferay.portal.kernel.util.LongWrapper@2b25120c, com.liferay.polls.model.PollsVote=com.liferay.portal.kernel.util.LongWrapper@5164e28b, com.liferay.dynamic.data.mapping.model.DDMStructure#com.liferay.journal.model.JournalArticle=com.liferay.portal.kernel.util.LongWrapper@7d476b35, com.liferay.dynamic.data.lists.model.DDLRecordSet=com.liferay.portal.kernel.util.LongWrapper@437cf622, com.liferay.commerce.product.model.CPOptionCategory=com.liferay.portal.kernel.util.LongWrapper@40ca3933, com.liferay.message.boards.kernel.model.MBThreadFlag=com.liferay.portal.kernel.util.LongWrapper@36ccfb1b, com.liferay.commerce.product.model.CPOptionValue=com.liferay.portal.kernel.util.LongWrapper@70142034, com.liferay.knowledge.base.model.KBArticle=com.liferay.portal.kernel.util.LongWrapper@547d15f2, com.liferay.commerce.product.model.CPAttachmentFileEntry=com.liferay.portal.kernel.util.LongWrapper@456fbdef}, portletId=com_liferay_site_teams_web_portlet_SiteTeamsPortlet}}
      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:74)
      	at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:58)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752)
      	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at com.liferay.exportimport.internal.background.task.DefaultExportImportBackgroundTaskStatusMessageTranslator.translatePortletMessage(DefaultExportImportBackgroundTaskStatusMessageTranslator.java:120)
      	at com.liferay.exportimport.internal.background.task.DefaultExportImportBackgroundTaskStatusMessageTranslator.translate(DefaultExportImportBackgroundTaskStatusMessageTranslator.java:46)
      	at com.liferay.portal.background.task.internal.messaging.BackgroundTaskStatusMessageListener.doReceive(BackgroundTaskStatusMessageListener.java:68)
      	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:
                joyce.wang Joyce Wang
                Participants of an Issue:
                Recent user:
                Brian Wulbern
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  7 weeks, 3 days ago

                  Packages

                  Version Package