Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9286

ERROR: Cannot do a find that returns an EntityListIterator with no transaction in place

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 17.12.01, 16.11.03
    • Component/s: order
    • Labels:
      None

      Description

      Here is the stack error:

      017-03-27 07:57:53,968 |OFBiz-JobQueue-1     |PersistedServiceJob           |I| Job  [Run Auto-Reorders] Id [11226] -- Next runtime: Tue Mar 28 00:00:00 CEST 2017
      017-03-27 07:57:53,968 |OFBiz-JobQueue-1     |GenericDelegator              |E| ERROR: Cannot do a find that returns an EntityListIterator with no transaction in place. Wrap this call in a transaction.
      ava.lang.Exception: Stack Trace
            at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1533) [ofbiz.jar:?]
          at org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:394) [ofbiz.jar:?]
       at org.apache.ofbiz.order.shoppinglist.ShoppingListServices.createListReorders(ShoppingListServices.java:133) [ofbiz.jar:?]
      [...]
      017-03-27 07:57:53,993 |OFBiz-JobQueue-0     |ServiceDispatcher             |T| Sync service [default/cancelAllBackOrders] finished in [230] milliseconds
      017-03-27 07:57:54,001 |OFBiz-JobQueue-0     |PersistedServiceJob           |I| Job  [Extend expired Subscriptions] Id [11225] -- Next runtime: Tue Mar 28 00:00:00 CEST 2017
      017-03-27 07:57:54,002 |OFBiz-JobQueue-0     |GenericDelegator              |E| ERROR: Cannot do a find that returns an EntityListIterator with no transaction in place. Wrap this call in a transaction.
      ava.lang.Exception: Stack Trace
            at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1533) [ofbiz.jar:?]
          at org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:394) [ofbiz.jar:?]
       at org.apache.ofbiz.order.order.OrderServices.runSubscriptionAutoReorders(OrderServices.java:5564) [ofbiz.jar:?]
       [...]
      

        Attachments

          Activity

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              jacques.le.roux Jacques Le Roux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: