digital camera with interchangeable lens system does not display an aperture reading, and in some cases this also results in failure of the camera to fire
this is caused by loss of electronic connection between the camera and lens
obviously, if the lens does not have electronic contacts or is not designed for the camera and you are using a mount adapter that does not transfer the electronic signal then the camera will not be able to detect the lens aperture
for other lenses, the issue is a problem with the contacts