From 54c4427e4741aff5076e0c0942873992d76407e6 Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Mon, 30 Mar 2020 11:07:33 -0400 Subject: [PATCH] 6204 adding null check to prevent NPE during time filtering of geo data --- .../sleuthkit/autopsy/geolocation/AbstractWaypointFetcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/geolocation/AbstractWaypointFetcher.java b/Core/src/org/sleuthkit/autopsy/geolocation/AbstractWaypointFetcher.java index a662b410e6..590b0f40a0 100755 --- a/Core/src/org/sleuthkit/autopsy/geolocation/AbstractWaypointFetcher.java +++ b/Core/src/org/sleuthkit/autopsy/geolocation/AbstractWaypointFetcher.java @@ -217,7 +217,7 @@ abstract class AbstractWaypointFetcher implements WaypointBuilder.WaypointFilter for (Track track : tracks) { if (mostRecent == null) { mostRecent = track.getStartTime(); - } else { + } else if (track.getStartTime() != null) { mostRecent = Math.max(mostRecent, track.getStartTime()); } }