com.atlassian.confluence.content.render.xhtml.XhtmlException: RuntimeException occurred while transforming editor format to storage format (java.lang.RuntimeException: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null.)

Atlassian JIRA | Guilherme Nedel [Atlassian] | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    # use IE8 with compatibility mode off (problem does not occur with Firefox) # edit a page # add an anchor # add a link to the anchor using Link > Advanced # save the page # edit the page # click on the link to anchor # click the link Edit button # save the link (without changing anything) # save the page # save fails with error: *Failure when converting editor format to storage format.* Stacktrace: {noformat} 2013-08-07 11:57:59,858 WARN [http-8090-4] [content.render.xhtml.DefaultFormatConverter] validateAndConvertToStorageFormat XhtmlException converting editor format to storage format. Turn on debug level logging to see editor format data. – url: /pages/doeditpage.action | page: 100370899 | userName: Redacted | referer: Domain-Redacted/pages/editpage.action?pageId=100370899 | action: doeditpage com.atlassian.confluence.content.render.xhtml.XhtmlException: RuntimeException occurred while transforming editor format to storage format (java.lang.RuntimeException: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null.) at com.atlassian.confluence.content.render.xhtml.editor.EditorXhtmlTransformer.transform(EditorXhtmlTransformer.java:69) at com.atlassian.confluence.content.render.xhtml.TransformerChain.transform(TransformerChain.java:41) at com.atlassian.confluence.content.render.xhtml.PluggableTransformerChain.transform(PluggableTransformerChain.java:53) at com.atlassian.confluence.content.render.xhtml.editor.DefaultEditorConverter.convert(DefaultEditorConverter.java:40) at com.atlassian.confluence.content.render.xhtml.DefaultFormatConverter.convertContentToStorageFormat(DefaultFormatConverter.java:103) at com.atlassian.confluence.content.render.xhtml.DefaultFormatConverter.convertToStorageFormat(DefaultFormatConverter.java:86) at com.atlassian.confluence.content.render.xhtml.DefaultFormatConverter.validateAndConvertToStorageFormat(DefaultFormatConverter.java:38) at com.atlassian.confluence.pages.actions.AbstractPreviewPageAction.validate(AbstractPreviewPageAction.java:101) at com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction.validate(AbstractCreateAndEditPageAction.java:141) at com.atlassian.confluence.pages.actions.EditPageAction.validate(EditPageAction.java:48) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:47) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.xwork.interceptors.XsrfTokenInterceptor.intercept(XsrfTokenInterceptor.java:100) at com.atlassian.confluence.xwork.ConfluenceXsrfTokenInterceptor.intercept(ConfluenceXsrfTokenInterceptor.java:25) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.interceptors.CaptchaInterceptor.intercept(CaptchaInterceptor.java:49) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.validation.MessageHolderInterceptor.intercept(MessageHolderInterceptor.java:42) ... Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null. at com.atlassian.confluence.content.render.xhtml.transformers.ThrowExceptionOnFragmentTransformationError.handle(ThrowExceptionOnFragmentTransformationError.java:13) at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transform(DefaultFragmentTransformer.java:124) at com.atlassian.confluence.content.render.xhtml.editor.EditorXhtmlTransformer.transform(EditorXhtmlTransformer.java:48) ... 224 more Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null. at com.atlassian.confluence.content.render.xhtml.transformers.ThrowExceptionOnFragmentTransformationError.handle(ThrowExceptionOnFragmentTransformationError.java:13) at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transform(DefaultFragmentTransformer.java:124) at com.atlassian.confluence.content.render.xhtml.editor.macro.MacroBodySubParser.parse(MacroBodySubParser.java:109) at com.atlassian.confluence.content.render.xhtml.editor.macro.EditorMacroUnmarshaller.unmarshal(EditorMacroUnmarshaller.java:114) at com.atlassian.confluence.content.render.xhtml.editor.macro.EditorMacroUnmarshaller.unmarshal(EditorMacroUnmarshaller.java:32) at com.atlassian.confluence.content.render.xhtml.UnmarshalMarshalFragmentTransformer.transform(UnmarshalMarshalFragmentTransformer.java:26) at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transform(DefaultFragmentTransformer.java:106) ... 225 more Caused by: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null. at com.atlassian.confluence.content.render.xhtml.model.links.EmptyLink.<init>(EmptyLink.java:15) at com.atlassian.confluence.content.render.xhtml.editor.link.EditorLinkUnmarshaller.unmarshal(EditorLinkUnmarshaller.java:78) at com.atlassian.confluence.content.render.xhtml.editor.link.EditorLinkUnmarshaller.unmarshal(EditorLinkUnmarshaller.java:32) at com.atlassian.confluence.content.render.xhtml.UnmarshalMarshalFragmentTransformer.transform(UnmarshalMarshalFragmentTransformer.java:26) at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transform(DefaultFragmentTransformer.java:106) ... 230 more {noformat}

    Atlassian JIRA | 4 years ago | Guilherme Nedel [Atlassian]
    com.atlassian.confluence.content.render.xhtml.XhtmlException: RuntimeException occurred while transforming editor format to storage format (java.lang.RuntimeException: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null.)
  2. 0

    # use IE8 with compatibility mode off (problem does not occur with Firefox) # edit a page # add an anchor # add a link to the anchor using Link > Advanced # save the page # edit the page # click on the link to anchor # click the link Edit button # save the link (without changing anything) # save the page # save fails with error: *Failure when converting editor format to storage format.* Stacktrace: {noformat} 2013-08-07 11:57:59,858 WARN [http-8090-4] [content.render.xhtml.DefaultFormatConverter] validateAndConvertToStorageFormat XhtmlException converting editor format to storage format. Turn on debug level logging to see editor format data. – url: /pages/doeditpage.action | page: 100370899 | userName: Redacted | referer: Domain-Redacted/pages/editpage.action?pageId=100370899 | action: doeditpage com.atlassian.confluence.content.render.xhtml.XhtmlException: RuntimeException occurred while transforming editor format to storage format (java.lang.RuntimeException: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null.) at com.atlassian.confluence.content.render.xhtml.editor.EditorXhtmlTransformer.transform(EditorXhtmlTransformer.java:69) at com.atlassian.confluence.content.render.xhtml.TransformerChain.transform(TransformerChain.java:41) at com.atlassian.confluence.content.render.xhtml.PluggableTransformerChain.transform(PluggableTransformerChain.java:53) at com.atlassian.confluence.content.render.xhtml.editor.DefaultEditorConverter.convert(DefaultEditorConverter.java:40) at com.atlassian.confluence.content.render.xhtml.DefaultFormatConverter.convertContentToStorageFormat(DefaultFormatConverter.java:103) at com.atlassian.confluence.content.render.xhtml.DefaultFormatConverter.convertToStorageFormat(DefaultFormatConverter.java:86) at com.atlassian.confluence.content.render.xhtml.DefaultFormatConverter.validateAndConvertToStorageFormat(DefaultFormatConverter.java:38) at com.atlassian.confluence.pages.actions.AbstractPreviewPageAction.validate(AbstractPreviewPageAction.java:101) at com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction.validate(AbstractCreateAndEditPageAction.java:141) at com.atlassian.confluence.pages.actions.EditPageAction.validate(EditPageAction.java:48) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:47) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.xwork.interceptors.XsrfTokenInterceptor.intercept(XsrfTokenInterceptor.java:100) at com.atlassian.confluence.xwork.ConfluenceXsrfTokenInterceptor.intercept(ConfluenceXsrfTokenInterceptor.java:25) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.interceptors.CaptchaInterceptor.intercept(CaptchaInterceptor.java:49) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.validation.MessageHolderInterceptor.intercept(MessageHolderInterceptor.java:42) ... Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null. at com.atlassian.confluence.content.render.xhtml.transformers.ThrowExceptionOnFragmentTransformationError.handle(ThrowExceptionOnFragmentTransformationError.java:13) at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transform(DefaultFragmentTransformer.java:124) at com.atlassian.confluence.content.render.xhtml.editor.EditorXhtmlTransformer.transform(EditorXhtmlTransformer.java:48) ... 224 more Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null. at com.atlassian.confluence.content.render.xhtml.transformers.ThrowExceptionOnFragmentTransformationError.handle(ThrowExceptionOnFragmentTransformationError.java:13) at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transform(DefaultFragmentTransformer.java:124) at com.atlassian.confluence.content.render.xhtml.editor.macro.MacroBodySubParser.parse(MacroBodySubParser.java:109) at com.atlassian.confluence.content.render.xhtml.editor.macro.EditorMacroUnmarshaller.unmarshal(EditorMacroUnmarshaller.java:114) at com.atlassian.confluence.content.render.xhtml.editor.macro.EditorMacroUnmarshaller.unmarshal(EditorMacroUnmarshaller.java:32) at com.atlassian.confluence.content.render.xhtml.UnmarshalMarshalFragmentTransformer.transform(UnmarshalMarshalFragmentTransformer.java:26) at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transform(DefaultFragmentTransformer.java:106) ... 225 more Caused by: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null. at com.atlassian.confluence.content.render.xhtml.model.links.EmptyLink.<init>(EmptyLink.java:15) at com.atlassian.confluence.content.render.xhtml.editor.link.EditorLinkUnmarshaller.unmarshal(EditorLinkUnmarshaller.java:78) at com.atlassian.confluence.content.render.xhtml.editor.link.EditorLinkUnmarshaller.unmarshal(EditorLinkUnmarshaller.java:32) at com.atlassian.confluence.content.render.xhtml.UnmarshalMarshalFragmentTransformer.transform(UnmarshalMarshalFragmentTransformer.java:26) at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transform(DefaultFragmentTransformer.java:106) ... 230 more {noformat}

    Atlassian JIRA | 4 years ago | Guilherme Nedel [Atlassian]
    com.atlassian.confluence.content.render.xhtml.XhtmlException: RuntimeException occurred while transforming editor format to storage format (java.lang.RuntimeException: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null.)
  3. 0

    [CONF-25944] Failure when converting editor format to storage format. - Atlassian JIRA

    atlassian.com | 8 months ago
    com.atlassian.confluence.content.render.xhtml.XhtmlException: RuntimeException occurred while transforming editor format to storage format (java.lang.RuntimeException: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null.)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.confluence.content.render.xhtml.XhtmlException

      RuntimeException occurred while transforming editor format to storage format (java.lang.RuntimeException: java.lang.IllegalArgumentException: destinationResourceIdentifier cannot be null.)

      at com.atlassian.confluence.content.render.xhtml.editor.EditorXhtmlTransformer.transform()
    2. com.atlassian.confluence
      ConfluenceWorkflowInterceptor.intercept
      1. com.atlassian.confluence.content.render.xhtml.editor.EditorXhtmlTransformer.transform(EditorXhtmlTransformer.java:69)
      2. com.atlassian.confluence.content.render.xhtml.TransformerChain.transform(TransformerChain.java:41)
      3. com.atlassian.confluence.content.render.xhtml.PluggableTransformerChain.transform(PluggableTransformerChain.java:53)
      4. com.atlassian.confluence.content.render.xhtml.editor.DefaultEditorConverter.convert(DefaultEditorConverter.java:40)
      5. com.atlassian.confluence.content.render.xhtml.DefaultFormatConverter.convertContentToStorageFormat(DefaultFormatConverter.java:103)
      6. com.atlassian.confluence.content.render.xhtml.DefaultFormatConverter.convertToStorageFormat(DefaultFormatConverter.java:86)
      7. com.atlassian.confluence.content.render.xhtml.DefaultFormatConverter.validateAndConvertToStorageFormat(DefaultFormatConverter.java:38)
      8. com.atlassian.confluence.pages.actions.AbstractPreviewPageAction.validate(AbstractPreviewPageAction.java:101)
      9. com.atlassian.confluence.pages.actions.AbstractCreateAndEditPageAction.validate(AbstractCreateAndEditPageAction.java:141)
      10. com.atlassian.confluence.pages.actions.EditPageAction.validate(EditPageAction.java:48)
      11. com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:47)
      11 frames
    3. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    4. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      1 frame
    5. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    6. com.atlassian.xwork
      XsrfTokenInterceptor.intercept
      1. com.atlassian.xwork.interceptors.XsrfTokenInterceptor.intercept(XsrfTokenInterceptor.java:100)
      1 frame
    7. com.atlassian.confluence
      ConfluenceXsrfTokenInterceptor.intercept
      1. com.atlassian.confluence.xwork.ConfluenceXsrfTokenInterceptor.intercept(ConfluenceXsrfTokenInterceptor.java:25)
      1 frame
    8. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    9. com.atlassian.confluence
      CaptchaInterceptor.intercept
      1. com.atlassian.confluence.security.interceptors.CaptchaInterceptor.intercept(CaptchaInterceptor.java:49)
      1 frame
    10. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    11. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      1 frame
    12. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    13. com.atlassian.confluence
      MessageHolderInterceptor.intercept
      1. com.atlassian.confluence.validation.MessageHolderInterceptor.intercept(MessageHolderInterceptor.java:42)
      1 frame