logo separator

[mkgmap-dev] Commit: r3335: Prevent a possible NullPointerException is house number generator

From svn commit svn at mkgmap.org.uk on Wed Sep 3 21:22:48 BST 2014

Version mkgmap-r3335 was committed by wanmil on Wed, 03 Sep 2014

Prevent a possible NullPointerException is house number generator

I could not reproduce the exception reported on the german OSM forum. But the check is required in any case. If an empty way is used as HousenumberMatch the getLocation() returns null which is not catched. Now use only elements that have getLocation() !=  null. Issue an error message in such a case.


More information about the mkgmap-dev mailing list