What is on line 27 of BCRouge.cpp?
You probably need a nullptr check before trying to access a memory address.