# HG changeset patch # User Felix Wolfsteller # Date 1332238154 0 # Node ID 4e81439ffa28a030e5070551860583a9d74a564c # Parent 5659b5e8c9a8c14ea6edb711a1f3b1b09f548e54 Fix flys/issue462 flys-client/trunk@4167 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 5659b5e8c9a8 -r 4e81439ffa28 flys-client/ChangeLog --- a/flys-client/ChangeLog Tue Mar 20 06:55:53 2012 +0000 +++ b/flys-client/ChangeLog Tue Mar 20 10:09:14 2012 +0000 @@ -1,3 +1,10 @@ +2012-03-20 Felix Wolfsteller + + Fix flys/issue462, hinted to by Raimund Renkert. + + * src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java + (createUI): Do not try to parse NULL values. + 2012-03-20 Ingo Weinzierl * flys/issue204 (W-INFO: Wasserspiegellagenberechnung / Layout Auswahlunterstützung Q/W/D) diff -r 5659b5e8c9a8 -r 4e81439ffa28 flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java Tue Mar 20 06:55:53 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ManualPointsEditor.java Tue Mar 20 10:09:14 2012 +0000 @@ -194,6 +194,8 @@ CellEditValueParser cevp = new CellEditValueParser() { public Object parse(Object value, ListGridRecord record, int rowNum, int colNum) { + if (value == null) + return null; try { NumberFormat nf = NumberFormat.getDecimalFormat(); double d = nf.parse(value.toString());