Do you initialize both graphicsView and both graph (total of four) variables?