Hi,

when I try to copy the content of a DocumentModel to an other using method 
copyContent() I get the following exception. The schemas in the DocumentModel 
are the basic ones (dublincore, uid, file) and a custom one containing only a 
string.

Kr.


java.lang.NullPointerException
        at 
org.nuxeo.ecm.core.api.impl.DocumentModelImpl.cloneField(DocumentModelImpl.java:1177)
        at 
org.nuxeo.ecm.core.api.impl.DocumentModelImpl.cloneDataModel(DocumentModelImpl.java:1212)
        at 
org.nuxeo.ecm.core.api.impl.DocumentModelImpl.cloneDataModel(DocumentModelImpl.java:1220)
        at 
org.nuxeo.ecm.core.api.impl.DocumentModelImpl.copyContent(DocumentModelImpl.java:1144)
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to