[
https://issues.apache.org/jira/browse/OFBIZ-5689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrian Crum closed OFBIZ-5689.
------------------------------
Resolution: Fixed
Fix Version/s: Release Branch 13.07
Release Branch 12.04
Release Branch 11.04
Trunk
Fixed, rev 1612205, 1612206, 1612214, and 1612229. I used a slightly different
approach. Thank you for the report!
> Mini-lang's iterate element can cause NPE 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: Release Branch 13.07, Release Branch 12.04, Release
> Branch 11.04, Trunk
> Environment: Linux, Java 6
> Reporter: Rong Nguyen
> Assignee: Adrian Crum
> Priority: Minor
> Fix For: Trunk, Release Branch 11.04, Release Branch 12.04,
> Release Branch 13.07
>
> Attachments: Issue-5689.patch
>
>
> 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)