Fixed null ptr exception in course mapper server