RE: Unable to import LAR file in DXP 7.2.1

Rafał Pydyniak, modified 5 Years ago. New Member Posts: 16 Join Date: 6/24/20 Recent Posts
Hello,
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.

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:
Unable to get a staged model data handler for a null value because a model was not exported properly
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 ;)

Anyone has encountered this issue? What can I do? In this particular case I could download all the data from my development server to my local machine but in real life scenario I won't be able to do that - I need a lar to copy data from development server to test server so I need to have a fix for that
Best regards
thumbnail
Jorge Diaz, modified 5 Years ago. Liferay Master Posts: 753 Join Date: 1/9/14 Recent Posts
Hi Rafał,
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.
Regards
Rafał Pydyniak, modified 5 Years ago. New Member Posts: 16 Join Date: 6/24/20 Recent Posts
Hello,
the thing is that there is nothing more except the message I posted. Basically logs look like this:
​​​​​​​
Rafał Pydyniak, modified 5 Years ago. New Member Posts: 16 Join Date: 6/24/20 Recent Posts
@Edit - see the bottom of this post to see additional thing I've found regarding this issue
Actually I was able to debug that place and the stacktrace is:
[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)

@EDIT
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 classhttps://github.com/liferay/liferay-portal/blob/7.2.x/portal-kernel/src/com/liferay/exportimport/kernel/lar/StagedModelDataHandlerUtil.java and the method _getReferenceStagedModel

The part
StagedModel stagedModel =
(StagedModel)portletDataContext.getZipEntryAsObject(element, path);
Returns null. The class-name there is the "com.liferay.document.library.kernel.model.DLFileEntry" if that helps in any way
thumbnail
Jorge Diaz, modified 5 Years ago. Liferay Master Posts: 753 Join Date: 1/9/14 Recent Posts
I think you have a webcontent with some kind of wrong reference to other object.
That kind of references are rewritten during export and import operation.
That wrong reference could cause a infinite loop in this class:
The best option here is first get which object causes all the troubles.
You can obtain this information activating staging DEBUG traces. Go to Control Panel => Configuration => => Server Administration => Log Levels
Change following categories to DEBUG:
  • com.liferay.exportimport
    
  • com.liferay.exportimport.background.task
  • com.liferay.exportimport.background.task.display
  • com.liferay.exportimport.backgroundtask
  • com.liferay.exportimport.content.processor.base
  • com.liferay.exportimport.controller
  • com.liferay.exportimport.lar
  • com.liferay.exportimport.lifecycle
  • com.liferay.exportimport.messaging
  • com.liferay.exportimport.model.listener
  • com.liferay.exportimport.kernel.lar
  • com.liferay.exportimport.internal
  • com.liferay.exportimport.internal.background.task
  • com.liferay.exportimport.internal.background.task.display
Repeat the import operation. You will see the IDs of all objects being exported/imported.
Analyze that object and check anything strange.

If you are using Liferay DXP version (enterprise) your best option is also to contact with Liferay support service.
Rafał Pydyniak, modified 5 Years ago. New Member Posts: 16 Join Date: 6/24/20 Recent Posts
Thanks for the clue with logs. Thet indeed helped with debugging process.

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.