Avoid NullPinterException.
https://sourceforge.net/tracker/?func=detail&atid=879334&aid=1869926&group_id=176962
This commit is contained in:
parent
f4ae71a961
commit
90771f9ef1
|
@ -803,6 +803,7 @@ public class ReportStarter implements ProcessCall, ClientProcess {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addProcessInfoParameters(Map<String, Object> params, ProcessInfoParameter[] para) {
|
private void addProcessInfoParameters(Map<String, Object> params, ProcessInfoParameter[] para) {
|
||||||
|
if (para != null) {
|
||||||
for (int i = 0; i < para.length; i++) {
|
for (int i = 0; i < para.length; i++) {
|
||||||
if (para[i].getParameter_To() == null) {
|
if (para[i].getParameter_To() == null) {
|
||||||
params.put(para[i].getParameterName(), para[i].getParameter());
|
params.put(para[i].getParameterName(), para[i].getParameter());
|
||||||
|
@ -812,6 +813,7 @@ public class ReportStarter implements ProcessCall, ClientProcess {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author rlemeill
|
* @author rlemeill
|
||||||
|
|
Loading…
Reference in New Issue