AnsweredAssumed Answered

CMLCreate fails

Question asked by cburghardt on Oct 9, 2006
Latest reply on Oct 19, 2006 by cburghardt
I have Alfresco 1.3 and my own model. The following code throws an exception:
CMLCreate create = new CMLCreate(name, parentReference, "", props);
            CML cml = new CML();
            cml.setCreate(new CMLCreate[]{create});
            // create the node without content
            UpdateResult[] result = repositoryService.update(cml);

The NamedValue[] include the properties of my own model.
The error message:

22:55:41,280 ERROR [org.apache.axis.encoding.ser.BeanSerializer] Exception: Non nillable element 'message1' is null.
   at org.apache.axis.encoding.ser.BeanSerializer.serialize(
   at org.apache.axis.encoding.SerializationContext.serializeActual(
   at org.apache.axis.encoding.SerializationContext.serialize(
   at org.apache.axis.encoding.SerializationContext.serialize(
   at org.alfresco.repo.webservice.repository.RepositoryFault.writeDetails(