header photo

Blog posts : "null"

Solution for NullReferenceException

February 28, 2013

So, i checked the comments many readers posted and 've been getting this complaint  A LOT from MANY users, where most say something like this:

"I am having a NullRefrenceException error during runtime and the block of code it point to is below:

var faces =
grayframe.DetectHaarCascade(haar, 1.4, 4,
HAAR_DETECTION_TYPE.DO_CANNY_PRUNING,
new Size(25, 25))[0]; "

Part of the solution to a problem is understanding what the problem is.
                                                                                                                       - by Mahvish, The Great :P…

Read more

1 blog post