Invalid attempt to access a field before calling Read()