title: OpenCV Error: Assertion failed (channels() == CV_MAT_CN (dtype))
body: <p>I'm having a lot of time trying to get solve this problem. This is the following error in my log file (Android)</p>
  
  <pre><code>error()﹕ OpenCV Error: Assertion failed (channels() == CV_MAT_CN(dtype)) in void cv::Mat::copyTo(cv::OutputArray) const, file /home/reports/ci/slave_desktop/50-SDK/opencv/modules/core/src/copy.cpp, line 212
  </code></pre>
  
  <p>I'm totally stumped. The Java code passes in the long values generated from the .getNativeObjAddr() calls.</p>
  
  <p>Does anyone know about this error? I cannot trace the error(jni c++) in android.</p>