NULL pointer(NULL array pointer is passed)
in function cvGetMat,C:\User\VP\opencv\cxcore\src\cxarray.cpp(2780)

こんなエラーが出るのですが、これってどこを直せばいいでしょうか?