I had a similar problem. It was because I was using a third party program to change my screen brightness. 100% brightness in a third party app is actually more than 100% to the phone. This confuses the camera app, which checks the brightness level. To fix this, use your other app to set the brightness below 90%.
I also found that the built in brightness screen was force closing on me when I had this problem.