Fix [ 1926878 ] PackIn.process: java.lang.NullPointerException
This commit is contained in:
parent
949e9b8fd3
commit
ea9b8e4be3
|
@ -106,6 +106,9 @@ public class IDFinder {
|
||||||
public static int get_IDWithColumn (String tableName, String columnName, Object value, int AD_Client_ID, String trxName) {
|
public static int get_IDWithColumn (String tableName, String columnName, Object value, int AD_Client_ID, String trxName) {
|
||||||
int id = 0;
|
int id = 0;
|
||||||
|
|
||||||
|
if (value == null)
|
||||||
|
return id;
|
||||||
|
|
||||||
//construct cache key
|
//construct cache key
|
||||||
StringBuffer key = new StringBuffer();
|
StringBuffer key = new StringBuffer();
|
||||||
key.append(tableName)
|
key.append(tableName)
|
||||||
|
|
Loading…
Reference in New Issue