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

Export of site fails if a Documents and Media folder with a document is deleted when referenced by template

Details

    Description

      Reproduction Steps:

      -Go Site Builder --> Pages and add a widget page.

      • Go to Content & Data --> Documents and Media --> add a DM Folder and add a document in it.
      • Go to the Page and add a Documents and Media display portlet and configure it by adding the DM folder to it then save.
      • Go to the DM display configuration and select "Configuration Templates" and click on "Save Current Configuration as Template" and add any name then save.
      • Go to Content & Data --> Documents and Media --> and delete the DM folder.
      • Go to Publishing -->Export and try to export the page "Please check the box for Documents and Media on the export popup".

      Actual Result: The export fails with an error in the UI and log.

      UI error: An unexpected error occurred with the publish process. Please check your portal and publishing configuration.
       Portlet com_liferay_document_library_web_portlet_DLPortlet_INSTANCE_qAd7ZS66CwhC refers to an invalid root folder ID 39301.

      log error:

       

      2022-03-22 10:09:22.191 ERROR [liferay/background_task-5][DLExportImportPortletPreferencesProcessor:448] Portlet com_liferay_document_library_web_portlet_DLPortlet_INSTANCE_qAd7ZS66CwhC refers to an invalid root folder ID 39301
       2022-03-22 10:09:22.195 ERROR [liferay/background_task-5][LoggerExportImportLifecycleListener:235] Portlet export failed for portlet com_liferay_document_library_web_portlet_DLPortlet_INSTANCE_qAd7ZS66CwhC
       com.liferay.exportimport.kernel.lar.PortletDataException: Portlet com_liferay_document_library_web_portlet_DLPortlet_INSTANCE_qAd7ZS66CwhC refers to an invalid root folder ID 39301
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:450) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor.processExportPortletPreferences(DLExportImportPortletPreferencesProcessor.java:103) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl._exportPortletPreference(PortletExportControllerImpl.java:1104) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl._exportPortletPreferences(PortletExportControllerImpl.java:1185) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl.exportPortlet(PortletExportControllerImpl.java:452) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler._exportLayoutPortlets(LayoutStagedModelDataHandler.java:1480) [bundleFile:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:409) [bundleFile:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:161) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) [portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) [portal-kernel.jar:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportReferenceStagedModel(StagedModelDataHandlerUtil.java:128) [portal-kernel.jar:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler._exportLayouts(StagedLayoutSetStagedModelDataHandler.java:439) [bundleFile:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler.doExportStagedModel(StagedLayoutSetStagedModelDataHandler.java:111) [bundleFile:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler.doExportStagedModel(StagedLayoutSetStagedModelDataHandler.java:93) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) [portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) [portal-kernel.jar:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportReferenceStagedModel(StagedModelDataHandlerUtil.java:128) [portal-kernel.jar:?]
       at com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doExportStagedModel(StagedGroupStagedModelDataHandler.java:193) [bundleFile:?]
       at com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doExportStagedModel(StagedGroupStagedModelDataHandler.java:78) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) [portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) [portal-kernel.jar:?]
       at com.liferay.exportimport.internal.controller.LayoutExportController.doExport(LayoutExportController.java:323) [bundleFile:?]
       at com.liferay.exportimport.internal.controller.LayoutExportController.export(LayoutExportController.java:121) [bundleFile:?]
       at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.exportLayoutsAsFile(ExportImportLocalServiceImpl.java:62) [portal-impl.jar:?]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_311]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_311]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) [portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) [portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [portal-impl.jar:?]
       at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80) [bundleFile:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) [portal-impl.jar:?]
       at com.sun.proxy.$Proxy86.exportLayoutsAsFile(Unknown Source) [?:?]
       at com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil.exportLayoutsAsFile(ExportImportLocalServiceUtil.java:45) [portal-kernel.jar:?]
       at com.liferay.exportimport.internal.background.task.LayoutExportBackgroundTaskExecutor.execute(LayoutExportBackgroundTaskExecutor.java:69) [bundleFile:?]
       at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41) [portal-kernel.jar:?]
       at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72) [bundleFile:?]
       at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136) [bundleFile:?]
       at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48) [portal-kernel.jar:?]
       at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34) [portal-kernel.jar:?]
       at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) [portal-kernel.jar:?]
       at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56) [bundleFile:?]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_311]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_311]
       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311]
       Caused by: com.liferay.document.library.kernel.exception.NoSuchFolderException: No Folder exists with the key
      {folderId=39301}
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderLocalRepository(RepositoryProviderImpl.java:198) ~[portal-impl.jar:?]
       at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:883) ~[portal-impl.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy993.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.kernel.service.DLAppLocalServiceWrapper.getFolder(DLAppLocalServiceWrapper.java:673) ~[portal-kernel.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy994.getFolder(Unknown Source) ~[?:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy125.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:438) ~[?:?]
       ... 49 more
       Caused by: com.liferay.portal.kernel.repository.InvalidRepositoryIdException: No repository associated with folder 39301
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderRepositoryId(RepositoryProviderImpl.java:489) ~[portal-impl.jar:?]
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderLocalRepository(RepositoryProviderImpl.java:194) ~[portal-impl.jar:?]
       at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:883) ~[portal-impl.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy993.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.kernel.service.DLAppLocalServiceWrapper.getFolder(DLAppLocalServiceWrapper.java:673) ~[portal-kernel.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy994.getFolder(Unknown Source) ~[?:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy125.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:438) ~[?:?]
       ... 49 more
       2022-03-22 10:09:22.204 ERROR [liferay/background_task-5][LoggerExportImportLifecycleListener:359] Staged model {class: com.liferay.portal.kernel.model.Layout, groupId: 20123, uuid: 06d8296e-edc8-461c-aed6-92b8b85c6393} export failed
       com.liferay.exportimport.kernel.lar.PortletDataException: Portlet com_liferay_document_library_web_portlet_DLPortlet_INSTANCE_qAd7ZS66CwhC refers to an invalid root folder ID 39301
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:450) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor.processExportPortletPreferences(DLExportImportPortletPreferencesProcessor.java:103) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl._exportPortletPreference(PortletExportControllerImpl.java:1104) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl._exportPortletPreferences(PortletExportControllerImpl.java:1185) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl.exportPortlet(PortletExportControllerImpl.java:452) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler._exportLayoutPortlets(LayoutStagedModelDataHandler.java:1480) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:409) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:161) ~[?:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) [portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) [portal-kernel.jar:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportReferenceStagedModel(StagedModelDataHandlerUtil.java:128) [portal-kernel.jar:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler._exportLayouts(StagedLayoutSetStagedModelDataHandler.java:439) [bundleFile:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler.doExportStagedModel(StagedLayoutSetStagedModelDataHandler.java:111) [bundleFile:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler.doExportStagedModel(StagedLayoutSetStagedModelDataHandler.java:93) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) [portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) [portal-kernel.jar:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportReferenceStagedModel(StagedModelDataHandlerUtil.java:128) [portal-kernel.jar:?]
       at com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doExportStagedModel(StagedGroupStagedModelDataHandler.java:193) [bundleFile:?]
       at com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doExportStagedModel(StagedGroupStagedModelDataHandler.java:78) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) [portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) [portal-kernel.jar:?]
       at com.liferay.exportimport.internal.controller.LayoutExportController.doExport(LayoutExportController.java:323) [bundleFile:?]
       at com.liferay.exportimport.internal.controller.LayoutExportController.export(LayoutExportController.java:121) [bundleFile:?]
       at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.exportLayoutsAsFile(ExportImportLocalServiceImpl.java:62) [portal-impl.jar:?]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_311]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_311]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) [portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) [portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [portal-impl.jar:?]
       at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80) [bundleFile:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) [portal-impl.jar:?]
       at com.sun.proxy.$Proxy86.exportLayoutsAsFile(Unknown Source) [?:?]
       at com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil.exportLayoutsAsFile(ExportImportLocalServiceUtil.java:45) [portal-kernel.jar:?]
       at com.liferay.exportimport.internal.background.task.LayoutExportBackgroundTaskExecutor.execute(LayoutExportBackgroundTaskExecutor.java:69) [bundleFile:?]
       at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41) [portal-kernel.jar:?]
       at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72) [bundleFile:?]
       at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136) [bundleFile:?]
       at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48) [portal-kernel.jar:?]
       at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34) [portal-kernel.jar:?]
       at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) [portal-kernel.jar:?]
       at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56) [bundleFile:?]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_311]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_311]
       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311]
       Caused by: com.liferay.document.library.kernel.exception.NoSuchFolderException: No Folder exists with the key {folderId=39301}
      at com.liferay.portal.repository.RepositoryProviderImpl.getFolderLocalRepository(RepositoryProviderImpl.java:198) ~[portal-impl.jar:?]
       at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:883) ~[portal-impl.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy993.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.kernel.service.DLAppLocalServiceWrapper.getFolder(DLAppLocalServiceWrapper.java:673) ~[portal-kernel.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy994.getFolder(Unknown Source) ~[?:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy125.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:438) ~[?:?]
       ... 49 more
       Caused by: com.liferay.portal.kernel.repository.InvalidRepositoryIdException: No repository associated with folder 39301
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderRepositoryId(RepositoryProviderImpl.java:489) ~[portal-impl.jar:?]
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderLocalRepository(RepositoryProviderImpl.java:194) ~[portal-impl.jar:?]
       at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:883) ~[portal-impl.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy993.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.kernel.service.DLAppLocalServiceWrapper.getFolder(DLAppLocalServiceWrapper.java:673) ~[portal-kernel.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy994.getFolder(Unknown Source) ~[?:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy125.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:438) ~[?:?]
       ... 49 more
       2022-03-22 10:09:22.213 ERROR [liferay/background_task-5][LoggerExportImportLifecycleListener:359] Staged model
      {class: com.liferay.layout.set.model.adapter.StagedLayoutSet, groupId: 20123, uuid: false}
      export failed
       com.liferay.exportimport.kernel.lar.PortletDataException: Portlet com_liferay_document_library_web_portlet_DLPortlet_INSTANCE_qAd7ZS66CwhC refers to an invalid root folder ID 39301
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:450) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor.processExportPortletPreferences(DLExportImportPortletPreferencesProcessor.java:103) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl._exportPortletPreference(PortletExportControllerImpl.java:1104) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl._exportPortletPreferences(PortletExportControllerImpl.java:1185) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl.exportPortlet(PortletExportControllerImpl.java:452) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler._exportLayoutPortlets(LayoutStagedModelDataHandler.java:1480) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:409) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:161) ~[?:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) ~[?:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportReferenceStagedModel(StagedModelDataHandlerUtil.java:128) ~[portal-kernel.jar:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler._exportLayouts(StagedLayoutSetStagedModelDataHandler.java:439) ~[?:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler.doExportStagedModel(StagedLayoutSetStagedModelDataHandler.java:111) ~[?:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler.doExportStagedModel(StagedLayoutSetStagedModelDataHandler.java:93) ~[?:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) [portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) [portal-kernel.jar:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportReferenceStagedModel(StagedModelDataHandlerUtil.java:128) [portal-kernel.jar:?]
       at com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doExportStagedModel(StagedGroupStagedModelDataHandler.java:193) [bundleFile:?]
       at com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doExportStagedModel(StagedGroupStagedModelDataHandler.java:78) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) [portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) [portal-kernel.jar:?]
       at com.liferay.exportimport.internal.controller.LayoutExportController.doExport(LayoutExportController.java:323) [bundleFile:?]
       at com.liferay.exportimport.internal.controller.LayoutExportController.export(LayoutExportController.java:121) [bundleFile:?]
       at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.exportLayoutsAsFile(ExportImportLocalServiceImpl.java:62) [portal-impl.jar:?]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_311]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_311]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) [portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) [portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [portal-impl.jar:?]
       at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80) [bundleFile:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) [portal-impl.jar:?]
       at com.sun.proxy.$Proxy86.exportLayoutsAsFile(Unknown Source) [?:?]
       at com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil.exportLayoutsAsFile(ExportImportLocalServiceUtil.java:45) [portal-kernel.jar:?]
       at com.liferay.exportimport.internal.background.task.LayoutExportBackgroundTaskExecutor.execute(LayoutExportBackgroundTaskExecutor.java:69) [bundleFile:?]
       at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41) [portal-kernel.jar:?]
       at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72) [bundleFile:?]
       at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136) [bundleFile:?]
       at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48) [portal-kernel.jar:?]
       at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34) [portal-kernel.jar:?]
       at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) [portal-kernel.jar:?]
       at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56) [bundleFile:?]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_311]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_311]
       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311]
       Caused by: com.liferay.document.library.kernel.exception.NoSuchFolderException: No Folder exists with the key
      {folderId=39301}
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderLocalRepository(RepositoryProviderImpl.java:198) ~[portal-impl.jar:?]
       at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:883) ~[portal-impl.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy993.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.kernel.service.DLAppLocalServiceWrapper.getFolder(DLAppLocalServiceWrapper.java:673) ~[portal-kernel.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy994.getFolder(Unknown Source) ~[?:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy125.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:438) ~[?:?]
       ... 49 more
       Caused by: com.liferay.portal.kernel.repository.InvalidRepositoryIdException: No repository associated with folder 39301
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderRepositoryId(RepositoryProviderImpl.java:489) ~[portal-impl.jar:?]
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderLocalRepository(RepositoryProviderImpl.java:194) ~[portal-impl.jar:?]
       at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:883) ~[portal-impl.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy993.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.kernel.service.DLAppLocalServiceWrapper.getFolder(DLAppLocalServiceWrapper.java:673) ~[portal-kernel.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy994.getFolder(Unknown Source) ~[?:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy125.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:438) ~[?:?]
       ... 49 more
       2022-03-22 10:09:22.222 ERROR [liferay/background_task-5][LoggerExportImportLifecycleListener:359] Staged model {class: com.liferay.site.model.adapter.StagedGroup, uuid: 4a1de222-dbec-5ff9-7fc9-e0896856bb2c} export failed
       com.liferay.exportimport.kernel.lar.PortletDataException: Portlet com_liferay_document_library_web_portlet_DLPortlet_INSTANCE_qAd7ZS66CwhC refers to an invalid root folder ID 39301
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:450) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor.processExportPortletPreferences(DLExportImportPortletPreferencesProcessor.java:103) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl._exportPortletPreference(PortletExportControllerImpl.java:1104) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl._exportPortletPreferences(PortletExportControllerImpl.java:1185) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl.exportPortlet(PortletExportControllerImpl.java:452) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler._exportLayoutPortlets(LayoutStagedModelDataHandler.java:1480) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:409) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:161) ~[?:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) ~[?:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportReferenceStagedModel(StagedModelDataHandlerUtil.java:128) ~[portal-kernel.jar:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler._exportLayouts(StagedLayoutSetStagedModelDataHandler.java:439) ~[?:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler.doExportStagedModel(StagedLayoutSetStagedModelDataHandler.java:111) ~[?:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler.doExportStagedModel(StagedLayoutSetStagedModelDataHandler.java:93) ~[?:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) ~[?:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportReferenceStagedModel(StagedModelDataHandlerUtil.java:128) ~[portal-kernel.jar:?]
       at com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doExportStagedModel(StagedGroupStagedModelDataHandler.java:193) ~[?:?]
       at com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doExportStagedModel(StagedGroupStagedModelDataHandler.java:78) ~[?:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) [portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) [bundleFile:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) [portal-kernel.jar:?]
       at com.liferay.exportimport.internal.controller.LayoutExportController.doExport(LayoutExportController.java:323) [bundleFile:?]
       at com.liferay.exportimport.internal.controller.LayoutExportController.export(LayoutExportController.java:121) [bundleFile:?]
       at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.exportLayoutsAsFile(ExportImportLocalServiceImpl.java:62) [portal-impl.jar:?]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_311]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_311]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) [portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) [portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [portal-impl.jar:?]
       at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80) [bundleFile:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) [portal-impl.jar:?]
       at com.sun.proxy.$Proxy86.exportLayoutsAsFile(Unknown Source) [?:?]
       at com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil.exportLayoutsAsFile(ExportImportLocalServiceUtil.java:45) [portal-kernel.jar:?]
       at com.liferay.exportimport.internal.background.task.LayoutExportBackgroundTaskExecutor.execute(LayoutExportBackgroundTaskExecutor.java:69) [bundleFile:?]
       at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41) [portal-kernel.jar:?]
       at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72) [bundleFile:?]
       at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136) [bundleFile:?]
       at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48) [portal-kernel.jar:?]
       at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34) [portal-kernel.jar:?]
       at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) [portal-kernel.jar:?]
       at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56) [bundleFile:?]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_311]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_311]
       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311]
       Caused by: com.liferay.document.library.kernel.exception.NoSuchFolderException: No Folder exists with the key {folderId=39301}
      at com.liferay.portal.repository.RepositoryProviderImpl.getFolderLocalRepository(RepositoryProviderImpl.java:198) ~[portal-impl.jar:?]
       at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:883) ~[portal-impl.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy993.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.kernel.service.DLAppLocalServiceWrapper.getFolder(DLAppLocalServiceWrapper.java:673) ~[portal-kernel.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy994.getFolder(Unknown Source) ~[?:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy125.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:438) ~[?:?]
       ... 49 more
       Caused by: com.liferay.portal.kernel.repository.InvalidRepositoryIdException: No repository associated with folder 39301
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderRepositoryId(RepositoryProviderImpl.java:489) ~[portal-impl.jar:?]
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderLocalRepository(RepositoryProviderImpl.java:194) ~[portal-impl.jar:?]
       at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:883) ~[portal-impl.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy993.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.kernel.service.DLAppLocalServiceWrapper.getFolder(DLAppLocalServiceWrapper.java:673) ~[portal-kernel.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy994.getFolder(Unknown Source) ~[?:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy125.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:438) ~[?:?]
       ... 49 more
       2022-03-22 10:09:22.236 ERROR [liferay/background_task-5][LoggerExportImportLifecycleListener:77] Layout export failed for group 20123
       com.liferay.exportimport.kernel.lar.PortletDataException: Portlet com_liferay_document_library_web_portlet_DLPortlet_INSTANCE_qAd7ZS66CwhC refers to an invalid root folder ID 39301
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:450) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor.processExportPortletPreferences(DLExportImportPortletPreferencesProcessor.java:103) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl._exportPortletPreference(PortletExportControllerImpl.java:1104) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl._exportPortletPreferences(PortletExportControllerImpl.java:1185) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl.exportPortlet(PortletExportControllerImpl.java:452) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler._exportLayoutPortlets(LayoutStagedModelDataHandler.java:1480) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:409) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:161) ~[?:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) ~[?:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportReferenceStagedModel(StagedModelDataHandlerUtil.java:128) ~[portal-kernel.jar:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler._exportLayouts(StagedLayoutSetStagedModelDataHandler.java:439) ~[?:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler.doExportStagedModel(StagedLayoutSetStagedModelDataHandler.java:111) ~[?:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler.doExportStagedModel(StagedLayoutSetStagedModelDataHandler.java:93) ~[?:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) ~[?:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportReferenceStagedModel(StagedModelDataHandlerUtil.java:128) ~[portal-kernel.jar:?]
       at com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doExportStagedModel(StagedGroupStagedModelDataHandler.java:193) ~[?:?]
       at com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doExportStagedModel(StagedGroupStagedModelDataHandler.java:78) ~[?:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) ~[?:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.internal.controller.LayoutExportController.doExport(LayoutExportController.java:323) ~[bundleFile:?]
       at com.liferay.exportimport.internal.controller.LayoutExportController.export(LayoutExportController.java:121) [bundleFile:?]
       at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.exportLayoutsAsFile(ExportImportLocalServiceImpl.java:62) [portal-impl.jar:?]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_311]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_311]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) [portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) [portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [portal-impl.jar:?]
       at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80) [bundleFile:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) [portal-impl.jar:?]
       at com.sun.proxy.$Proxy86.exportLayoutsAsFile(Unknown Source) [?:?]
       at com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil.exportLayoutsAsFile(ExportImportLocalServiceUtil.java:45) [portal-kernel.jar:?]
       at com.liferay.exportimport.internal.background.task.LayoutExportBackgroundTaskExecutor.execute(LayoutExportBackgroundTaskExecutor.java:69) [bundleFile:?]
       at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41) [portal-kernel.jar:?]
       at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72) [bundleFile:?]
       at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136) [bundleFile:?]
       at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48) [portal-kernel.jar:?]
       at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34) [portal-kernel.jar:?]
       at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) [portal-kernel.jar:?]
       at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56) [bundleFile:?]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_311]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_311]
       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311]
       Caused by: com.liferay.document.library.kernel.exception.NoSuchFolderException: No Folder exists with the key
      {folderId=39301}
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderLocalRepository(RepositoryProviderImpl.java:198) ~[portal-impl.jar:?]
       at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:883) ~[portal-impl.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy993.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.kernel.service.DLAppLocalServiceWrapper.getFolder(DLAppLocalServiceWrapper.java:673) ~[portal-kernel.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy994.getFolder(Unknown Source) ~[?:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy125.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:438) ~[?:?]
       ... 49 more
       Caused by: com.liferay.portal.kernel.repository.InvalidRepositoryIdException: No repository associated with folder 39301
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderRepositoryId(RepositoryProviderImpl.java:489) ~[portal-impl.jar:?]
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderLocalRepository(RepositoryProviderImpl.java:194) ~[portal-impl.jar:?]
       at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:883) ~[portal-impl.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy993.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.kernel.service.DLAppLocalServiceWrapper.getFolder(DLAppLocalServiceWrapper.java:673) ~[portal-kernel.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy994.getFolder(Unknown Source) ~[?:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy125.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:438) ~[?:?]
       ... 49 more
       2022-03-22 10:09:22.250 ERROR [liferay/background_task-5][BackgroundTaskMessageListener:182] Unable to execute background task
       com.liferay.exportimport.kernel.lar.PortletDataException: Portlet com_liferay_document_library_web_portlet_DLPortlet_INSTANCE_qAd7ZS66CwhC refers to an invalid root folder ID 39301
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:450) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor.processExportPortletPreferences(DLExportImportPortletPreferencesProcessor.java:103) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl._exportPortletPreference(PortletExportControllerImpl.java:1104) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl._exportPortletPreferences(PortletExportControllerImpl.java:1185) ~[?:?]
       at com.liferay.exportimport.internal.controller.PortletExportControllerImpl.exportPortlet(PortletExportControllerImpl.java:452) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler._exportLayoutPortlets(LayoutStagedModelDataHandler.java:1480) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:409) ~[?:?]
       at com.liferay.layout.admin.web.internal.exportimport.data.handler.LayoutStagedModelDataHandler.doExportStagedModel(LayoutStagedModelDataHandler.java:161) ~[?:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) ~[?:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportReferenceStagedModel(StagedModelDataHandlerUtil.java:128) ~[portal-kernel.jar:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler._exportLayouts(StagedLayoutSetStagedModelDataHandler.java:439) ~[?:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler.doExportStagedModel(StagedLayoutSetStagedModelDataHandler.java:111) ~[?:?]
       at com.liferay.layout.internal.exportimport.data.handler.StagedLayoutSetStagedModelDataHandler.doExportStagedModel(StagedLayoutSetStagedModelDataHandler.java:93) ~[?:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) ~[?:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportReferenceStagedModel(StagedModelDataHandlerUtil.java:128) ~[portal-kernel.jar:?]
       at com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doExportStagedModel(StagedGroupStagedModelDataHandler.java:193) ~[?:?]
       at com.liferay.site.internal.exportimport.data.handler.StagedGroupStagedModelDataHandler.doExportStagedModel(StagedGroupStagedModelDataHandler.java:78) ~[?:?]
       at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:102) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.data.handler.base.BaseStagedModelDataHandler.exportStagedModel(BaseStagedModelDataHandler.java:80) ~[?:?]
       at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.exportStagedModel(StagedModelDataHandlerUtil.java:178) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.internal.controller.LayoutExportController.doExport(LayoutExportController.java:323) ~[?:?]
       at com.liferay.exportimport.internal.controller.LayoutExportController.export(LayoutExportController.java:121) ~[?:?]
       at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.exportLayoutsAsFile(ExportImportLocalServiceImpl.java:62) ~[portal-impl.jar:?]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_311]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_311]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80) ~[?:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy86.exportLayoutsAsFile(Unknown Source) ~[?:?]
       at com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil.exportLayoutsAsFile(ExportImportLocalServiceUtil.java:45) ~[portal-kernel.jar:?]
       at com.liferay.exportimport.internal.background.task.LayoutExportBackgroundTaskExecutor.execute(LayoutExportBackgroundTaskExecutor.java:69) ~[?:?]
       at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41) ~[portal-kernel.jar:?]
       at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72) ~[bundleFile:?]
       at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136) [bundleFile:?]
       at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48) [portal-kernel.jar:?]
       at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34) [portal-kernel.jar:?]
       at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) [portal-kernel.jar:?]
       at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56) [bundleFile:?]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_311]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_311]
       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_311]
       Caused by: com.liferay.document.library.kernel.exception.NoSuchFolderException: No Folder exists with the key {folderId=39301}
      at com.liferay.portal.repository.RepositoryProviderImpl.getFolderLocalRepository(RepositoryProviderImpl.java:198) ~[portal-impl.jar:?]
       at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:883) ~[portal-impl.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy993.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.kernel.service.DLAppLocalServiceWrapper.getFolder(DLAppLocalServiceWrapper.java:673) ~[portal-kernel.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy994.getFolder(Unknown Source) ~[?:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy125.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:438) ~[?:?]
       ... 49 more
       Caused by: com.liferay.portal.kernel.repository.InvalidRepositoryIdException: No repository associated with folder 39301
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderRepositoryId(RepositoryProviderImpl.java:489) ~[portal-impl.jar:?]
       at com.liferay.portal.repository.RepositoryProviderImpl.getFolderLocalRepository(RepositoryProviderImpl.java:194) ~[portal-impl.jar:?]
       at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:883) ~[portal-impl.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy993.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.kernel.service.DLAppLocalServiceWrapper.getFolder(DLAppLocalServiceWrapper.java:673) ~[portal-kernel.jar:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?]
       at com.sun.proxy.$Proxy994.getFolder(Unknown Source) ~[?:?]
       at sun.reflect.GeneratedMethodAccessor425.invoke(Unknown Source) ~[?:?]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311]
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?]
       at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?]
       at com.sun.proxy.$Proxy125.getFolder(Unknown Source) ~[?:?]
       at com.liferay.document.library.web.internal.exportimport.portlet.preferences.processor.DLExportImportPortletPreferencesProcessor._getFolder(DLExportImportPortletPreferencesProcessor.java:438) ~[?:?]
       ... 49 more
      

       

      Expected Result: The export should be successful.

      Attachments

        Activity

          People

            team-lima Product Team Lima
            istvan.dezsi Istvan Dezsi
            Kiyoshi Lee Kiyoshi Lee
            Istvan Dezsi Istvan Dezsi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              25 weeks, 4 days ago

              Packages

                Version Package
                7.3.X
                7.4.3.20 CE GA20
                Master