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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by Eric Franklin [Atlassian],
  • 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.
    via by 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) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    No Bugmate found.