Redefined class in stack trace may not be found by method_idnum so handle null. Reviewed-by: coleenp, dcubed, sspitsyn
Reviewed-by: sspitsyn, coleenp