Structure Gadget Macro Fails to Load on Confluence Page

お困りですか?

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

コミュニティに質問

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

    

要約

Attempting to insert a Structure Gadget into a Confluence page results in an internal server error and failure to render the macro successfully.

環境

Confluence integrated with Jira

診断

The following stack trace will appear in the logs when attempting to add the Structure Gadget to a Confluence page. 

atlassian-confluence.log
2020-01-17 02:58:41,874 https-jsse-nio-8443-exec-62 url:/rest/structure/2.0/value username:admi ERROR AE06290 178x6727045x1 admin 127.0.0.1 /rest/structure/2.0/value [c.a.s.commons.rest.StructureRestInterceptor] [Structure REST API] error when calling POST /value ?={"jobId":null,"requests":[{"forestSpec":{"structureId":81211,"version":null,"...
com.almworks.jira.structure.api.error.StructureRuntimeException: com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.activeobjects.internal.ActiveObjectsInitException: bundle [com.almworks.jira.structure]
	at com.almworks.structure.commons.platform.ClusterSyncToolsFactory$AtlassianCacheAdapter.get(ClusterSyncToolsFactory.java:209)
	at com.almworks.structure.commons.platform.LazilyCreatedCache.get(LazilyCreatedCache.java:23)
	at com.almworks.jira.structure.structure.AOBasedStructureManager.getStructureBeanOrNull(AOBasedStructureManager.java:686)
	at com.almworks.jira.structure.structure.AOBasedStructureManager.getStructurePermission(AOBasedStructureManager.java:433)

Conversely, the following stack trace may be seen from the Jira logs indicating problems loading plugin code from ActiveObjects bundle Jira Structure: 

atlassian-jira.log
2020-01-23 00:48:21,643 https-jsse-nio-8443-exec-48 WARN admin 48x7570858x1 1g77v0l 127.0.0.1 / [c.atlassian.ozymandias.SafePluginPointAccess] Unable to run plugin code because of 'com.almworks.jira.structure.api.error.StructureRuntimeException - com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.activeobjects.internal.ActiveObjectsInitException: bundle [com.almworks.jira.structure]'


原因

This problem can be caused by corrupted plugin cache on the Jira side. When this happens, the system may not be able to render the Structure Gadget plugin code as expected and the failure is seen on the front end. 

ソリューション

Restart the affected Jira node and retest the behavior. 

最終更新日: 2020 年 2 月 4 日

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

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