Basic Rest Call gets 'Internal server error'

お困りですか?

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

コミュニティに質問

プラットフォームについて: 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 は除く

 

問題

Basic Rest Call to JIRA such as view issue fails with 'Internal Server error' thrown in the REST response

 

{
"errorMessages": [1]
0: "Internal server error"
-
"errors": {}
}

 

The following appears in the atlassian-jira.log

2016-04-07 11:57:38,314 ajp-nio-8009-exec-1 ERROR rdem 717x23x3 2gh1ij 192.168.3.178 /rest/api/2/issue/ITSUPPORT-2113 [c.a.j.rest.exception.ExceptionInterceptor] Returning internal server error in response
java.lang.reflect.InvocationTargetException

Caused by: java.lang.NoSuchMethodError: com.atlassian.jira.ComponentManager.getCustomFieldManager()Lcom/atlassian/jira/issue/CustomFieldManager;
	at com.ja.jira.plugin.report.riskmanagement.RiskCalculatedCustomField.getCustomFieldManager(RiskCalculatedCustomField.java:142)
	at com.ja.jira.plugin.report.riskmanagement.RiskCalculatedCustomField.getValue(RiskCalculatedCustomField.java:100)
	at com.ja.jira.plugin.report.riskmanagement.RiskCalculatedCustomField.getValueFromIssue(RiskCalculatedCustomField.java:85)
	at com.atlassian.jira.issue.fields.CustomFieldImpl.getJsonFromIssue(CustomFieldImpl.java:1927)

診断

環境

  • Recently upgraded from JIRA v6.x to JIRA v7

Diagnostic Steps

原因

From the stacktrace, 

com.ja.jira.plugin.report.riskmanagement.RiskCalculatedCustomField.getCustomFieldManager(RiskCalculatedCustomField.java:142)
  • This shown that the Risk Management Plugin is the one that causing the NoSuchMethodError. This is due to compatibility issue on the new JIRA

ソリューション

Remove this plugin and contact the developer of Risk Management Plugin accordingly as this is a third party plugin:

 

最終更新日 2016 年 5 月 2 日

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

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