Fix [ 1926878 ] PackIn.process: java.lang.NullPointerException

This commit is contained in:
Carlos Ruiz 2008-03-29 18:55:48 +00:00
parent 949e9b8fd3
commit ea9b8e4be3
1 changed files with 3 additions and 0 deletions

View File

@ -106,6 +106,9 @@ public class IDFinder {
public static int get_IDWithColumn (String tableName, String columnName, Object value, int AD_Client_ID, String trxName) {
int id = 0;
if (value == null)
return id;
//construct cache key
StringBuffer key = new StringBuffer();
key.append(tableName)