com.atlassian.confluence.content.render.xhtml.XhtmlException: com.atlassian.confluence.content.render.xhtml.XhtmlException: Missing required attribute: {http://atlassian.com/resource/identifier}value 2016-02-18 00:24:20.270414500 at com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageResourceIdentifierUnmarshaller.unmarshal(StorageResourceIdentifierUnmarshaller.java:67) 2016-02-18 00:24:20.270415500 at com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageResourceIdentifierUnmarshaller.unmarshal(StorageResourceIdentifierUnmarshaller.java:47) 2016-02-18 00:24:20.270431500 at com.atlassian.confluence.content.render.xhtml.links.XhtmlOutgoingLinksExtractor.extract(XhtmlOutgoingLinksExtractor.java:112) 2016-02-18 00:24:20.270440500 at com.atlassian.confluence.links.DefaultLinkManager.updateOutgoingLinks(DefaultLinkManager.java:219) 2016-02-18 00:24:20.270441500 at sun.reflect.GeneratedMethodAccessor2226.invoke(Unknown Source) 2016-02-18 00:24:20.270441500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-02-18 00:24:20.270442500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-02-18 00:24:20.270448500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)

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

    h3. Summary When importing a word document (.docx) with screenshots included, the page will not include the images, or will include broken links instead of the images. This also happens when you copy and paste all of the content from the document into a page editor. h3. Environment Tested on both Chrome and Firefox with same results. h3. Steps to Reproduce # Copy and paste images into a word document, save document # Attempt to either import the word document or copy and paste the content from the document into the page editor. The images will not appear, and a stack trace is thrown in the logs. h3. Expected Results All content including images should appear in the page. h3. Actual Results They don't, and the below exception is thrown in the xxxxxxx.log file: {code} 2016-02-18 00:24:20.270346500 -- referer: https://testing124.atlassian.net/wiki/pages/createpage.action?spaceKey=BACON&fromPageId=622616 | url: /wiki/rest/api/content | traceId: a2109114dfe34a70 | userName: efranklin 2016-02-18 00:24:20.270347500 com.atlassian.confluence.content.render.xhtml.XhtmlException: com.atlassian.confluence.content.render.xhtml.XhtmlException: Missing required attribute: {http://atlassian.com/resource/identifier}value 2016-02-18 00:24:20.270414500 at com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageResourceIdentifierUnmarshaller.unmarshal(StorageResourceIdentifierUnmarshaller.java:67) 2016-02-18 00:24:20.270415500 at com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageResourceIdentifierUnmarshaller.unmarshal(StorageResourceIdentifierUnmarshaller.java:47) 2016-02-18 00:24:20.270431500 at com.atlassian.confluence.content.render.xhtml.links.XhtmlOutgoingLinksExtractor.extract(XhtmlOutgoingLinksExtractor.java:112) 2016-02-18 00:24:20.270440500 at com.atlassian.confluence.links.DefaultLinkManager.updateOutgoingLinks(DefaultLinkManager.java:219) 2016-02-18 00:24:20.270441500 at sun.reflect.GeneratedMethodAccessor2226.invoke(Unknown Source) 2016-02-18 00:24:20.270441500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-02-18 00:24:20.270442500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-02-18 00:24:20.270448500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2016-02-18 00:24:20.270449500 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) 2016-02-18 00:24:20.270449500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) 2016-02-18 00:24:20.270450500 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) {code} h3.Workaround Copy and paste individual images into the page editor. This workaround is not ideal for documents with many images.

    Atlassian JIRA | 1 year ago | Eric Franklin [Atlassian]
    com.atlassian.confluence.content.render.xhtml.XhtmlException: com.atlassian.confluence.content.render.xhtml.XhtmlException: Missing required attribute: {http://atlassian.com/resource/identifier}value 2016-02-18 00:24:20.270414500 at com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageResourceIdentifierUnmarshaller.unmarshal(StorageResourceIdentifierUnmarshaller.java:67) 2016-02-18 00:24:20.270415500 at com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageResourceIdentifierUnmarshaller.unmarshal(StorageResourceIdentifierUnmarshaller.java:47) 2016-02-18 00:24:20.270431500 at com.atlassian.confluence.content.render.xhtml.links.XhtmlOutgoingLinksExtractor.extract(XhtmlOutgoingLinksExtractor.java:112) 2016-02-18 00:24:20.270440500 at com.atlassian.confluence.links.DefaultLinkManager.updateOutgoingLinks(DefaultLinkManager.java:219) 2016-02-18 00:24:20.270441500 at sun.reflect.GeneratedMethodAccessor2226.invoke(Unknown Source) 2016-02-18 00:24:20.270441500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-02-18 00:24:20.270442500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-02-18 00:24:20.270448500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
  2. 0

    h3. Summary When importing a word document (.docx) with screenshots included, the page will not include the images, or will include broken links instead of the images. This also happens when you copy and paste all of the content from the document into a page editor. h3. Environment Tested on both Chrome and Firefox with same results. h3. Steps to Reproduce # Copy and paste images into a word document, save document # Attempt to either import the word document or copy and paste the content from the document into the page editor. The images will not appear, and a stack trace is thrown in the logs. h3. Expected Results All content including images should appear in the page. h3. Actual Results They don't, and the below exception is thrown in the xxxxxxx.log file: {code} 2016-02-18 00:24:20.270346500 -- referer: https://testing124.atlassian.net/wiki/pages/createpage.action?spaceKey=BACON&fromPageId=622616 | url: /wiki/rest/api/content | traceId: a2109114dfe34a70 | userName: efranklin 2016-02-18 00:24:20.270347500 com.atlassian.confluence.content.render.xhtml.XhtmlException: com.atlassian.confluence.content.render.xhtml.XhtmlException: Missing required attribute: {http://atlassian.com/resource/identifier}value 2016-02-18 00:24:20.270414500 at com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageResourceIdentifierUnmarshaller.unmarshal(StorageResourceIdentifierUnmarshaller.java:67) 2016-02-18 00:24:20.270415500 at com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageResourceIdentifierUnmarshaller.unmarshal(StorageResourceIdentifierUnmarshaller.java:47) 2016-02-18 00:24:20.270431500 at com.atlassian.confluence.content.render.xhtml.links.XhtmlOutgoingLinksExtractor.extract(XhtmlOutgoingLinksExtractor.java:112) 2016-02-18 00:24:20.270440500 at com.atlassian.confluence.links.DefaultLinkManager.updateOutgoingLinks(DefaultLinkManager.java:219) 2016-02-18 00:24:20.270441500 at sun.reflect.GeneratedMethodAccessor2226.invoke(Unknown Source) 2016-02-18 00:24:20.270441500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-02-18 00:24:20.270442500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-02-18 00:24:20.270448500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2016-02-18 00:24:20.270449500 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) 2016-02-18 00:24:20.270449500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) 2016-02-18 00:24:20.270450500 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) {code} h3.Workaround Copy and paste individual images into the page editor. This workaround is not ideal for documents with many images.

    Atlassian JIRA | 1 year ago | Eric Franklin [Atlassian]
    com.atlassian.confluence.content.render.xhtml.XhtmlException: com.atlassian.confluence.content.render.xhtml.XhtmlException: Missing required attribute: {http://atlassian.com/resource/identifier}value 2016-02-18 00:24:20.270414500 at com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageResourceIdentifierUnmarshaller.unmarshal(StorageResourceIdentifierUnmarshaller.java:67) 2016-02-18 00:24:20.270415500 at com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageResourceIdentifierUnmarshaller.unmarshal(StorageResourceIdentifierUnmarshaller.java:47) 2016-02-18 00:24:20.270431500 at com.atlassian.confluence.content.render.xhtml.links.XhtmlOutgoingLinksExtractor.extract(XhtmlOutgoingLinksExtractor.java:112) 2016-02-18 00:24:20.270440500 at com.atlassian.confluence.links.DefaultLinkManager.updateOutgoingLinks(DefaultLinkManager.java:219) 2016-02-18 00:24:20.270441500 at sun.reflect.GeneratedMethodAccessor2226.invoke(Unknown Source) 2016-02-18 00:24:20.270441500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-02-18 00:24:20.270442500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-02-18 00:24:20.270448500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)

    Root Cause Analysis

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

      com.atlassian.confluence.content.render.xhtml.XhtmlException: Missing required attribute: {http://atlassian.com/resource/identifier}value 2016-02-18 00:24:20.270414500 at com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageResourceIdentifierUnmarshaller.unmarshal(StorageResourceIdentifierUnmarshaller.java:67) 2016-02-18 00:24:20.270415500 at com.atlassian.confluence.content.render.xhtml.storage.resource.identifiers.StorageResourceIdentifierUnmarshaller.unmarshal(StorageResourceIdentifierUnmarshaller.java:47) 2016-02-18 00:24:20.270431500 at com.atlassian.confluence.content.render.xhtml.links.XhtmlOutgoingLinksExtractor.extract(XhtmlOutgoingLinksExtractor.java:112) 2016-02-18 00:24:20.270440500 at com.atlassian.confluence.links.DefaultLinkManager.updateOutgoingLinks(DefaultLinkManager.java:219) 2016-02-18 00:24:20.270441500 at sun.reflect.GeneratedMethodAccessor2226.invoke(Unknown Source) 2016-02-18 00:24:20.270441500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-02-18 00:24:20.270442500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-02-18 00:24:20.270448500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)

      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint()
    2. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      2 frames