Stream object cannot be read because it is empty, or the current position is at the end of the stream. For non-empty streams, ...