You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Oleg Andreyev (JIRA)" <ji...@apache.org> on 2007/09/16 11:13:32 UTC
[jira] Created: (OFBIZ-1244) EntityUtil.getFieldListFromEntityList
throw NPE under some conditions
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
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.
[jira] Assigned: (OFBIZ-1244) EntityUtil.getFieldListFromEntityList
throw NPE under some conditions
Posted by "Si Chen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Si Chen reassigned OFBIZ-1244:
------------------------------
Assignee: Si Chen
> 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.
[jira] Closed: (OFBIZ-1244) EntityUtil.getFieldListFromEntityList
throw NPE under some conditions
Posted by "Si Chen (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (OFBIZ-1244)
EntityUtil.getFieldListFromEntityList throw NPE under some conditions
Posted by "Si Chen (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (OFBIZ-1244) EntityUtil.getFieldListFromEntityList
throw NPE under some conditions
Posted by "Oleg Andreyev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Andreyev updated OFBIZ-1244:
---------------------------------
Attachment: EntityUtil.diff
> 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
> 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.
[jira] Commented: (OFBIZ-1244)
EntityUtil.getFieldListFromEntityList throw NPE under some conditions
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588342#action_12588342 ]
Jacques Le Roux commented on OFBIZ-1244:
----------------------------------------
Commited by Si in trunk rev. 578874, release4.0 578898
> 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.