Implement checking for NPE in Process implementation before other conditions Reviewed-by: martin, chegar