From 6d83cf95e37b57c71457a8dd739abe67923ebae4 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 21 Jun 2007 16:40:52 +0000 Subject: [PATCH] Fix [ 1741071 ] NPE saving on window --- serverApps/src/main/servlet/org/compiere/www/WWindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serverApps/src/main/servlet/org/compiere/www/WWindow.java b/serverApps/src/main/servlet/org/compiere/www/WWindow.java index 0d6b1c9e83..7393a62cc1 100644 --- a/serverApps/src/main/servlet/org/compiere/www/WWindow.java +++ b/serverApps/src/main/servlet/org/compiere/www/WWindow.java @@ -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;