JIRA Issues Macro Does Not Work When Using JIRA as Trusted Application Due to 'org.springframework.dao.IncorrectResultSizeDataAccessException' Skip to End of Metadata

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

症状

THe JIRA Issues Macro does not render results. The following appears in the atlassian-confluence.log:

2008-05-18 11:16:14,263 DEBUG [http-8040-Processor22] [sf.hibernate.type.StringType] nullSafeGet returning 'confluence:159392' as column: ALIAS .. 2008-05-18 11:16:14,315 DEBUG [http-8040-Processor22] [sf.hibernate.type.StringType] nullSafeGet returning 'confluence:159392' as column: ALIAS .. 2008-05-18 11:16:14,321 DEBUG [http-8040-Processor22] [sf.hibernate.type.StringType] nullSafeGet returning 'confluence:159392' as column: ALIAS 2008-05-18 11:16:14,324 ERROR [http-8040-Processor22] [renderer.v2.components.MacroRendererComponent] processMacro Unexpected error formatting macro: jiraissues -- url: /confluence/dwr/exec/WysiwygConverter.convertToPreview.dwr | userName: evgenyz org.springframework.dao.IncorrectResultSizeDataAccessException: Incorrect result size: expected 2, actual 3 at com.atlassian.confluence.security.persistence.dao.hibernate.HibernateKeyStoreDao.getKeyPair(HibernateKeyStoreDao.java:35)

原因

Confluence is a trusted application for itself, therefore a second public key was created. When using the JIRA Issues macro, 3 keys (instead of 2) are retrieved from the database.

ソリューション

Delete one of the public key entries in the KEYSTORE table. Start with a SELECT statement:

SELECT * FROM KEYSTORE;

Use a DELETE statement to delete the entry. If you delete too many entries, simply reset the trust in the user interface.

更新日時: September 25, 2025

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

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