Fixed a bug in Mini-Language where a NPE could be thrown while using Verbose logging: https://issues.apache.org/jira/browse/OFBIZ-5689.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1612205 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -155,8 +155,10 @@ public final class Iterate extends MethodOperation {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (Debug.verboseOn())
|
||||
Debug.logVerbose("Cannot iterate over a " + objList.getClass().getName() + ", doing nothing: " + this, module);
|
||||
if (Debug.verboseOn()) {
|
||||
Debug.logVerbose("Cannot iterate over a " + objList == null ? "null object" : objList.getClass().getName()
|
||||
+ ", doing nothing: " + this, module);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
entryFma.put(methodContext.getEnvMap(), oldEntryValue);
|
||||
|
||||
Reference in New Issue
Block a user