[ 
https://issues.apache.org/jira/browse/OFBIZ-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237467#comment-13237467
 ] 

Paul Foxworthy commented on OFBIZ-4496:
---------------------------------------

I did submit a patch in OFBIZ-4582. This problem will be similar.
                
> "Quick complete Drop Shipment" on purchase order causes many warning messages
> -----------------------------------------------------------------------------
>
>                 Key: OFBIZ-4496
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4496
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order, specialpurpose/ecommerce
>    Affects Versions: Release Branch 11.04, SVN trunk
>            Reporter: Kiran Gawde
>
> Got following warnings during: "Quick complete Drop Shipment" on purchase 
> order
> [ServiceEcaCondition.java:156:WARN ] From Field (originFacilityId) is not 
> found in context for createShipment, defaulting to null.
> [ServiceEcaCondition.java:156:WARN ] From Field (destinationFacilityId) is 
> not found in context for createShipment, defaulting to null.
> [                Log.java:117:WARN ] 
> [ShipmentServices.xml#setShipmentSettingsFromPrimaryOrder line 532] Cannot 
> find a shipping origin address for WS10123
> [                Log.java:117:WARN ] 
> [ShipmentServices.xml#setShipmentSettingsFromPrimaryOrder line 554] Cannot 
> find a shipping destination phone number for WS10123
> [                Log.java:117:WARN ] 
> [ShipmentServices.xml#setShipmentSettingsFromPrimaryOrder line 568] Cannot 
> find a shipping origin phone number for WS10123
> [      FieldToResult.java:77 :WARN ] Field value not found with name 
> lookedUpValue.originFacilityId in Map with name 
> [      FieldToResult.java:77 :WARN ] Field value not found with name 
> lookedUpValue.destinationFacilityId in Map with name 
> [                Log.java:117:WARN ] [InvoiceServices.xml#getNextInvoiceId 
> line 35] errorPartyPerf
> [    InvoiceServices.java:323:WARN ] No billing locations found for order 
> [WS10123] and none were created for Invoice [10061]
> [      FieldToResult.java:77 :WARN ] Field value not found with name 
> contactMechId in Map with name 
> [ServiceEcaCondition.java:156:WARN ] From Field (originFacilityId) is not 
> found in context for updateShipment, defaulting to null.
> [ServiceEcaCondition.java:156:WARN ] From Field (destinationFacilityId) is 
> not found in context for updateShipment, defaulting to null.
> [ServiceEcaCondition.java:156:WARN ] From Field (primaryOrderId) is not found 
> in context for updateShipment, defaulting to null.
> [    TransactionUtil.java:375:WARN ] 
> ---- exception report 
> ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this 
> stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: Error in simple-method [ 
> [file:/D:/EclipseWorkspaces/Autogoza/ofbiz/applications/accounting/script/org/ofbiz/accounting/olap/FactServices.xml#loadSalesInvoiceFact]]:
>  ; {Invoice with id AI14 doesn't exist.}
> ---- stack trace 
> ---------------------------------------------------------------
> java.lang.Exception: Error in simple-method [ 
> [file:/D:/EclipseWorkspaces/Autogoza/ofbiz/applications/accounting/script/org/ofbiz/accounting/olap/FactServices.xml#loadSalesInvoiceFact]]:
>  ; {Invoice with id AI14 doesn't exist.}
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:375)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:317)
> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:870)
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160)
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142)
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53)
> org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761)
> _$gen.file_58$.D_58$.EclipseWorkspaces.Autogoza.ofbiz.applications.accounting.servicedef.services_95$olap_46$xml_35$loadSalesInvoiceFact.runSync(file:/D:/EclipseWorkspaces/Autogoza/ofbiz/applications/accounting/servicedef/services_olap.xml#loadSalesInvoiceFact:37)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:71)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242)
> java.lang.Thread.run(Thread.java:662)
> --------------------------------------------------------------------------------
> 2011-10-20 12:01:00,823 (default-invoker-Thread-12) [  
> ServiceDispatcher.java:543:ERROR] Error in Service [loadSalesInvoiceFact]: 
> Invoice with id AI14 doesn't exist.
> 2011-10-20 12:01:00,823 (default-invoker-Thread-12) [    
> TransactionUtil.java:339:ERROR] 
> ---- exception report 
> ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace 
> ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:338)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:315)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:547)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:71)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242)
> java.lang.Thread.run(Thread.java:662)
> --------------------------------------------------------------------------------
> 2011-10-20 12:01:00,824 (default-invoker-Thread-12) [    
> TransactionUtil.java:349:INFO ] [TransactionUtil.rollback] transaction rolled 
> back
> 2011-10-20 12:01:00,824 (default-invoker-Thread-12) [  
> ServiceDispatcher.java:604:INFO ] Sync service [order/loadSalesInvoiceFact] 
> finished in [71] milliseconds with response [{errorMessageList={Invoice with 
> id AI14 doesn't exist.}, responseMessage=error}]
> 2011-10-20 12:01:00,825 (default-invoker-Thread-12) [  
> GenericServiceJob.java:118:ERROR] 
> ---- exception report 
> ----------------------------------------------------------
> Async-Service failed.
> Exception: java.lang.Exception
> Message: null
> ---- stack trace 
> ---------------------------------------------------------------
> java.lang.Exception
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:77)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242)
> java.lang.Thread.run(Thread.java:662)
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to