Fixed problem with null application problem in log class.