Dashboard tabs are not shown due to IndexOutOfBoundsException error

お困りですか?

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

コミュニティに質問

症状

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

Last modified on Mar 30, 2016

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

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