Dashboard tabs are not shown due to IndexOutOfBoundsException error
プラットフォームについて: 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 Confluence dashboard shows an error and none of the tabs are shown. Usually, this error only occurs to one or a specific number of users. Here's the screenshot for the error:

atlassian-confluence.log に次のエラーが返される。
2012-07-26 11:30:29,914 ERROR [http-8088-4] [renderer.v2.components.MacroRendererComponent] processMacro Unexpected error formatting macro: recently-updated-dashboard
-- url: /dashboard.action | userName: admin | referer: http://localhost:8042 | action: dashboard
java.lang.IndexOutOfBoundsException: index (0) must be less than size (0)
at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:301)
at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:280)
at com.google.common.collect.EmptyImmutableList.get(EmptyImmutableList.java:106)
at com.atlassian.confluence.plugins.macros.dashboard.SpaceCategoryTab.getSpaceFilter(SpaceCategoryTab.java:102)
at com.atlassian.confluence.plugins.macros.dashboard.SpaceCategoryTab.getQueryParameters(SpaceCategoryTab.java:69)
at com.atlassian.confluence.plugins.macros.dashboard.RecentlyUpdatedContentMacro.execute(RecentlyUpdatedContentMacro.java:85)
at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:51)
at com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:203)
at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:169)
at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:67)
....原因
This error is most probably occurred after removing some contents (e.g. pages or spaces), however, we are still unclear why exactly this error is thrown.
回避策
Log into Confluence as a user whose dashboard has this error and then manually enter this URL on your browser: <confluence-url>/dashboard.action?updatesSelectedTab=all
この内容はお役に立ちましたか?