on 09-24-2007 1:05 PM
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
What server version are you using here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ray - okay, we'll need a little more information in order to be able to help you. I can suggest that if you contact my via email (address is in my SDN business card) and give me your source code, I can have a look.
The internal code path for these calls is a little complicated.
In general, this operation will go back to the namespace manager. Perhaps the createCollection() call is returning null. <b>Have you tried using the debugger</b>?
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.