If thhis happens quite often , and does not depend on the media, then it is usually a dirty lens problem. The lens is dirty or scratched and sometimes cannot read CD TOC (table of content).
If this happens only on reocrded CDs , try changing the media used. For example if you used +R, try with -R.
If this happens on all media, then try cleaning the lens with a lens cleaner CD or blowing some canned air on the lens.
See: CD and DVD Lens Cleaner...