Fix null pointer access.

Also remove the now unused second constructor of
NoSuchLogVersionException and fix wording in remaining constructor.
Merge pull request #1131 from jotomo/npe-fix

Fix null pointer access.