fixing null pointer exception if user has no permissions to view the job...

...s