From 82af50334cd77a73a455280c0ad17e52531fefb2 Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Wed, 15 May 2019 15:49:56 +0200 Subject: [PATCH] Startup --- devices/CurrentCamera.properties | 2 +- plugins/ScreenPanel4.java | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/devices/CurrentCamera.properties b/devices/CurrentCamera.properties index 1edac3c..e423501 100755 --- a/devices/CurrentCamera.properties +++ b/devices/CurrentCamera.properties @@ -1,4 +1,4 @@ -#Thu Apr 18 16:34:09 CEST 2019 +#Mon May 06 16:47:41 CEST 2019 colormap=Temperature colormapAutomatic=true colormapLogarithmic=false diff --git a/plugins/ScreenPanel4.java b/plugins/ScreenPanel4.java index 2b984e4..8221338 100644 --- a/plugins/ScreenPanel4.java +++ b/plugins/ScreenPanel4.java @@ -2399,7 +2399,11 @@ public class ScreenPanel4 extends Panel { } public Map getProcessingParameters(StreamValue value) throws IOException { - return (Map) JsonSerializer.decode(value.getValue("processing_parameters").toString(), Map.class); + try{ + return (Map) JsonSerializer.decode(value.getValue("processing_parameters").toString(), Map.class); + } catch (Exception ex){ + return new HashMap<>(); + } } void saveFrames(String name, ArrayList frames) throws IOException {