Fixes bug on fetching Datasets.

This commit is contained in:
gkolokythas 2019-12-17 18:17:21 +02:00
parent 4efdf42b94
commit 4e3a3b573a
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ public class Field implements Comparable, PropertiesModelBuilder, ViewStyleDefin
stringList.add(jsonArray.getJSONObject(i).toString()); stringList.add(jsonArray.getJSONObject(i).toString());
} }
this.value = stringList; this.value = stringList;
} catch (JSONException e) { } catch (JSONException | NullPointerException e) {
this.value = (String) properties.get(this.id); this.value = (String) properties.get(this.id);
} }
this.multiplicityItems = new LinkedList<>(); this.multiplicityItems = new LinkedList<>();