Inserting JIRA chart into Confluence Page results in a ResponseException and chart does not display

お困りですか?

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

コミュニティに質問

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

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

An error, 'com.atlassian.sal.api.net.ResponseException: Can not retrieve jira chart image' displays when: 

  • Inserting a JIRA Chart into a Confluence page
  • Viewing a page with an embedded JIRA chart

The following appears on the Confluence page where the chart was inserted or in the 'Insert JIRA Chart' Preview pane.   

com.atlassian.sal.api.net.ResponseException: Can not retrieve jira chart image

One of the following errors appears in the atlassian-jira.log:

/rest/gadget/1.0/createdVsResolved/generate [
c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Error generating chart
java.lang.RuntimeException: Error generating chart
        at com.atlassian.jira.charts.CreatedVsResolvedChart.generateChartInternal(CreatedVsResolvedChart.java:232)
        ...
Caused by: java.io.IOException: No such file or directory
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
      

または

/rest/gadget/1.0/piechart/generate [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Error generating pie chart
java.lang.RuntimeException: Error generating pie chart
...
Caused by: java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively


診断

環境

  • Jira Data Center

原因

A required folder, caches, is missing from the JIRA Shared Home directory or has the wrong permissions. 

回避策

Create a folder called 'caches' in the JIRA Shared Home directory and make sure that directory can be read and written by other nodes. If the folder already exists, check the permissions to ensure the Jira user has read/write permissions. 


最終更新日: 2019 年 1 月 14 日

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

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