I think I misunderstood you. You meant that the getter returns null before XB invokes the setter with an empty collection as an initialization value? That's expected since null is the initial value after the instance of the class has been constructed.