[
https://issues.apache.org/jira/browse/OFBIZ-5689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068260#comment-14068260
]
Rong Nguyen commented on OFBIZ-5689:
------------------------------------
Now, we can fix this issue by:
1. Insert <if-not-empty> tag for every <Iterate> tag: a lot of work!
2. Check objList for null value.
> Mini-lang's iterate null cause flow down when verbose mode is on
> ----------------------------------------------------------------
>
> Key: OFBIZ-5689
> URL: https://issues.apache.org/jira/browse/OFBIZ-5689
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Environment: Linux, Java 6
> Reporter: Rong Nguyen
> Priority: Minor
>
> When we use simple-method, we usually iterate list via <Iterate> tag.
> A lot of simple-method code(implement service) use <Iterate> tag without
> check NULL, so when verbose mode is ON: the objList.getClass().getName()
> object will cause NULL exception.
> See more details at:
> Iterate#exec(MethodContext methodContext) at line 158
--
This message was sent by Atlassian JIRA
(v6.2#6252)