Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-4575

rmi client item is neither node nor property

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • r2.17.00
    • None
    • None

    Description

      In the repositorymapimpl, the following code (lines 355 - 358):

      if (found.isNode())

      { return new RepositoryMapImpl((Node)found); }

      else {
      Property property = (Property)found;

      lead to

      java.lang.ClassCastException: org.apache.jackrabbit.rmi.client.ClientItem cannot be cast to javax.jcr.Property
      at org.hippoecm.repository.RepositoryMapImpl.get(RepositoryMapImpl.java:358)
      at org.hippoecm.repository.RepositoryMapTest.testMapProperty(RepositoryMapTest.java:76)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      in the repositorymaptest.

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            fvlankvelt Frank van Lankvelt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: