changeset 5308:7712dacc27ab

Avoid NPE if data list is null.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 14 Mar 2013 17:16:15 +0100
parents 6131b352e5e4
children b55975761708
files flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java	Thu Mar 14 17:13:49 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/AbstractUIProvider.java	Thu Mar 14 17:16:15 2013 +0100
@@ -266,6 +266,9 @@
         DataList[] old = desc.getOldData();
 
         for (DataList list: old) {
+            if (list == null) {
+                continue;
+            }
             Data d = getData(list.getAll(), name);
 
             if (d != null) {

http://dive4elements.wald.intevation.org