You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Suraj Khurana (JIRA)" <ji...@apache.org> on 2017/11/03 06:37:00 UTC

[jira] [Updated] (OFBIZ-9919) EntityListIterator.getComplateList returns error randomly

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

Suraj Khurana updated OFBIZ-9919:
---------------------------------
    Attachment: OFBIZ-9919.patch

Hi, I noticed that there are some occurrences in which ArrayList has been initialized with some value which IMO doesn't get populated while calling the public method.

Attaching a patch for review.


> EntityListIterator.getComplateList returns error randomly
> ---------------------------------------------------------
>
>                 Key: OFBIZ-9919
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9919
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Suraj Khurana
>            Priority: Major
>         Attachments: OFBIZ-9919.patch
>
>
> Here are the logs that I found in the console.
> at org.apache.ofbiz.entity.jdbc.SQLProcessor.executeQuery(SQLProcessor.java:402) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.datasource.GenericDAO.selectCountByCondition(GenericDAO.java:1101) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.util.EntityListIterator.getResultSize(EntityListIterator.java:508) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.util.EntityListIterator.getCompleteList(EntityListIterator.java:417) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.util.EntityListIterator$getCompleteList.call(Unknown Source) ~[?:?]
>         at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) ~[groovy-all-2.4.12.jar:2.4.12]
>         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) ~[groovy-all-2.4.12.jar:2.4.12]
>         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) ~[groovy-all-2.4.12.jar:2.4.12]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)