子ページを取得するための REST API 呼び出しによって、"AopInvocationException" と "ClassCastException" が発生する
プラットフォームについて: 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 は除く
要約
症状
GET requests to certain REST API resource such as http://<YOURCONFLUENCEURL>/rest/api/content/51234822/child/page results in a 500 error:
{"statusCode":500,"message":"org.springframework.aop.AopInvocationException:
AOP configuration seems to be invalid: tried calling method [public
abstract com.atlassian.confluence.api.model.pagination.PageResponse
com.atlassian.confluence.internal.pages.PageManagerInternal.getChildren(com.atlassian.confluence.pages.Page,com.atlassian.confluence.api.model.pagination.LimitedRequest,com.atlassian.confluence.api.model.Depth)]
on target
[com.adaptavist.confluence.enterpriseNotifications.DelegatingPageManager@1735b136];
nested exception is java.lang.IllegalArgumentException:
java.lang.ClassCastException@43bd83c4"}
atlassian-confluence.log に次のエラーが返される。
org.springframework.aop.AopInvocationException: AOP configuration seems to be invalid: tried calling method [public abstract com.atlassian.confluence.api.model.pagination.PageResponse com.atlassian.confluence.internal.pages.PageManagerInternal.getChildren(com.atlassian.confluence.pages.Page,com.atlassian.confluence.api.model.pagination.LimitedRequest,com.atlassian.confluence.api.model.Depth)] on target [com.adaptavist.confluence.enterpriseNotifications.DelegatingPageManager@6c08365f]; nested exception is java.lang.IllegalArgumentException: java.lang.ClassCastException@7830e32
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:315)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
診断
Try to identify the class that is causing this issue. In the case above, it would be this:
on target [com.adaptavist.confluence.enterpriseNotifications.DelegatingPageManager@6c08365f]原因
Third party add-ons with their deployment of PageManager conflicting with Confluence's PageManager. In the example above, it would be the Adaptavist Enterprise Notifications add-on.
ソリューション
ソリューション
Disable the said add-on via
Confluence Admin >> Manage Add-Ons.You should also contact the add-on's vendor to get support regarding this issue, since third party add-ons are not supported via Atlassian Support
この内容はお役に立ちましたか?