Office macros (word, excel, powerpoint) fail to display, show broken links instead
症状
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:
原因
This is caused by a corruption in the Office Connector plugin's (which supplies the Office Word, Office Excel and Office Powerpoint macros) cache.
ソリューション
Clear out the Office Connector's cache. To do so:
- Confluence をシャットダウンします。
- Confluence を実行しているユーザーに confluence-home ディレクトリへの完全な読み取り / 書き込み権限が割り当てられていることを確認します。
- Remove the following directory:
<confluence-home>/viewfile
- Confluence を起動します。
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.