A study of the evolutionary state of the cluster 1138−262 on the basis of Hα, Lyα and X-ray emitters and extremely red objects