Checking for null like FindClass().