IDEMPIERE-3916 - prevent NPE
This commit is contained in:
parent
de7a612c81
commit
5cbcbcd6ab
|
@ -1005,8 +1005,10 @@ public class MoveClient extends SvrProcess {
|
|||
|| ("M_CostType".equalsIgnoreCase(tableName) && "Name".equalsIgnoreCase(columnName))
|
||||
|| ("R_RequestProcessor".equalsIgnoreCase(tableName) && "Name".equalsIgnoreCase(columnName))
|
||||
) {
|
||||
String value = parameters[i].toString();
|
||||
parameters[i] = value.replaceFirst(oldClientValue, p_ClientValue);
|
||||
if (parameters[i] != null) {
|
||||
String value = parameters[i].toString();
|
||||
parameters[i] = value.replaceFirst(oldClientValue, p_ClientValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue