com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro '394jsg-75ty-4825-lk65k-cfg456jmka' is unknown.

Atlassian JIRA | Andre Borzzatto [Atlassian] | 11 months ago
  1. 0

    When trying to import Word documents with hyperlinks similar to macro definitions Confluence fails to import them and the following error is thrown: {code} com.atlassian.confluence.api.service.exceptions.InternalServerException: com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro '394jsg-75ty-4825-lk65k-cfg456jmka' is unknown. at com.atlassian.confluence.api.impl.service.content.ContentBodyConversionServiceImpl.processMigrationResult(ContentBodyConversionServiceImpl.java:320) caused by: com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro '394jsg-75ty-4825-lk65k-cfg456jmka' is unknown. at com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent$MacroHandler.handleMacro(XhtmlMacroRendererComponent.java:91) {code} {code} com.atlassian.confluence.api.service.exceptions.InternalServerException: com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro '394jsg-75ty-4825-lk65k-cfg456jmka' is unknown. at com.atlassian.confluence.api.impl.service.content.ContentBodyConversionServiceImpl.processMigrationResult(ContentBodyConversionServiceImpl.java:320) at com.atlassian.confluence.api.impl.service.content.ContentBodyConversionServiceImpl.computeConvertedValue(ContentBodyConversionServiceImpl.java:229) at com.atlassian.confluence.api.impl.service.content.ContentBodyConversionServiceImpl.lambda$convert$33(ContentBodyConversionServiceImpl.java:128) at com.atlassian.confluence.api.impl.service.content.ThreadlocalWebResourceDependenciesRecorder.record(ThreadlocalWebResourceDependenciesRecorder.java:75) at com.atlassian.confluence.api.impl.service.content.ContentBodyConversionServiceImpl.convert(ContentBodyConversionServiceImpl.java:124) at com.atlassian.confluence.api.impl.service.content.ContentBodyConversionServiceImpl.convert(ContentBodyConversionServiceImpl.java:114) at sun.reflect.GeneratedMethodAccessor3074.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.procee {code} *Steps to reproduce* # Create a .doc Word file having a hyperlink with a similar target: {code} anything:anythingelse={394JSG-75TY-4825-LK65K-CFG456JMKA} {code} # Use the *Import Word Document* functionality from any page # Select any options on it. # Complete the import. *Expected results* The page should be imported on Confluence with a link on it. *Actual results* Confluence throws an error on screen stating that an unknown macro is missing with the same id as described in the Hyperlink target: 394JSG-75TY-4825-LK65K-CFG456JMKA

    Atlassian JIRA | 11 months ago | Andre Borzzatto [Atlassian]
    com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro '394jsg-75ty-4825-lk65k-cfg456jmka' is unknown.
  2. 0

    When trying to import Word documents with hyperlinks similar to macro definitions Confluence fails to import them and the following error is thrown: {code} com.atlassian.confluence.api.service.exceptions.InternalServerException: com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro '394jsg-75ty-4825-lk65k-cfg456jmka' is unknown. at com.atlassian.confluence.api.impl.service.content.ContentBodyConversionServiceImpl.processMigrationResult(ContentBodyConversionServiceImpl.java:320) caused by: com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro '394jsg-75ty-4825-lk65k-cfg456jmka' is unknown. at com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent$MacroHandler.handleMacro(XhtmlMacroRendererComponent.java:91) {code} {code} com.atlassian.confluence.api.service.exceptions.InternalServerException: com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro '394jsg-75ty-4825-lk65k-cfg456jmka' is unknown. at com.atlassian.confluence.api.impl.service.content.ContentBodyConversionServiceImpl.processMigrationResult(ContentBodyConversionServiceImpl.java:320) at com.atlassian.confluence.api.impl.service.content.ContentBodyConversionServiceImpl.computeConvertedValue(ContentBodyConversionServiceImpl.java:229) at com.atlassian.confluence.api.impl.service.content.ContentBodyConversionServiceImpl.lambda$convert$33(ContentBodyConversionServiceImpl.java:128) at com.atlassian.confluence.api.impl.service.content.ThreadlocalWebResourceDependenciesRecorder.record(ThreadlocalWebResourceDependenciesRecorder.java:75) at com.atlassian.confluence.api.impl.service.content.ContentBodyConversionServiceImpl.convert(ContentBodyConversionServiceImpl.java:124) at com.atlassian.confluence.api.impl.service.content.ContentBodyConversionServiceImpl.convert(ContentBodyConversionServiceImpl.java:114) at sun.reflect.GeneratedMethodAccessor3074.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.procee {code} *Steps to reproduce* # Create a .doc Word file having a hyperlink with a similar target: {code} anything:anythingelse={394JSG-75TY-4825-LK65K-CFG456JMKA} {code} # Use the *Import Word Document* functionality from any page # Select any options on it. # Complete the import. *Expected results* The page should be imported on Confluence with a link on it. *Actual results* Confluence throws an error on screen stating that an unknown macro is missing with the same id as described in the Hyperlink target: 394JSG-75TY-4825-LK65K-CFG456JMKA

    Atlassian JIRA | 11 months ago | Andre Borzzatto [Atlassian]
    com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro '394jsg-75ty-4825-lk65k-cfg456jmka' is unknown.
  3. 0

    {code} 2011-08-11 15:00:31,512 WARN [WikiToXhtmlMigrationThread-1] [render.xhtml.migration.ErrorReportingV2Renderer] render Unable to render content due to system error: The embedded resource specifies a space key but no content title. java.lang.RuntimeException: The embedded resource specifies a space key but no content title. at com.atlassian.confluence.content.render.xhtml.migration.XhtmlEmbeddedResourceRenderer.renderResource(XhtmlEmbeddedResourceRenderer.java:45) at com.atlassian.renderer.v2.components.EmbeddedRendererComponent.renderResource(EmbeddedRendererComponent.java:58) {code} {code} 2011-08-11 14:59:50,536 WARN [WikiToXhtmlMigrationThread-3] [render.xhtml.migration.TableBlockRendererWrapper] renderNextBlock Exception while removing styles from migrated table: '<table class='confluenceTable'><tbody> ... snip '. [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </em>; expected </strong>. at [row,col {unknown-source}]: [55,18] at com.ctc.wstx.exc.WstxLazyException.throwLazily(WstxLazyException.java:45) at com.ctc.wstx.evt.FilteredEventReader.hasNext(FilteredEventReader.java:72) at com.atlassian.confluence.content.render.xhtml.XmlFragmentBodyEventReader.hasNext(XmlFragmentBodyEventRe <tr> {code} {code} 2011-08-11 14:57:12,189 ERROR [WikiToXhtmlMigrationThread-2] [confluence.extra.chart.ChartMacroMigration] migrate Error migrating chart macro body below to XHTML storage {exerpt-include:graph test data} com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro exerpt-include is unknown. at com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent$MacroHandler.handleMacro(XhtmlMacroRendererComponent.java:75) at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:120) at com.atlassian.renderer.v2.WikiMarkupParser.handlePotentialMacro(WikiMarkupParser.ja{code} Although these errors seem to be non-fatal: including space, pageid, etc would go a long way for troubleshooting.

    Atlassian JIRA | 5 years ago | Tim Wong [Atlassian]
    com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro exerpt-include is unknown.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    {code} 2011-08-11 15:00:31,512 WARN [WikiToXhtmlMigrationThread-1] [render.xhtml.migration.ErrorReportingV2Renderer] render Unable to render content due to system error: The embedded resource specifies a space key but no content title. java.lang.RuntimeException: The embedded resource specifies a space key but no content title. at com.atlassian.confluence.content.render.xhtml.migration.XhtmlEmbeddedResourceRenderer.renderResource(XhtmlEmbeddedResourceRenderer.java:45) at com.atlassian.renderer.v2.components.EmbeddedRendererComponent.renderResource(EmbeddedRendererComponent.java:58) {code} {code} 2011-08-11 14:59:50,536 WARN [WikiToXhtmlMigrationThread-3] [render.xhtml.migration.TableBlockRendererWrapper] renderNextBlock Exception while removing styles from migrated table: '<table class='confluenceTable'><tbody> ... snip '. [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </em>; expected </strong>. at [row,col {unknown-source}]: [55,18] at com.ctc.wstx.exc.WstxLazyException.throwLazily(WstxLazyException.java:45) at com.ctc.wstx.evt.FilteredEventReader.hasNext(FilteredEventReader.java:72) at com.atlassian.confluence.content.render.xhtml.XmlFragmentBodyEventReader.hasNext(XmlFragmentBodyEventRe <tr> {code} {code} 2011-08-11 14:57:12,189 ERROR [WikiToXhtmlMigrationThread-2] [confluence.extra.chart.ChartMacroMigration] migrate Error migrating chart macro body below to XHTML storage {exerpt-include:graph test data} com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro exerpt-include is unknown. at com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent$MacroHandler.handleMacro(XhtmlMacroRendererComponent.java:75) at com.atlassian.renderer.v2.WikiMarkupParser.makeMacro(WikiMarkupParser.java:120) at com.atlassian.renderer.v2.WikiMarkupParser.handlePotentialMacro(WikiMarkupParser.ja{code} Although these errors seem to be non-fatal: including space, pageid, etc would go a long way for troubleshooting.

    Atlassian JIRA | 5 years ago | Tim Wong [Atlassian]
    com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro exerpt-include is unknown.

    Root Cause Analysis

    1. com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException

      The macro '394jsg-75ty-4825-lk65k-cfg456jmka' is unknown.

      at com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent$MacroHandler.handleMacro()
    2. com.atlassian.confluence
      XhtmlMacroRendererComponent$MacroHandler.handleMacro
      1. com.atlassian.confluence.content.render.xhtml.migration.XhtmlMacroRendererComponent$MacroHandler.handleMacro(XhtmlMacroRendererComponent.java:91)
      1 frame