You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Si Chen (JIRA)" <ji...@apache.org> on 2007/09/24 18:51:50 UTC

[jira] Closed: (OFBIZ-1244) EntityUtil.getFieldListFromEntityList throw NPE under some conditions

     [ https://issues.apache.org/jira/browse/OFBIZ-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Si Chen closed OFBIZ-1244.
--------------------------

    Resolution: Fixed

> 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.