NullPointerException when exporting site data (Liferay 7.2)NullPointerException when exporting site data (Liferay 7.2)https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1181731422024-03-29T07:07:40Z2024-03-29T07:07:40ZNullPointerException when exporting site data (Liferay 7.2)Sam Colletthttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1181731412019-12-30T18:48:53Z2019-12-30T18:48:53ZI am currently getting an exception when I try to export a site (with everything checked and without look and feel settings) via the Publishing > Export function in Liferay 7.2. Does anyone know what the cause could be and how I can fix it? I have tried with with the default settings, checking everything and unchecking 'look and feel' settings or even just selected a couple of aspects (e.g. the pages and documents), but still get the same error.<br /><br />2019-12-30 18:21:06.436 ERROR [liferay/background_task-2][BackgroundTaskMessageListener:177] Unable to execute background task<br />com.liferay.exportimport.kernel.exception.ExportImportRuntimeException<br /> at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.exportLayoutsAsFile(ExportImportLocalServiceImpl.java:72)<br /> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br /> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br /> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br /> at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)<br /> at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)<br /> at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)<br /> at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)<br /> at com.sun.proxy.$Proxy126.exportLayoutsAsFile(Unknown Source)<br /> at com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil.exportLayoutsAsFile(ExportImportLocalServiceUtil.java:49)<br /> at com.liferay.exportimport.internal.background.task.LayoutExportBackgroundTaskExecutor.execute(LayoutExportBackgroundTaskExecutor.java:79)<br /> at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41)<br /> at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72)<br /> at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:131)<br /> at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)<br /> at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)<br /> at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56)<br /> at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752)<br /> at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664)<br /> at java.base/java.lang.Thread.run(Thread.java:834)<br />Caused by: java.lang.NullPoin