Hi,
I created a Repository Manager by implementing
com.sap.netweaver.bc.rf.mi.AbstractManager
. When I copy a document from outside like /etc to my RM, createResource() in my NamespaceManager is called. However, when I try to copy a folder from /etc into my RM, a NullPointerException is thrown, and from the log, createResource() is not called. I am confused about this. What should I do to copy a folder into my RM?
More stacktrace is:
ava.lang.NullPointerException
at com.sapportals.wcm.repository.CollectionImpl.internalCopy(CollectionImpl.java:1268)
at com.sapportals.wcm.repository.ResourceImpl.copy(ResourceImpl.java:2019)
at com.sapportals.wcm.repository.ResourceImpl.copy(ResourceImpl.java:1992)
at com.sapportals.wcm.rfadapter.CopyUtility.copy(CopyUtility.java:116)
at com.sapportals.wcm.rendering.uicommand.cm.CopyUtil.singleNewCopy(CopyUtil.java:96)
Thanks,
Ray