// Need to initialise the collection eagerly...
node.getFormatIdentifications().size();
} else {
node = new ProfileResourceNode(uri);
node.setFinished(new Date());
final NodeMetaData metaData = node.getMetaData();
metaData.setNodeStatus(getNodeStatus(e.getErrorType()));
metaData.setResourceType(ResourceType.FILE);
node.setNoFormatsIdentified();
RequestMetaData requestMetaData = request.getRequestMetaData();
metaData.setName(requestMetaData.getName());
metaData.setSize(requestMetaData.getSize());
metaData.setExtension(request.getExtension());
metaData.setLastModified(request.getRequestMetaData().getTime());
metaData.setHash(requestMetaData.getHash());
node.addFormatIdentification(Format.NULL);
setNodeIds(node, identifier.getParentResourceId());
}
batchNode(node);