[
https://issues.apache.org/jira/browse/OFBIZ-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528544
]
Si Chen commented on OFBIZ-1244:
--------------------------------
If there are no objections I will be committing this.
> EntityUtil.getFieldListFromEntityList throw NPE under some conditions
> ---------------------------------------------------------------------
>
> Key: OFBIZ-1244
> URL: https://issues.apache.org/jira/browse/OFBIZ-1244
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk, Release Branch 4.0
> Reporter: Oleg Andreyev
> Assignee: Si Chen
> Priority: Minor
> Fix For: SVN trunk, Release Branch 4.0
>
> Attachments: EntityUtil.diff
>
>
> If we call EntityUtil.getFieldListFromEntityList on field that have no values
> in each row and set distinct to true then FastSet.contains(), inside this
> method, will throw NPE. The patch corrects this behavior by skipping null
> values.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.