Prepare error report when null encountered in queryColumn