java.lang.RuntimeException: The embedded resource specifies a space key but no content title.

Atlassian JIRA | Tim Wong [Atlassian] | 5 years ago
  1. 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]
    java.lang.RuntimeException: The embedded resource specifies a space key but no content title.
  2. 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]
    java.lang.RuntimeException: The embedded resource specifies a space key but no content title.
  3. 0

    h3. Steps to Reproduce # Create a page with name 'abc' # Create other page with name 'page to be moved' # Insert a link to 'page to be moved' on 'abc' # Delete page 'abc' # Create a page with name 'abc' again #- This operation is successful # Insert a link to 'page to be moved' on 'abc' (optional) # Move 'page to be moved' to somewhere else #- This operation fails. The below appears in the atlassian-confluence.log {code} 2014-08-12 10:06:51,870 ERROR [http-bio-8391-exec-507] [atlassian.event.internal.AsynchronousAbleEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.confluence.event.events.content.page.PageMoveCompletedEvent[source=page: "Page that is failed to be moved" v.14 (11239782)]] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.confluence.links.RelatedContentRefactoringListener.handleEvent(com.atlassian.confluence.event.events.content.page.PageMoveCompletedEvent), listener=com.atlassian.confluence.links.RelatedContentRefactoringListener@5f33c0b7}]  -- url: /confluence/pages/movepage.action | userName: PVanhoof | referer: https://wiki.test.com/confluence/pages/listpages-dirview.action?key=spaceKey&openId=11239782#selectedPageInHierarchy | action: movepage java.lang.RuntimeException: A page already exists with the title "Unrelated with the page you want to move" in the space with key spaceKey     at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54)     at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48)     at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253)     at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:107)     at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)     at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)     at com.atlassian.event.legacy.LegacyEventManager.publishEvent(LegacyEventManager.java:36)     at com.atlassian.confluence.event.ConfluenceEventManager.publishEvent(ConfluenceEventManager.java:47)     at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     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.proceed(ReflectiveMethodInvocation.java:149)     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)     at com.sun.proxy.$Proxy26.publishEvent(Unknown Source)     at com.atlassian.confluence.pages.DefaultPageManager.publishPageMoveEvents(DefaultPageManager.java:1150)     at com.atlassian.confluence.pages.DefaultPageManager.movePageAsChild(DefaultPageManager.java:714)     ... Caused by: com.atlassian.confluence.pages.DuplicateDataRuntimeException: A page already exists with the title "Unrelated with the page you want to move" in the space with key spaceKey     at com.atlassian.confluence.pages.DefaultPageManager.throwIfDuplicateAbstractPageTitle(DefaultPageManager.java:1067)     at com.atlassian.confluence.pages.DefaultPageManager.saveContentEntity(DefaultPageManager.java:992)     at sun.reflect.GeneratedMethodAccessor1554.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     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.proceed(ReflectiveMethodInvocation.java:149)     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)     at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)     at com.atlassian.confluence.util.profiling.ConfluenceMonitoringMethodInterceptor.invoke(ConfluenceMonitoringMethodInterceptor.java:59)     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)     at com.sun.proxy.$Proxy59.saveContentEntity(Unknown Source)     at com.atlassian.confluence.links.DefaultRelatedContentRefactorer.contractAbsoluteReferencesInContent(DefaultRelatedContentRefactorer.java:429)     at com.atlassian.confluence.links.DefaultRelatedContentRefactorer.contractAbsoluteReferencesInContent(DefaultRelatedContentRefactorer.java:392)     at com.atlassian.confluence.links.RelatedContentRefactoringListener.handleEvent(RelatedContentRefactoringListener.java:57)     at sun.reflect.GeneratedMethodAccessor1800.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)     ... 326 more {code} h3. Workaround h4. Option 1: # Change title of the page to be moved. (i) i.e. "Release Notes" to "Release Notes v1.0". # Move page to desired location. (i) The new title can be changed back to the original after completion. h4. Option 2: # Check the error in the logs to find the space that contains the deleted page (this may not be the same space as the page you are moving). # Purge the trash in that space ([documentation|https://confluence.atlassian.com/display/DOC/Purging+Deleted+Pages]). (!) When the trash is purged, all attachments on purged pages are permanently removed as well. h4. Option 3: # Clone the page via _Tools_ > _Copy_ and save the page. (i) The title of the page will be "Copy of <page_title>". # Move cloned page to desired location. (i) You may rename the title page to the original after moving operation is successful by removing the "Copy of" words from the title. # Delete the old page (can't be moved) to remove redundancies.

    Atlassian JIRA | 2 years ago | Denise Unterwurzacher
    java.lang.RuntimeException: A page already exists with the title "Unrelated with the page you want to move" in the space with key spaceKey
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Steps to Reproduce # Create a page with name 'abc' # Create other page with name 'page to be moved' # Insert a link to 'page to be moved' on 'abc' # Delete page 'abc' # Create a page with name 'abc' again #- This operation is successful # Insert a link to 'page to be moved' on 'abc' (optional) # Move 'page to be moved' to somewhere else #- This operation fails. The below appears in the atlassian-confluence.log {code} 2014-08-12 10:06:51,870 ERROR [http-bio-8391-exec-507] [atlassian.event.internal.AsynchronousAbleEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.confluence.event.events.content.page.PageMoveCompletedEvent[source=page: "Page that is failed to be moved" v.14 (11239782)]] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.confluence.links.RelatedContentRefactoringListener.handleEvent(com.atlassian.confluence.event.events.content.page.PageMoveCompletedEvent), listener=com.atlassian.confluence.links.RelatedContentRefactoringListener@5f33c0b7}]  -- url: /confluence/pages/movepage.action | userName: PVanhoof | referer: https://wiki.test.com/confluence/pages/listpages-dirview.action?key=spaceKey&openId=11239782#selectedPageInHierarchy | action: movepage java.lang.RuntimeException: A page already exists with the title "Unrelated with the page you want to move" in the space with key spaceKey     at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54)     at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48)     at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253)     at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:107)     at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)     at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)     at com.atlassian.event.legacy.LegacyEventManager.publishEvent(LegacyEventManager.java:36)     at com.atlassian.confluence.event.ConfluenceEventManager.publishEvent(ConfluenceEventManager.java:47)     at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     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.proceed(ReflectiveMethodInvocation.java:149)     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)     at com.sun.proxy.$Proxy26.publishEvent(Unknown Source)     at com.atlassian.confluence.pages.DefaultPageManager.publishPageMoveEvents(DefaultPageManager.java:1150)     at com.atlassian.confluence.pages.DefaultPageManager.movePageAsChild(DefaultPageManager.java:714)     ... Caused by: com.atlassian.confluence.pages.DuplicateDataRuntimeException: A page already exists with the title "Unrelated with the page you want to move" in the space with key spaceKey     at com.atlassian.confluence.pages.DefaultPageManager.throwIfDuplicateAbstractPageTitle(DefaultPageManager.java:1067)     at com.atlassian.confluence.pages.DefaultPageManager.saveContentEntity(DefaultPageManager.java:992)     at sun.reflect.GeneratedMethodAccessor1554.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     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.proceed(ReflectiveMethodInvocation.java:149)     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)     at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)     at com.atlassian.confluence.util.profiling.ConfluenceMonitoringMethodInterceptor.invoke(ConfluenceMonitoringMethodInterceptor.java:59)     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)     at com.sun.proxy.$Proxy59.saveContentEntity(Unknown Source)     at com.atlassian.confluence.links.DefaultRelatedContentRefactorer.contractAbsoluteReferencesInContent(DefaultRelatedContentRefactorer.java:429)     at com.atlassian.confluence.links.DefaultRelatedContentRefactorer.contractAbsoluteReferencesInContent(DefaultRelatedContentRefactorer.java:392)     at com.atlassian.confluence.links.RelatedContentRefactoringListener.handleEvent(RelatedContentRefactoringListener.java:57)     at sun.reflect.GeneratedMethodAccessor1800.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)     ... 326 more {code} h3. Workaround h4. Option 1: # Change title of the page to be moved. (i) i.e. "Release Notes" to "Release Notes v1.0". # Move page to desired location. (i) The new title can be changed back to the original after completion. h4. Option 2: # Check the error in the logs to find the space that contains the deleted page (this may not be the same space as the page you are moving). # Purge the trash in that space ([documentation|https://confluence.atlassian.com/display/DOC/Purging+Deleted+Pages]). (!) When the trash is purged, all attachments on purged pages are permanently removed as well. h4. Option 3: # Clone the page via _Tools_ > _Copy_ and save the page. (i) The title of the page will be "Copy of <page_title>". # Move cloned page to desired location. (i) You may rename the title page to the original after moving operation is successful by removing the "Copy of" words from the title. # Delete the old page (can't be moved) to remove redundancies.

    Atlassian JIRA | 2 years ago | Denise Unterwurzacher
    java.lang.RuntimeException: A page already exists with the title "Unrelated with the page you want to move" in the space with key spaceKey
  6. 0

    Issue on Ubuntu 15.04

    GitHub | 7 months ago | pcp84
    java.lang.RuntimeException: Unhandled case: Mame returned no errors while searching for machine altbeast but the machine has not been found on the XML content

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      The embedded resource specifies a space key but no content title.

      at com.atlassian.confluence.content.render.xhtml.migration.XhtmlEmbeddedResourceRenderer.renderResource()
    2. com.atlassian.confluence
      XhtmlEmbeddedResourceRenderer.renderResource
      1. com.atlassian.confluence.content.render.xhtml.migration.XhtmlEmbeddedResourceRenderer.renderResource(XhtmlEmbeddedResourceRenderer.java:45)
      1 frame
    3. com.atlassian.renderer
      EmbeddedRendererComponent.renderResource
      1. com.atlassian.renderer.v2.components.EmbeddedRendererComponent.renderResource(EmbeddedRendererComponent.java:58)
      1 frame