With this PR, raw2ometiff --version should work again and the test added in 1bae732 should pass. To make sure the test would have caught this problem, check out this PR's branch locally and revert 7e0692c, then run ./gradlew clean build and make sure testVersionOnly fails.
@muhanadz noticed that
raw2ometiff --version
throws aNullPointerException
and does not print the version. This problem was introduced in https://github.com/glencoesoftware/raw2ometiff/pull/65.With this PR,
raw2ometiff --version
should work again and the test added in 1bae732 should pass. To make sure the test would have caught this problem, check out this PR's branch locally and revert 7e0692c, then run./gradlew clean build
and make suretestVersionOnly
fails.