If it came back COMPLETELY BLACK, you either had a defective film (already exposed before it got to you), you made a handing error (I'm guessing here), you had a massive light leak on your camera (unlikely), or the processor screwed up and didn't tell you. (I don't know so I'm guessing here, too)

It takes a lot to make a frame or two completely black. Something seriously wrong happened for whatever the reason. I really don't think it has anything to do with the lighting condition, unless you were shooting directly into a strong light source.

Has it ever happened to you with different film? If not, I'd be doubting the film first.