errorjava.lang.IllegalArgumentException: duplicate key

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

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

*Fisheye および Crucible は除く

症状

Requests to FishEye from

JIRA raises errors in FishEye's error log:

2012-01-13 11:57:16,057 ERROR [btpool0-21 ] com.sun.jersey.server.impl.application.WebApplicationImpl com.sun.jersey.server.impl.application.WebApplicationImpl-onException - Internal server errorjava.lang.IllegalArgumentException: duplicate key: YYY at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:62) at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:212) at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:198) at com.google.common.collect.Maps.uniqueIndex(Maps.java:476)

原因

The problem happens when both Fisheye and Crucible have a repository and a project with the same key.

ソリューション

As a quick workaround, we recommend having the Crucible project prefixed with "CR-". So if your Fisheye repository is YYY, your Crucible project should be CR-YYY to easily distinguish one over the other.

Alternatively, upgrading to Fisheye 2.7.10 or above would also fix this situation.

更新日時: September 25, 2025

さらにヘルプが必要ですか?

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