Fix JENKINS-16919

Fixed NPE by checking return of the getters for the SendFailedException.