Unable to import LAR file in DXP 7.2.1Unable to import LAR file in DXP 7.2.1https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1196691792024-03-29T13:27:34Z2024-03-29T13:27:34ZRE: Unable to import LAR file in DXP 7.2.1Rafał Pydyniakhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1196921242020-08-03T07:32:21Z2020-08-03T07:32:21ZThanks for the clue with logs. Thet indeed helped with debugging process.<br /><br />Anyway after some time spent searching I found out that I had broken image in one of the web contents text field. Seems that image was put into web content text field and then deleted. We had broken reference (you know, small icon with image not displaying because src is incorrect) and Liferay LAR import didn't manage to import that. After deleting that broken image from web content text and exporting LAR again and importing it worked fine.Rafał Pydyniak2020-08-03T07:32:21ZRE: Unable to import LAR file in DXP 7.2.1Jorge Diazhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1196722452020-07-29T16:47:48Z2020-07-29T16:47:48Z<html><head></head><body>I think you have a webcontent with some kind of wrong reference to other object.<br>That kind of references are rewritten during export and import operation.<br>That wrong reference could cause a infinite loop in this class:<br><ul style="list-style: disc outside;"><li><a href="https://github.com/liferay/liferay-portal/blob/7.2.x/modules/apps/export-import/export-import-service/src/main/java/com/liferay/exportimport/internal/exportimport/content/processor/DLReferencesExportImportContentProcessor.java">https://github.com/liferay/liferay-portal/blob/7.2.x/modules/apps/export-import/export-import-service/src/main/java/com/liferay/exportimport/internal/exportimport/content/processor/DLReferencesExportImportContentProcessor.java</a></li></ul>The best option here is first get which object causes all the troubles.<br>You can obtain this information activating staging DEBUG traces. Go to Control Panel => Configuration => => Server Administration => Log Levels<br>Change following categories to DEBUG:<ul style="list-style: disc outside;"><li><pre><code>com.liferay.exportimport
</code></pre></li><li><pre><code>com.liferay.exportimport.background.task</code></pre></li><li><pre><code>com.liferay.exportimport.background.task.display</code></pre></li><li><pre><code>com.liferay.exportimport.backgroundtask</code></pre></li><li><pre><code>com.liferay.exportimport.content.processor.base</code></pre></li><li><pre><code>com.liferay.exportimport.controller</code></pre></li><li><pre><code>com.liferay.exportimport.lar</code></pre></li><li><pre><code>com.liferay.exportimport.lifecycle</code></pre></li><li><pre><code>com.liferay.exportimport.messaging</code></pre></li><li><pre><code>com.liferay.exportimport.model.listener</code></pre></li><li><pre><code>com.liferay.exportimport.kernel.lar</code></pre></li><li><pre><code>com.liferay.exportimport.internal</code></pre></li><li><pre><code>com.liferay.exportimport.internal.background.task</code></pre></li><li><pre><code>com.liferay.exportimport.internal.background.task.display</code></pre></li></ul>Repeat the import operation. You will see the IDs of all objects being exported/imported.<br>Analyze that object and check anything strange.<br><br>If you are using Liferay DXP version (enterprise) your best option is also to contact with Liferay support service.</body></html>Jorge Diaz2020-07-29T16:47:48ZRE: Unable to import LAR file in DXP 7.2.1Rafał Pydyniakhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1196709702020-07-29T13:16:06Z2020-07-29T13:16:06Z<html><head></head><body>@Edit - see the bottom of this post to see additional thing I've found regarding this issue<br>Actually I was able to debug that place and the stacktrace is:<br><pre><code>[code]_getStagedModelDataHandler:686, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:447, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:528, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:368, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModels:888, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:394, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:528, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:284, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
process:119, ReferencedStagedModelImporterCapability (com.liferay.exportimport.internal.portlet.preferences.processor.capability)
importPortletPreferences:594, PortletImportControllerImpl (com.liferay.exportimport.internal.controller)
importLayoutPortlets:1578, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:865, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:136, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:510, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:368, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModels:888, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:394, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:528, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:284, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
process:119, ReferencedStagedModelImporterCapability (com.liferay.exportimport.internal.portlet.preferences.processor.capability)
importPortletPreferences:594, PortletImportControllerImpl (com.liferay.exportimport.internal.controller)
importLayoutPortlets:1578, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:865, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:136, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportStagedModel:715, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:136, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:510, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:368, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModels:888, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:394, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:528, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:284, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
process:119, ReferencedStagedModelImporterCapability (com.liferay.exportimport.internal.portlet.preferences.processor.capability)
importPortletPreferences:594, PortletImportControllerImpl (com.liferay.exportimport.internal.controller)
importLayoutPortlets:1578, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:865, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:136, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:510, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:368, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModels:888, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:394, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:528, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:284, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
process:119, ReferencedStagedModelImporterCapability (com.liferay.exportimport.internal.portlet.preferences.processor.capability)
importPortletPreferences:594, PortletImportControllerImpl (com.liferay.exportimport.internal.controller)
importLayoutPortlets:1578, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:865, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:136, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportStagedModel:715, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:136, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:510, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:368, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModels:888, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:394, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:528, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:284, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
process:119, ReferencedStagedModelImporterCapability (com.liferay.exportimport.internal.portlet.preferences.processor.capability)
importPortletPreferences:594, PortletImportControllerImpl (com.liferay.exportimport.internal.controller)
importLayoutPortlets:1578, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:865, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:136, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportStagedModel:715, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:136, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportStagedModel:715, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:136, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:510, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:368, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModels:888, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:394, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:528, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:284, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
process:119, ReferencedStagedModelImporterCapability (com.liferay.exportimport.internal.portlet.preferences.processor.capability)
importPortletPreferences:594, PortletImportControllerImpl (com.liferay.exportimport.internal.controller)
importLayoutPortlets:1578, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:865, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:136, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:510, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:368, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModels:888, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:394, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:528, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:284, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
process:119, ReferencedStagedModelImporterCapability (com.liferay.exportimport.internal.portlet.preferences.processor.capability)
importPortletPreferences:594, PortletImportControllerImpl (com.liferay.exportimport.internal.controller)
importLayoutPortlets:1578, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:865, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:136, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:510, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:368, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModels:888, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:394, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:528, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:284, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
process:119, ReferencedStagedModelImporterCapability (com.liferay.exportimport.internal.portlet.preferences.processor.capability)
importPortletPreferences:594, PortletImportControllerImpl (com.liferay.exportimport.internal.controller)
importLayoutPortlets:1578, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:865, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
doImportStagedModel:136, LayoutStagedModelDataHandler (com.liferay.layout.admin.web.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportReferenceStagedModel:528, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModel:368, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importReferenceStagedModels:888, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:394, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportStagedModel:344, StagedGroupStagedModelDataHandler (com.liferay.site.internal.exportimport.data.handler)
doImportStagedModel:78, StagedGroupStagedModelDataHandler (com.liferay.site.internal.exportimport.data.handler)
importStagedModel:396, BaseStagedModelDataHandler (com.liferay.exportimport.kernel.lar)
importStagedModel:453, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
importStagedModel:439, StagedModelDataHandlerUtil (com.liferay.exportimport.kernel.lar)
doImportFile:592, LayoutImportController (com.liferay.exportimport.internal.controller)
importFile:221, LayoutImportController (com.liferay.exportimport.internal.controller)
importLayouts:215, ExportImportLocalServiceImpl (com.liferay.portlet.exportimport.service.impl)
invoke0:-1, NativeMethodAccessorImpl (sun.reflect)
invoke:62, NativeMethodAccessorImpl (sun.reflect)
invoke:43, DelegatingMethodAccessorImpl (sun.reflect)
invoke:498, Method (java.lang.reflect)
proceed:50, AopMethodInvocationImpl (com.liferay.portal.spring.aop)
invoke:69, TransactionInterceptor (com.liferay.portal.spring.transaction)
proceed:57, AopMethodInvocationImpl (com.liferay.portal.spring.aop)
invoke:49, AopInvocationHandler (com.liferay.portal.spring.aop)
importLayouts:-1, $Proxy122 (com.sun.proxy)
importLayouts:118, ExportImportLocalServiceUtil (com.liferay.exportimport.kernel.service)
call:133, LayoutImportBackgroundTaskExecutor$LayoutImportCallable (com.liferay.exportimport.internal.background.task)
call:119, LayoutImportBackgroundTaskExecutor$LayoutImportCallable (com.liferay.exportimport.internal.background.task)
get:-1, 997307972 (com.liferay.portal.spring.transaction.TransactionInvokerImpl$$Lambda$9346)
execute:37, BaseTransactionExecutor (com.liferay.portal.spring.transaction)
invoke:39, TransactionInvokerImpl (com.liferay.portal.spring.transaction)
invoke:28, TransactionInvokerUtil (com.liferay.portal.kernel.transaction)
execute:85, LayoutImportBackgroundTaskExecutor (com.liferay.exportimport.internal.background.task)
execute:62, SerialBackgroundTaskExecutor (com.liferay.portal.background.task.internal)
execute:41, DelegatingBackgroundTaskExecutor (com.liferay.portal.kernel.backgroundtask)
execute:72, ThreadLocalAwareBackgroundTaskExecutor (com.liferay.portal.background.task.internal)
doReceive:131, BackgroundTaskMessageListener (com.liferay.portal.background.task.internal.messaging)
receive:26, BaseMessageListener (com.liferay.portal.kernel.messaging)
receive:74, InvokerMessageListener (com.liferay.portal.kernel.messaging)
run:56, ParallelDestination$1 (com.liferay.portal.messaging.internal)
_runTask:752, ThreadPoolExecutor$WorkerTask (com.liferay.portal.kernel.concurrent)
run:664, ThreadPoolExecutor$WorkerTask (com.liferay.portal.kernel.concurrent)
run:748, Thread (java.lang)
</code></pre>@EDIT<br>Another thing I've found. I debugged it a little bit (which is hard though - like impossible with eclipse and hard with Intellij) and the problem is that class<a href="https://github.com/liferay/liferay-portal/blob/7.2.x/portal-kernel/src/com/liferay/exportimport/kernel/lar/StagedModelDataHandlerUtil.java">https://github.com/liferay/liferay-portal/blob/7.2.x/portal-kernel/src/com/liferay/exportimport/kernel/lar/StagedModelDataHandlerUtil.java</a> and the method _getReferenceStagedModel<br><br>The part<pre><code>StagedModel stagedModel =
(StagedModel)portletDataContext.getZipEntryAsObject(element, path);
</code></pre>Returns null. The class-name there is the "com.liferay.document.library.kernel.model.DLFileEntry" if that helps in any way</body></html>Rafał Pydyniak2020-07-29T13:16:06ZRE: Unable to import LAR file in DXP 7.2.1Rafał Pydyniakhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1196706372020-07-29T13:03:25Z2020-07-29T13:03:25ZHello,<br />the thing is that there is nothing more except the message I posted. Basically logs look like this:<br /><img src="/documents/portlet_file_entry/14/image--tempRandomSuffix--0Bxz0G2V.png/884b48fd-59fd-7e0a-58bc-a95c5dab4455" />Rafał Pydyniak2020-07-29T13:03:25ZRE: Unable to import LAR file in DXP 7.2.1Jorge Diazhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1196695062020-07-29T08:39:12Z2020-07-29T08:39:12ZHi Rafał,<br />Can you paste a excerpt of your log with all the information related to the error you are having? The log usually prints the class name and line where the error was produced.<br />RegardsJorge Diaz2020-07-29T08:39:12ZUnable to import LAR file in DXP 7.2.1Rafał Pydyniakhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1196691782020-07-29T07:48:04Z2020-07-29T07:48:04Z<html><head></head><body>Hello,<br>I have recently migrated my Liferay dev server database from 7.0.6 to 7.2.1. It starts and it works (just without a theme and portlets as they are not all migrated yet). I have my web contents images etc.<br><br>There is one issue though - when I exported LAR file from the site I'm migrating now and tried to import it on my local machine it started the import process but then the progress stopped and I got tons of lines like that in my logs file:<blockquote><pre><code>Unable to get a staged model data handler for a null value because a model was not exported properly</code></pre>It was going for some minutes(like 5-20? I didn't really pay attention) and I got more than 1.000.000 lines like that so it seems like an infinitive loop as I don't have that much data on that site ;)</blockquote><br>Anyone has en