Export failed for template whith "This page and all children with label …" option
Hello,
I try to export pages to word using template with option "This page and all children with label …" activated (label = admin_guide). And I get this following error:
(2 KB, Export failed. Please see the Confluence log file and download the error ZIP file for more information.)
When contacting K15t support please make sure to submit the error.zip file.
The ZIP file contains your export settings, a trace of the error as well as all content exported so far. If this content is confidential please extract the ZIP file and at least provide the 'stacktraces.txt' file.
Additional info which may be useful:
- The problem occurs with default template “Documentation Layout (with child pages)” (but with activated "This page and all children with label …" option.
- There are really a lot of included pages in the hierarchy (don’t know how to count them all to say exact quantity).
- Export passes without any problems if option "This page and all children with label …" is not used on the same page, i. e. export passes fine if filtering by label is no applied.
- Export passes without any problems if I use the same template with labels but start export for any page that is located on 1 level lower by hierarch.
- The space uses scroll variants, attributes, conditional content macroses on its pages, but doesn’t use versions.
Could you please take a look at this issue? What could cause it?
stacktraces.txt content:
java.lang.RuntimeException: RuntimeException occurred while processing page '<no page>':
at com.k15t.scroll.confluence.model.export.ExportLogic.performExport(ExportLogic.java:152)
at com.k15t.scroll.confluence.model.export.ExportTask.call(ExportTask.java:158)
at com.k15t.scroll.confluence.model.export.ExportTask.call(ExportTask.java:56)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Error when connecting with Scroll Versions.
at com.k15t.scroll.confluence.integration.versions.impl.ScrollVersionsPageSelectionStrategy.getPageTreeImpl(ScrollVersionsPageSelectionStrategy.java:41)
at com.k15t.scroll.confluence.plugins.pageselection.AbstractPageSelectionStrategy.getPageTree(AbstractPageSelectionStrategy.java:44)
at com.k15t.scroll.confluence.integration.versions.ScrollVersionsAdapter.createScrollVersionsSourceTree(ScrollVersionsAdapter.java:99)
at com.k15t.scroll.confluence.model.export.ExportLogic$2.doInTransaction(ExportLogic.java:223)
at com.k15t.scroll.confluence.model.export.ExportLogic$2.doInTransaction(ExportLogic.java:219)
at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:21)
at com.atlassian.sal.spring.component.SpringHostContextAccessor$1.doInTransaction(SpringHostContextAccessor.java:71)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:68)
at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.access$001(ConfluenceSpringHostContextAccessor.java:21)
at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.lambda$doInTransaction$3(ConfluenceSpringHostContextAccessor.java:72)
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87)
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71)
at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.doInTransaction(ConfluenceSpringHostContextAccessor.java:72)
at sun.reflect.GeneratedMethodAccessor262.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
at com.sun.proxy.$Proxy287.doInTransaction(Unknown Source)
at sun.reflect.GeneratedMethodAccessor262.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136)
at com.sun.proxy.$Proxy287.doInTransaction(Unknown Source)
at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:18)
at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy2231.execute(Unknown Source)
at com.k15t.scroll.confluence.model.export.ExportLogic.setupSourceTree(ExportLogic.java:219)
at com.k15t.scroll.confluence.model.export.ExportLogic.performExport(ExportLogic.java:126)
... 6 more
Caused by: java.io.IOException: Could not load the data from Scroll Versions. Please see the log for further details.
at com.k15t.scroll.confluence.integration.versions.impl.DefaultScrollVersionsConnector.getRestInputStream(DefaultScrollVersionsConnector.java:261)
at com.k15t.scroll.confluence.integration.versions.impl.DefaultScrollVersionsConnector.loadFromRestResource(DefaultScrollVersionsConnector.java:214)
at com.k15t.scroll.confluence.integration.versions.impl.DefaultScrollVersionsConnector.getSourceTree(DefaultScrollVersionsConnector.java:95)
at com.k15t.scroll.confluence.integration.versions.impl.ScrollVersionsPageSelectionStrategy.getPageTreeImpl(ScrollVersionsPageSelectionStrategy.java:39)
... 52 more
export-scheme.json content:
{"id":"bundled_documentation-layout","name":"Documentation Layout (with child pages)","description":"Exports this page and its children with the 'Documentation Layout' template and its default settings.","pageSelectionStrategy":{"completeKey":"com.k15t.scroll.scroll-office:filterbylabel","properties":{"labelRules":"admin_guide"}},"pageBuilder":{"processTocMacros":true,"processChildrenMacros":true,"enableHeadingPromotion":true,"processSectionColumnMacroAsTable":false,"replaceThumbnailsWithFullSize":null,"convertImageGalleries":null,"usePageLabelsAsIndexTerms":null,"processNumberedHeadingsMacros":false},"exporter":{"exporterId":"com.k15t.scroll.scroll-office","templateId":"com.k15t.scroll.scroll-office:documentation-layout","properties":{"linkSettings.addUrlToConfluenceLinks":"false","tableCaptionsBefore":"true","linkSettings.disableConfluenceLinks":"false","tableAutoFitMode":"AUTO_FIT_TO_WINDOW","enableDocm":"false","figureCaptionsBefore":"true","linkSettings.disableExternalLinks":"false","linkSettings.addUrlToExternalLinks":"false","linkSettings.addTargetPageToLinks":"false","exportAttachments":"false"}},"exportAdhocPublishedOnly":false}
-
Hi,
Thanks for letting us know - most likely this is an issue with your internal IT infrastructure.
To further analyze the problem it would be great if you could send us a Confluence Support ZIP to support@k15t.com.
This will create a private support ticket (as this is our public forum) and we'll be able to further investigate.To create a support ZIP in Confluence, please follow these instructions: https://help.k15t.com/creating-a-support-zip-111903659.html
Best,
Nils
Please sign in to leave a comment.
Comments
1 comment