From ff68c8855bc6983638db5102ffbc6822b83edb5d Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 25 Sep 2019 13:10:36 -0700 Subject: telegps: Get --graph mode working after recent changes Was just exiting due to a null pointer exception caused by mis-ordered setup of the map data. Also using stale API. Signed-off-by: Keith Packard --- telegps/TeleGPS.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'telegps/TeleGPS.java') diff --git a/telegps/TeleGPS.java b/telegps/TeleGPS.java index af6d01b4..5df47202 100644 --- a/telegps/TeleGPS.java +++ b/telegps/TeleGPS.java @@ -650,7 +650,10 @@ public class TeleGPS } try { new TeleGPSGraphUI(set, file); - } catch (Exception e) { + } catch (IOException e) { + System.out.printf("Exception %s\n", e.toString()); + } catch (InterruptedException e) { + System.out.printf("Exception %s\n", e.toString()); return false; } return true; -- cgit v1.2.3