Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.0
-
None
Description
In method org.apache.jackrabbit.rmi.value.SerialValueFactory#createValue a NPE is thrown when parameter value is null.
Solution:
Change:
public final Value createValue(Node value) throws RepositoryException
{ return createValue(value.getUUID(), PropertyType.REFERENCE); }to
public final Value createValue(Node value) throws RepositoryException {
if (value == null)
return createValue(value.getUUID(), PropertyType.REFERENCE);
}