Problem seems related to TxXMLFileDesctriptorsStore.retrieveObject, it
tries to call AbstractXMLResourceDescriptor.retrieveObject which has a
null-reference to ObjectNode 'object'.
How does one fix this without breaking something else?
TxXMLFileDesctriptorsStore
============
public ObjectNode retrieveObject(Uri uri) throws
ServiceAccessException, ObjectNotFoundException {
XMLResourceDescriptor xfd = getFileDescriptor(uri);
//here tries to retrieveObject, which is
AbstractXMLDesctriptor.retrieveObject().
ObjectNode object = xfd.retrieveObject();
return object;
}
=================
AbstractXMLResourceDescriptor
=============================
...
/** Stored object.*/
protected ObjectNode object;
...
protected void init() throws ServiceAccessException {
// need to set this null, as
AbstractUriProperties.retrieveObject relies on it
object = null;
permissions = new Vector();
locks = new Vector();
revisionDescriptors =
new NodeRevisionDescriptors(uri, null, new Hashtable(), new
Hashtable(), new Hashtable(), false);
descriptor = new Hashtable();
}
...
public ObjectNode retrieveObject() throws ServiceAccessException,
ObjectNotFoundException {
if (object == null) {
throw new ObjectNotFoundException(uri);
}
return object.cloneObject();
}
==================================
-D
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]