java.lang.ClassCastException

java.util.LinkedHashMap cannot be cast to java.util.List @4000000056a038e823744564 at com.atlassian.confluence.content.apisupport.ContentCreator.setLabelsMetadataOnEntity(ContentCreator.java:219) @4000000056a038e82374705c at com.atlassian.confluence.content.apisupport.ContentCreator.setCommonMetadata(ContentCreator.java:296) @4000000056a038e82374705c at com.atlassian.confluence.api.impl.service.content.typebinding.PageContentTypeApiSupport.update(PageContentTypeApiSupport.java:154) @4000000056a038e823747444 at com.atlassian.confluence.api.impl.service.content.typebinding.PageContentTypeApiSupport.update(PageContentTypeApiSupport.java:42) @4000000056a038e823747c14 at com.atlassian.confluence.api.impl.service.content.ContentServiceImpl.updateUsingApiSupport(ContentServiceImpl.java:108) @4000000056a038e823747c14 at com.atlassian.confluence.api.impl.service.content.ContentServiceImpl.update(ContentServiceImpl.java:145) @4000000056a038e823748bb4 at sun.reflect.GeneratedMethodAccessor1997.invoke(Unknown Source) @4000000056a038e823748bb4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) @4000000056a038e823748f9c at java.lang.reflect.Method.invoke(Method.java:497) @4000000056a038e823748f9c at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @4000000056a038e82374976c at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @4000000056a038e82374976c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @4000000056a038e823749b54 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @4000000056a038e823749f3c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19309

  • via Atlassian JIRA by Ran Ding [Atlassian], 11 months ago
    sun.reflect.GeneratedMethodAccessor1997.invoke(Unknown Source) @4000000056a038e823748bb4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) @4000000056a038e823748f9c at java.lang.reflect.Method.invoke(Method.java:497) @4000000056a038e823748f9c
  • via Atlassian JIRA by Ran Ding [Atlassian], 1 year ago
    sun.reflect.GeneratedMethodAccessor1997.invoke(Unknown Source) @4000000056a038e823748bb4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) @4000000056a038e823748f9c at java.lang.reflect.Method.invoke(Method.java:497) @4000000056a038e823748f9c
  • via Atlassian JIRA by Dave Loeng [Atlassian], 1 year ago
    sun.reflect.GeneratedMethodAccessor910.invoke(Unknown Source) @40000000535d9e771d890af4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @40000000535d9e771d890edc at java.lang.reflect.Method.invoke(Method.java:597) @40000000535d9e771d8916ac
  • Stack trace

    • java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.util.List @4000000056a038e823744564 at com.atlassian.confluence.content.apisupport.ContentCreator.setLabelsMetadataOnEntity(ContentCreator.java:219) @4000000056a038e82374705c at com.atlassian.confluence.content.apisupport.ContentCreator.setCommonMetadata(ContentCreator.java:296) @4000000056a038e82374705c at com.atlassian.confluence.api.impl.service.content.typebinding.PageContentTypeApiSupport.update(PageContentTypeApiSupport.java:154) @4000000056a038e823747444 at com.atlassian.confluence.api.impl.service.content.typebinding.PageContentTypeApiSupport.update(PageContentTypeApiSupport.java:42) @4000000056a038e823747c14 at com.atlassian.confluence.api.impl.service.content.ContentServiceImpl.updateUsingApiSupport(ContentServiceImpl.java:108) @4000000056a038e823747c14 at com.atlassian.confluence.api.impl.service.content.ContentServiceImpl.update(ContentServiceImpl.java:145) @4000000056a038e823748bb4 at sun.reflect.GeneratedMethodAccessor1997.invoke(Unknown Source) @4000000056a038e823748bb4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) @4000000056a038e823748f9c at java.lang.reflect.Method.invoke(Method.java:497) @4000000056a038e823748f9c at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) @4000000056a038e82374976c at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) @4000000056a038e82374976c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) @4000000056a038e823749b54 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) @4000000056a038e823749f3c at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy143.update(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.