java.lang.ClassCastException: com.atlassian.confluence.pages.Comment cannot be cast to com.atlassian.confluence.core.SpaceContentEntityObject

Atlassian JIRA | Shannon Krebs | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.atlassian.confluence.pages.Comment cannot be cast to com.atlassian.confluence.core.SpaceContentEntityObject

      at com.atlassian.confluence.util.SelfPageLinkRenamingBean.<init>()
    2. com.atlassian.confluence
      DefaultLinkManager.getSelfContentWithRenamedLinks
      1. com.atlassian.confluence.util.SelfPageLinkRenamingBean.<init>(SelfPageLinkRenamingBean.java:15)
      2. com.atlassian.confluence.links.DefaultLinkManager.getSelfContentWithRenamedLinks(DefaultLinkManager.java:102)
      2 frames
    3. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2 frames