fix NPE in Locator.hashCode()
Merge pull request #153 from gdusbabek/avoid_null_in_locator_hashcode

fix NPE in Locator.hashCode()