Ask - Test
Import Failure
Import Failure
New Member Posts: 2 Join Date: 8/12/24 Recent PostsHello All,
We are facing the following scenario and the import process fails
Scenario:
- Export a site from env with version (Liferay DXP 7.4 Update 91)
- Import included all content, documents, pages, layouts, permissions, categories and fragments
- Import the exported lar file to another environment with version (DXP 2024.Q4.4 Patch Release)
- Pre-import steps:
- Create custom fields references in the package on Calendar Event
- Import Object definitions used for content in the site
- Create new blank site to use for import
The following error was shown in the import job:
and the following log:
2025-03-10 09:48:44.726 ERROR
[liferay/background_task-6][LoggerExportImportLifecycleListener:390]
Staged model {class: com.liferay.portal.kernel.model.Layout,
groupId: 35115, uuid: 9ca0d504-002b-095a-acc3-b41b30e76c99} import
failed
java.lang.NullPointerException: Cannot invoke
"java.lang.Long.longValue()" because the return value of
"java.util.Map.get(Object)" is null
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:708)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:734)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:701)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.doImportReferenceStagedModel(StagedModelDataHandlerUtil.java:437)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:295)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:267)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModels(StagedModelDataHandlerUtil.java:354)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:1063)
~[?:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:117)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalPortletDataHandler.doImportData(JournalPortletDataHandler.java:470)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:387)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:408)
~[?:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:339)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler._importSitePortlets(StagedGroupStagedModelDataHandler.java:586)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:261)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:65)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController._importFile(LayoutImportController.java:971)
~[?:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController.importFile(LayoutImportController.java:211)
~[?:?]
at
com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:185)
~[portal-impl.jar:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) ~[?:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
~[?:?]
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:?]
at java.lang.reflect.Method.invoke(Method.java:569)
~[?:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:41)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:60)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:48)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:40)
~[portal-impl.jar:?]
at
jdk.proxy3.$Proxy97.importLayouts(Unknown Source) ~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:129)
~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:115)
~[?:?]
at
com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:71)
[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInvokerImpl.invoke(TransactionInvokerImpl.java:30)
[portal-impl.jar:?]
at
com.liferay.portal.kernel.transaction.TransactionInvokerUtil.invoke(TransactionInvokerUtil.java:19)
[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor.execute(LayoutImportBackgroundTaskExecutor.java:75)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:54)
[bundleFile:?]
at
com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:32)
[portal-kernel.jar:?]
at
com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:64)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:115)
[bundleFile:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:39)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:62)
[portal-kernel.jar:?]
at
com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:47)
[bundleFile:?]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
2025-03-10 09:48:44.735 ERROR
[liferay/background_task-6][LoggerExportImportLifecycleListener:390]
Staged model {class: com.liferay.portal.kernel.model.Layout,
groupId: 35115, uuid: 7a9ad17b-6a39-379b-d98f-e1273c74e8d5} import
failed
com.liferay.exportimport.kernel.lar.PortletDataException: Cannot
invoke "java.lang.Long.longValue()" because the return
value of "java.util.Map.get(Object)" is null
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:399)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:734)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:701)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.doImportReferenceStagedModel(StagedModelDataHandlerUtil.java:437)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:295)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:267)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModels(StagedModelDataHandlerUtil.java:354)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:1063)
~[?:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:117)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalPortletDataHandler.doImportData(JournalPortletDataHandler.java:470)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:387)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:408)
~[?:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:339)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler._importSitePortlets(StagedGroupStagedModelDataHandler.java:586)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:261)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:65)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController._importFile(LayoutImportController.java:971)
~[?:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController.importFile(LayoutImportController.java:211)
~[?:?]
at
com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:185)
~[portal-impl.jar:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) ~[?:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
~[?:?]
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:?]
at java.lang.reflect.Method.invoke(Method.java:569)
~[?:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:41)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:60)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:48)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:40)
~[portal-impl.jar:?]
at
jdk.proxy3.$Proxy97.importLayouts(Unknown Source) ~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:129)
~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:115)
~[?:?]
at
com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:71)
[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInvokerImpl.invoke(TransactionInvokerImpl.java:30)
[portal-impl.jar:?]
at
com.liferay.portal.kernel.transaction.TransactionInvokerUtil.invoke(TransactionInvokerUtil.java:19)
[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor.execute(LayoutImportBackgroundTaskExecutor.java:75)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:54)
[bundleFile:?]
at
com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:32)
[portal-kernel.jar:?]
at
com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:64)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:115)
[bundleFile:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:39)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:62)
[portal-kernel.jar:?]
at
com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:47)
[bundleFile:?]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke
"java.lang.Long.longValue()" because the return value of
"java.util.Map.get(Object)" is null
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:708)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
... 60 more
2025-03-10
09:48:44.743 ERROR
[liferay/background_task-6][LoggerExportImportLifecycleListener:390]
Staged model {class: com.liferay.portal.kernel.model.Layout,
groupId: 35115, uuid: 3b533d2e-bf8d-d0b5-31f8-f500335e5a84} import
failed
com.liferay.exportimport.kernel.lar.PortletDataException: Cannot
invoke "java.lang.Long.longValue()" because the return
value of "java.util.Map.get(Object)" is null
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:399)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:734)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:701)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.doImportReferenceStagedModel(StagedModelDataHandlerUtil.java:437)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:295)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:267)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModels(StagedModelDataHandlerUtil.java:354)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:1063)
~[?:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:117)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalPortletDataHandler.doImportData(JournalPortletDataHandler.java:470)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:387)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:408)
~[?:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:339)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler._importSitePortlets(StagedGroupStagedModelDataHandler.java:586)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:261)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:65)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController._importFile(LayoutImportController.java:971)
~[?:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController.importFile(LayoutImportController.java:211)
~[?:?]
at
com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:185)
~[portal-impl.jar:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) ~[?:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
~[?:?]
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:?]
at java.lang.reflect.Method.invoke(Method.java:569)
~[?:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:41)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:60)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:48)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:40)
~[portal-impl.jar:?]
at
jdk.proxy3.$Proxy97.importLayouts(Unknown Source) ~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:129)
~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:115)
~[?:?]
at
com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:71)
[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInvokerImpl.invoke(TransactionInvokerImpl.java:30)
[portal-impl.jar:?]
at
com.liferay.portal.kernel.transaction.TransactionInvokerUtil.invoke(TransactionInvokerUtil.java:19)
[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor.execute(LayoutImportBackgroundTaskExecutor.java:75)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:54)
[bundleFile:?]
at
com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:32)
[portal-kernel.jar:?]
at
com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:64)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:115)
[bundleFile:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:39)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:62)
[portal-kernel.jar:?]
at
com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:47)
[bundleFile:?]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke
"java.lang.Long.longValue()" because the return value of
"java.util.Map.get(Object)" is null
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:708)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
... 60 more
2025-03-10
09:48:44.753 ERROR
[liferay/background_task-6][LoggerExportImportLifecycleListener:390]
Staged model {class: com.liferay.journal.model.JournalArticle,
groupId: 35115, uuid: ae937c93-f8d5-adeb-c901-523a94f7380b} import
failed
com.liferay.exportimport.kernel.lar.PortletDataException: Cannot
invoke "java.lang.Long.longValue()" because the return
value of "java.util.Map.get(Object)" is null
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:399)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:734)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:701)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.doImportReferenceStagedModel(StagedModelDataHandlerUtil.java:437)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:295)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:267)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModels(StagedModelDataHandlerUtil.java:354)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:1063)
~[?:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:117)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalPortletDataHandler.doImportData(JournalPortletDataHandler.java:470)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:387)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:408)
~[?:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:339)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler._importSitePortlets(StagedGroupStagedModelDataHandler.java:586)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:261)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:65)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController._importFile(LayoutImportController.java:971)
~[?:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController.importFile(LayoutImportController.java:211)
~[?:?]
at
com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:185)
~[portal-impl.jar:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) ~[?:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
~[?:?]
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:?]
at java.lang.reflect.Method.invoke(Method.java:569)
~[?:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:41)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:60)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:48)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:40)
~[portal-impl.jar:?]
at
jdk.proxy3.$Proxy97.importLayouts(Unknown Source) ~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:129)
~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:115)
~[?:?]
at
com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:71)
[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInvokerImpl.invoke(TransactionInvokerImpl.java:30)
[portal-impl.jar:?]
at
com.liferay.portal.kernel.transaction.TransactionInvokerUtil.invoke(TransactionInvokerUtil.java:19)
[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor.execute(LayoutImportBackgroundTaskExecutor.java:75)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:54)
[bundleFile:?]
at
com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:32)
[portal-kernel.jar:?]
at
com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:64)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:115)
[bundleFile:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:39)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:62)
[portal-kernel.jar:?]
at
com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:47)
[bundleFile:?]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke
"java.lang.Long.longValue()" because the return value of
"java.util.Map.get(Object)" is null
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:708)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
... 60 more
2025-03-10
09:48:44.760 ERROR
[liferay/background_task-6][LoggerExportImportLifecycleListener:263]
Portlet import failed for portlet
com_liferay_journal_web_portlet_JournalPortlet
com.liferay.exportimport.kernel.lar.PortletDataException: Cannot
invoke "java.lang.Long.longValue()" because the return
value of "java.util.Map.get(Object)" is null
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:399)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:734)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:701)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.doImportReferenceStagedModel(StagedModelDataHandlerUtil.java:437)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:295)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:267)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModels(StagedModelDataHandlerUtil.java:354)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:1063)
~[?:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:117)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalPortletDataHandler.doImportData(JournalPortletDataHandler.java:470)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:387)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:408)
~[?:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:339)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler._importSitePortlets(StagedGroupStagedModelDataHandler.java:586)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:261)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:65)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController._importFile(LayoutImportController.java:971)
~[?:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController.importFile(LayoutImportController.java:211)
~[?:?]
at
com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:185)
~[portal-impl.jar:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) ~[?:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
~[?:?]
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:?]
at java.lang.reflect.Method.invoke(Method.java:569)
~[?:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:41)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:60)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:48)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:40)
~[portal-impl.jar:?]
at
jdk.proxy3.$Proxy97.importLayouts(Unknown Source) ~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:129)
~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:115)
~[?:?]
at
com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:71)
[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInvokerImpl.invoke(TransactionInvokerImpl.java:30)
[portal-impl.jar:?]
at
com.liferay.portal.kernel.transaction.TransactionInvokerUtil.invoke(TransactionInvokerUtil.java:19)
[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor.execute(LayoutImportBackgroundTaskExecutor.java:75)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:54)
[bundleFile:?]
at
com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:32)
[portal-kernel.jar:?]
at
com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:64)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:115)
[bundleFile:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:39)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:62)
[portal-kernel.jar:?]
at
com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:47)
[bundleFile:?]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke
"java.lang.Long.longValue()" because the return value of
"java.util.Map.get(Object)" is null
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:708)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
... 60 more
2025-03-10
09:48:44.768 ERROR
[liferay/background_task-6][LoggerExportImportLifecycleListener:390]
Staged model {class: com.liferay.site.model.adapter.StagedGroup,
uuid: 2c240e33-788a-b4ff-dfab-6d9ffe26e383} import failed
com.liferay.exportimport.kernel.lar.PortletDataException: Cannot
invoke "java.lang.Long.longValue()" because the return
value of "java.util.Map.get(Object)" is null
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:399)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:734)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:701)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.doImportReferenceStagedModel(StagedModelDataHandlerUtil.java:437)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:295)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:267)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModels(StagedModelDataHandlerUtil.java:354)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:1063)
~[?:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:117)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalPortletDataHandler.doImportData(JournalPortletDataHandler.java:470)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:387)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:408)
~[?:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:339)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler._importSitePortlets(StagedGroupStagedModelDataHandler.java:586)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:261)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:65)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController._importFile(LayoutImportController.java:971)
~[?:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController.importFile(LayoutImportController.java:211)
~[?:?]
at
com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:185)
~[portal-impl.jar:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) ~[?:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
~[?:?]
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:?]
at java.lang.reflect.Method.invoke(Method.java:569)
~[?:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:41)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:60)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:48)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:40)
~[portal-impl.jar:?]
at
jdk.proxy3.$Proxy97.importLayouts(Unknown Source) ~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:129)
~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:115)
~[?:?]
at
com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:71)
[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInvokerImpl.invoke(TransactionInvokerImpl.java:30)
[portal-impl.jar:?]
at
com.liferay.portal.kernel.transaction.TransactionInvokerUtil.invoke(TransactionInvokerUtil.java:19)
[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor.execute(LayoutImportBackgroundTaskExecutor.java:75)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:54)
[bundleFile:?]
at
com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:32)
[portal-kernel.jar:?]
at
com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:64)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:115)
[bundleFile:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:39)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:62)
[portal-kernel.jar:?]
at
com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:47)
[bundleFile:?]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke
"java.lang.Long.longValue()" because the return value of
"java.util.Map.get(Object)" is null
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:708)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
... 60 more
2025-03-10
09:48:44.775 ERROR
[liferay/background_task-6][LoggerExportImportLifecycleListener:104]
Layout import failed for group 33407
com.liferay.exportimport.kernel.lar.PortletDataException: Cannot
invoke "java.lang.Long.longValue()" because the return
value of "java.util.Map.get(Object)" is null
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:399)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:734)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:701)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.doImportReferenceStagedModel(StagedModelDataHandlerUtil.java:437)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:295)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:267)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModels(StagedModelDataHandlerUtil.java:354)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:1063)
~[?:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:117)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalPortletDataHandler.doImportData(JournalPortletDataHandler.java:470)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:387)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:408)
~[?:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:339)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler._importSitePortlets(StagedGroupStagedModelDataHandler.java:586)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:261)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:65)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController._importFile(LayoutImportController.java:971)
~[?:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController.importFile(LayoutImportController.java:211)
~[?:?]
at
com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:185)
~[portal-impl.jar:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) ~[?:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
~[?:?]
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:?]
at java.lang.reflect.Method.invoke(Method.java:569)
~[?:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:41)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:60)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:48)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:40)
~[portal-impl.jar:?]
at
jdk.proxy3.$Proxy97.importLayouts(Unknown Source) ~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:129)
~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:115)
~[?:?]
at
com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:71)
[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInvokerImpl.invoke(TransactionInvokerImpl.java:30)
[portal-impl.jar:?]
at
com.liferay.portal.kernel.transaction.TransactionInvokerUtil.invoke(TransactionInvokerUtil.java:19)
[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor.execute(LayoutImportBackgroundTaskExecutor.java:75)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:54)
[bundleFile:?]
at
com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:32)
[portal-kernel.jar:?]
at
com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:64)
[bundleFile:?]
at
com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:115)
[bundleFile:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:39)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:62)
[portal-kernel.jar:?]
at
com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:47)
[bundleFile:?]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke
"java.lang.Long.longValue()" because the return value of
"java.util.Map.get(Object)" is null
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:708)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
... 60 more
2025-03-10
09:48:45.840 ERROR
[liferay/background_task-6][BackgroundTaskMessageListener:162]
Unable to execute background task
com.liferay.exportimport.kernel.lar.PortletDataException: Cannot
invoke "java.lang.Long.longValue()" because the return
value of "java.util.Map.get(Object)" is null
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:399)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:734)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:701)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.doImportReferenceStagedModel(StagedModelDataHandlerUtil.java:437)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:295)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModel(StagedModelDataHandlerUtil.java:267)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importReferenceStagedModels(StagedModelDataHandlerUtil.java:354)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:1063)
~[?:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:117)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.journal.internal.exportimport.data.handler.JournalPortletDataHandler.doImportData(JournalPortletDataHandler.java:470)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:387)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:408)
~[?:?]
at
com.liferay.exportimport.internal.controller.PortletImportControllerImpl.importPortletData(PortletImportControllerImpl.java:339)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler._importSitePortlets(StagedGroupStagedModelDataHandler.java:586)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:261)
~[?:?]
at
com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doImportStagedModel(StagedGroupStagedModelDataHandler.java:65)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:380)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:366)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController._importFile(LayoutImportController.java:971)
~[?:?]
at
com.liferay.exportimport.internal.controller.LayoutImportController.importFile(LayoutImportController.java:211)
~[?:?]
at
com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:185)
~[portal-impl.jar:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) ~[?:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
~[?:?]
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:?]
at java.lang.reflect.Method.invoke(Method.java:569)
~[?:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:41)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:60)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:48)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:40)
~[portal-impl.jar:?]
at
jdk.proxy3.$Proxy97.importLayouts(Unknown Source) ~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:129)
~[?:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:115)
~[?:?]
at
com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:71)
~[portal-impl.jar:?]
at
com.liferay.portal.spring.transaction.TransactionInvokerImpl.invoke(TransactionInvokerImpl.java:30)
~[portal-impl.jar:?]
at
com.liferay.portal.kernel.transaction.TransactionInvokerUtil.invoke(TransactionInvokerUtil.java:19)
~[portal-kernel.jar:?]
at
com.liferay.exportimport.internal.background.task.LayoutImportBackgroundTaskExecutor.execute(LayoutImportBackgroundTaskExecutor.java:75)
~[?:?]
at
com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:54)
~[?:?]
at
com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:32)
~[portal-kernel.jar:?]
at
com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:64)
~[bundleFile:?]
at
com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:115)
[bundleFile:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:39)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:25)
[portal-kernel.jar:?]
at
com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:62)
[portal-kernel.jar:?]
at
com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:47)
[bundleFile:?]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke
"java.lang.Long.longValue()" because the return value of
"java.util.Map.get(Object)" is null
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:708)
~[?:?]
at
com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doImportStagedModel(LayoutStagedModelDataHandler.java:162)
~[?:?]
at
com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:358)
~[portal-kernel.jar:?]
... 60 more
RE: Import Failure
Expert Posts: 308 Join Date: 2/13/13 Recent PostsPowered by Liferay™