Added a null check to client processor.