Include Content Shared Block is not showing up
Issue #105
resolved
We are running Confluence 6.6.2 and Include Content 2.5.6. When editing a page and trying to insert a macro I don’t see Include a Shared Block Macro. I only see two macros attached.
Comments (2)
-
-
- changed status to resolved
I'm unable to reproduce the problem.
- Log in to comment
We’re experiencing the same issue on 6.15.9 and Include Content 2.5.6. I also see some errors in the Atlassian-confluence.log that seem to point to this issue:
at com.keysight.include.content.macros.IncludeSharedBlock.<init>(IncludeSharedBlock.java:15)
at com.keysight.include.content.macros.IncludeSharedBlockWithReplacement.<init>(IncludeSharedBlockWithReplacement.java:35)
at com.keysight.include.content.macros.IncludePageWithReplacement.<init>(IncludePageWithReplacement.java:63)
at com.atlassian.confluence.content.render.xhtml.XmlOutputFactoryFactoryBean.getObject(XmlOutputFactoryFactoryBean.java:24)
at javax.xml.stream.XMLOutputFactory.newInstance(XMLOutputFactory.java:130)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:227)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:313)
at javax.xml.stream.FactoryFinder.findServiceProvider(FactoryFinder.java:370)
Caused by: javax.xml.stream.FactoryConfigurationError: Provider for class javax.xml.stream.XMLOutputFactory cannot be created
... 308 more
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.keysight.include.content.macros.IncludeSharedBlock]: Constructor threw exception; nested exception is javax.xml.stream.FactoryConfigurationError: Provider for class javax.xml.stream.XMLOutputFactory cannot be created
at java.lang.Thread.run(Thread.java:748)
rg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.keysight.include.content.macros.IncludeSharedBlock': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.keysight.include.content.macros.IncludeSharedBlock]: Constructor threw exception; nested exception is javax.xml.stream.FactoryConfigurationError: Provider for class javax.xml.stream.XMLOutputFactory cannot be created
-- referer: https://engageacc.triodos.corp/pages/resumedraft.action?draftId=96506266&draftShareId=cee4dd56-03d6-448a-ab8a-2125deb20e7c& | url: /display/~rvdmolen/Test+pagina | traceId: 6ce25307d3bfefab | userName: rvdmolen
2020-10-21 12:54:14,157 WARN [http-nio-8080-exec-24] [impl.macro.metadata.AllMacroMetadataCache] lambda$loadMacroMetadata$1 Failed to make metadata for module 'com.keysight.include-content:include-shared-block': Error creating bean with name 'com.keysight.include.content.macros.IncludeSharedBlock': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.keysight.include.content.macros.IncludeSharedBlock]: Constructor threw exception; nested exception is javax.xml.stream.FactoryConfigurationError: Provider for class javax.xml.stream.XMLOutputFactory cannot be created