This is weird to me because It didn't happen to me when I worked with my previous Adobe Photoshop CS3, but here the CC gave me this problem.
1- Use the "Q" button tool on your keyboard >> press "Windows button + D" in order to release from the alpha that tie you from the ability to select the certain layer working with your Photoshop design application.
2- After completing the step 1 you can now working on the layer again without any barrier or error message occur. Do it the same if anything like this happen to you again. Hope it helps!