Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
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.