General Exception While Processing Graphics