Fix [ 1741071 ] NPE saving on window
This commit is contained in:
parent
da98343de0
commit
6d83cf95e3
|
@ -754,7 +754,7 @@ public class WWindow extends HttpServlet
|
|||
ii = null;
|
||||
}
|
||||
// -1 indicates NULL
|
||||
if (ii.intValue() == -1)
|
||||
if (ii != null && ii.intValue() == -1)
|
||||
ii = null;
|
||||
log.fine("ID: " + columnName + "=" + value + " -> " + ii);
|
||||
return ii;
|
||||
|
|
Loading…
Reference in New Issue