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

Error in sendShipmentScheduledNotification service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • None
    • product/facility
    • None

    Description

      Please refer stack-trace below,

      2020-08-26 18:15:20,543 |OFBiz-JobQueue-0     |ServiceDispatcher             |T| [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'facility / sendShipmentScheduledNotification'
      
      2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               |I| Transaction rolled back
      
      2020-08-26 18:15:20,549 |OFBiz-JobQueue-0     |TransactionUtil               |W| Not committing transaction, status is No Transaction (6)
      
      2020-08-26 18:15:20,554 |OFBiz-JobQueue-0     |GenericServiceJob             |E| Async-Service failed.
      
      org.apache.ofbiz.service.GenericServiceException: Error running Groovy method [sendShipmentScheduledNotification] in Groovy file [component://product/groovyScripts/shipment/ShipmentServices.groovy]:  (org.apache.ofbiz.entity.GenericModelException: In selectListIteratorByCondition invalid field names specified: [sendTo])
      
       at org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:130) ~[main/:?]
      
       at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:424) ~[main/:?]
      
       at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) ~[main/:?]
      
       at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:93) ~[main/:?]
      
       at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) [main/:?]
      
       at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) [main/:?]
      
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_144]
      
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_144]
      
       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
      
      Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: org.apache.ofbiz.entity.GenericModelException: In selectListIteratorByCondition invalid field names specified: [sendTo]
      
       at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) ~[groovy-2.5.11.jar:2.5.11]
      
       at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) ~[groovy-2.5.11.jar:2.5.11]
      
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) ~[groovy-2.5.11.jar:2.5.11]
      
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) ~[groovy-2.5.11.jar:2.5.11]
      
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) ~[groovy-2.5.11.jar:2.5.11]
      
       at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) ~[groovy-2.5.11.jar:2.5.11]
      
       at groovy.lang.Script.invokeMethod(Script.java:77) ~[groovy-2.5.11.jar:2.5.11]
      
       at org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) ~[main/:?]
      
       ... 8 more
      
      Caused by: org.apache.ofbiz.entity.GenericModelException: In selectListIteratorByCondition invalid field names specified: [sendTo]
      
       at org.apache.ofbiz.entity.datasource.GenericDAO.selectListIteratorByCondition(GenericDAO.java:656) ~[main/:?]
      
       at org.apache.ofbiz.entity.datasource.GenericHelperDAO.findListIteratorByCondition(GenericHelperDAO.java:155) ~[main/:?]
      
       at org.apache.ofbiz.entity.GenericDelegator.find(GenericDelegator.java:1600) ~[main/:?]
      
       at org.apache.ofbiz.entity.util.EntityQuery.queryIterator(EntityQuery.java:389) ~[main/:?]
      
       at org.apache.ofbiz.entity.util.EntityQuery.getFieldList(EntityQuery.java:534) ~[main/:?]
      
       at org.apache.ofbiz.entity.util.EntityQuery$getFieldList$14.call(Unknown Source) ~[?:?]
      
       at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) ~[groovy-2.5.11.jar:2.5.11]
      
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115) ~[groovy-2.5.11.jar:2.5.11]
      
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127) ~[groovy-2.5.11.jar:2.5.11]
      
       at ShipmentServices.sendShipmentScheduledNotification(ShipmentServices.groovy:471) ~[?:?]
      
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
      
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_144]
      
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_144]
      
       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_144]
      
       at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) ~[groovy-2.5.11.jar:2.5.11]
      
       at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) ~[groovy-2.5.11.jar:2.5.11]
      
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) ~[groovy-2.5.11.jar:2.5.11]
      
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) ~[groovy-2.5.11.jar:2.5.11]
      
       at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) ~[groovy-2.5.11.jar:2.5.11]
      
       at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) ~[groovy-2.5.11.jar:2.5.11]
      
       at groovy.lang.Script.invokeMethod(Script.java:77) ~[groovy-2.5.11.jar:2.5.11]
      
       at org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) ~[main/:?]
      
       ... 8 more
      

      Attachments

        Issue Links

          Activity

            People

              mridulpathak Mridul Pathak
              mridulpathak Mridul Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: