The more I work with SF I find myself entering code testing the BO.Count > 0 to prevent errors like this:
I wonder if this type of error could be eliminated by the BO itself, instead of we having to keep testing all over for the BO.Count > 0?
I have not checked the BO source code but is there a reason why the BO gracefully does not take care of this instead of throwing an error?