Notification Null pointer exception error solved. Problem in path and fetching id from session missing code.