msteiger/jxmapviewer2 — pull request #12 by cyberpython (2013-07-28 12:34:25+00:00)
Title: Check that prev is not null to avoid NPE.

In some cases prev is set to null which causes NPEs - added a check to verify that prev is not null before using its value.