Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1178

ClassCastException in HierarchyManager

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.26.10, 2.28.00
    • None
    • None

    Description

      StampedeTest sometimes fails on this error:

      java.lang.ClassCastException: org.apache.jackrabbit.core.id.NodeId cannot be cast to org.apache.jackrabbit.core.id.PropertyId
      at org.apache.jackrabbit.core.HierarchyManagerImpl.resolvePropertyPath(HierarchyManagerImpl.java:386)
      at org.hippoecm.repository.jackrabbit.HippoHierarchyManager.resolvePath(HippoHierarchyManager.java:149)
      at org.hippoecm.repository.jackrabbit.HippoHierarchyManager.resolvePropertyPath(HippoHierarchyManager.java:99)
      at org.hippoecm.repository.security.HippoAccessManager.getNodeId(HippoAccessManager.java:1085)
      at org.hippoecm.repository.security.HippoAccessManager.hasPrivileges(HippoAccessManager.java:1471)
      at org.hippoecm.repository.security.HippoAccessManager.isGranted(HippoAccessManager.java:440)
      at org.apache.jackrabbit.core.ItemSaveOperation.validateTransientItems(ItemSaveOperation.java:467)
      at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:216)
      at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
      at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
      at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329)
      at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:65)
      at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
      at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:365)
      at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:816)
      at org.hippoecm.repository.decorating.SessionDecorator.save(SessionDecorator.java:192)
      at org.hippoecm.repository.impl.SessionDecorator.save(SessionDecorator.java:178)
      at org.hippoecm.repository.standardworkflow.FolderWorkflowImpl.add(FolderWorkflowImpl.java:364)
      at org.hippoecm.repository.standardworkflow.FolderWorkflowImpl.add(FolderWorkflowImpl.java:286)

      Attachments

        Activity

          People

            uhommes Unico Hommes (Inactive)
            uhommes Unico Hommes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: