OpenCV Error: Null pointer
Hey, i am working on openfabmap project and i am trying to run that in visual studio 2008 as told in readmefile in project.i done all the step correctly but that show me error about null pointer.
i think this error is about the setting.yml file but i am not able to solve this error.
i am using opencv 2.4.9
Error is " OpenCV Error:Null pointer <null or="" empty="" buffer=""> in cvOpenFileStorage,file ........\opencv\modules\core\src\persistence.cpp, line 2697"
can you replace your screenshot with error txt, please ?
error is "OpenCV Error:Null pointer <NULL or empty buffer> in cvOpenFileStorage,file ........\opencv\modules\core\src\persistence.cpp, line 2697"
I'm also getting the same error.
OpenCV Error: Null pointer (NULL or empty buffer) in cvOpenFileStorage, file /Users/vp/work/opencv/modules/core/src/persistence.cpp, line 2665 libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /Users/vp/work/opencv/modules/core/src/persistence.cpp:2665: error: (-27) NULL or empty buffer in function cvOpenFileStorage
I experienced the same error repeatedly. Any info on how to fix it would be greatly appreciated it.
When compiling "cascadeclassifier.cpp" in the "/opencv/samples/gpu" folder on OpenCV (up-to-date master branch) with NVIDIA6.5 on XCode6.1, OSX 10.9.5, I get the following ERROR:
... OpenCV Error: Null pointer (NULL or empty buffer) in cvOpenFileStorage, file .../src/persistence.cpp, line 2665 libc++abi.dylib: terminating with uncaught exception of type cv::Exception: .../src/persistence.cpp:2665: error: (-27) NULL or empty buffer in function cvOpenFileStorage
In contrast, non-CUDA face detection code loads XML files (defined as "const String filename") without ERROR and CUDA sample "morphology.cpp" builds/runs perfectly fine (no errors).