Unable to preview Office files on a Confluence page

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

要約

Unable to preview the Office files added as an attachment on a Confluence page due to sandbox crashed error message.

環境

Confluence Data Center 8.5.6.

診断

  • While previewing the Office files added as an attachment on the Confluence page, a Sandbox crashed error message is observed in the application logs(atlassian-confluence.log):
2024-03-11 10:26:01,785 ERROR [http-nio-8090-exec-2 url: /rest/office/1.0/view; user: *****] [com.benryan.rest.ConverterMacroResource] getContent Sandbox has crashed while serving the request
 -- url: /rest/office/1.0/view | userName: ***** | referer: https://CONFLUENCE_BASE_URL/display/Page_Title | traceId: f6adf8eb17c46715 


  • With enhanced logging for the Sandbox, an error message similar to the one below can be observed in the application logs (atlassian-confluence.log) despite the locale settings (-Duser.language=en -Duser.country=US) added to the JVM parameters in the System properties
"com.aspose.slides.exceptions.ArgumentException: Culture Name: en-DK is not a supported culture"


  • Traces similar to the following can be found in the logs atlassian-confluence.log.
2024-03-12 07:56:38,045 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: Exception in thread \"main\" java.lang.ExceptionInInitializerError
2024-03-12 07:56:38,045 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: \tat com.aspose.slides.FontsLoader.do(Unknown Source)
2024-03-12 07:56:38,045 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: \tat com.aspose.slides.FontsLoader.loadExternalFonts(Unknown Source)
2024-03-12 07:56:38,046 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: \tat com.atlassian.plugins.conversion.AsposeUtils.configureFonts(AsposeUtils.java:142)
2024-03-12 07:56:38,046 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: \tat com.atlassian.plugins.conversion.AsposeAware.<clinit>(AsposeAware.java:13)
2024-03-12 07:56:38,046 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: \tat com.atlassian.plugins.conversion.sandbox.html.SandboxHtmlConversionTask.apply(SandboxHtmlConversionTask.java:30)
2024-03-12 07:56:38,046 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: \tat com.atlassian.plugins.conversion.sandbox.html.SandboxHtmlConversionTask.apply(SandboxHtmlConversionTask.java:19)
2024-03-12 07:56:38,046 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: \tat com.atlassian.confluence.impl.util.sandbox.SandboxServerWorker.processNextMessage(SandboxServerWorker.java:53)
2024-03-12 07:56:38,046 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: \tat com.atlassian.confluence.impl.util.sandbox.SandboxServer.run(SandboxServer.java:36)
2024-03-12 07:56:38,046 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: \tat com.atlassian.confluence.impl.util.sandbox.SandboxServer.main(SandboxServer.java:56)
2024-03-12 07:56:38,046 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: Caused by: class com.aspose.slides.exceptions.ArgumentException: Culture Name: en-DK is not a supported culture
2024-03-12 07:56:38,046 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: com.aspose.slides.internal.fw.if.for(Unknown Source)
2024-03-12 07:56:38,047 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: com.aspose.slides.internal.fw.if.<init>(Unknown Source)
2024-03-12 07:56:38,047 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: com.aspose.slides.internal.fw.if.do(Unknown Source)
2024-03-12 07:56:38,047 INFO [sandbox-logger] [impl.util.sandbox.ConversionSandbox] lambda$buildConfig$0 worker0: com.aspose.slides.internal.gj.char.try(Unknown Source)

原因

  • The issue can be due to a corrupted plugin cache.

ソリューション

最終更新日 2024 年 8 月 22 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.