This is a known bug, I'll provide a fix soon.

Florent

On 8 Apr 2008, at 17:42, [EMAIL PROTECTED] wrote:
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)

--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87



_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to