Office macros (word, excel, powerpoint) fail to display, show broken links instead

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following appears in the atlassian-confluence.log:

2015-03-02 22:25:15,471 WARN [http-bio-8090-exec-6] [com.benryan.conversion.FileBackedCache] get Failed to read file C:\Confluence-Home\viewfile\attachment-v1: com.benryan.conversion.HtmlConversionData; local class incompatible: stream classdesc serialVersionUID = -3789206518463332512, local class serialVersionUID = 8821999123545860133
 -- referer: http://testinstance/pages/worddav/preview.action?fileName=TestFile.xlsx&pageId=41414141	 | url: /plugins/servlet/benryanconversion | userName: raistlin
java.io.InvalidClassException: com.benryan.conversion.HtmlConversionData; local class incompatible: stream classdesc serialVersionUID = -3789206518463332512, local class serialVersionUID = 8821999123545860133
    at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at com.benryan.conversion.FileBackedCache.get(FileBackedCache.java:53)
    at com.benryan.components.AbstractConversionCacheManager.getFromCache(AbstractConversionCacheManager.java:87)
    at com.benryan.components.DefaultHtmlCacheManager.getHtmlConversionData(DefaultHtmlCacheManager.java:11)
    at com.benryan.conversion.HtmlImageServlet.getHtmlConvertionData(HtmlImageServlet.java:79)

The office macro will appear with the following broken link graphic:

Cause

This is caused by a corruption in the Office Connector plugin's (which supplies the Office Word, Office Excel and Office Powerpoint macros) cache.

Resolution

Clear out the Office Connector's cache. To do so:

  1. Shutdown Confluence
  2. Ensure the user running Confluence has full read/write privileges to the confluence-home directory.
  3. Remove the following directory:
    • <confluence-home>/viewfile
  4. Start Confluence

 

 

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.