throw exception if value is null
throw exception if node for subprojection is null