You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Kiran Gawde (Created) (JIRA)" <ji...@apache.org> on 2011/10/20 21:08:10 UTC

[jira] [Created] (OFBIZ-4496) "Quick complete Drop Shipment" on purchase order causes many warning messages

"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

        

Re: [jira] [Commented] (OFBIZ-4496) "Quick complete Drop Shipment" on purchase order causes many warning messages

Posted by Paul Foxworthy <pa...@cohsoft.com.au>.
Re

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.} 

See thread
http://ofbiz.135035.n4.nabble.com/Should-loadSalesInvoiceFact-be-run-on-return-instead-of-commit-td3896289.html

I will be submitting a patch for this.

Cheers

Paul Foxworthy


JIRA jira@apache.org wrote:
> 
> [
> https://issues.apache.org/jira/browse/OFBIZ-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131971#comment-13131971
> ] 
> 
> mz4wheeler commented on OFBIZ-4496:
> -----------------------------------
> 
> I recently noticed that drop shipping is broken in trunk.  Good catch. 
>                 
>> "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
> 

--
View this message in context: http://ofbiz.135035.n4.nabble.com/jira-Created-OFBIZ-4496-Quick-complete-Drop-Shipment-on-purchase-order-causes-many-warning-messages-tp3923136p3924122.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

[jira] [Commented] (OFBIZ-4496) "Quick complete Drop Shipment" on purchase order causes many warning messages

Posted by "Paul Foxworthy (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Commented] (OFBIZ-4496) "Quick complete Drop Shipment" on purchase order causes many warning messages

Posted by "Paul Foxworthy (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238124#comment-13238124 ] 

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

Yes, I think this can be closed as a dupe. OFBIZ-4496 = OFBIZ-4517 + OFBIZ-4582.
                
> "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

        

[jira] [Commented] (OFBIZ-4496) "Quick complete Drop Shipment" on purchase order causes many warning messages

Posted by "Paul Foxworthy (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237471#comment-13237471 ] 

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

I think the failure, as opposed to the warnings, are fixed by OFBIZ-4582, so in R11.04 should be fixed in r1206508. Kiran, can you confirm?
                
> "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

        

[jira] [Commented] (OFBIZ-4496) "Quick complete Drop Shipment" on purchase order causes many warning messages

Posted by "Paul Foxworthy (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13132286#comment-13132286 ] 

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

Re 

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.} 

See thread http://ofbiz.135035.n4.nabble.com/Should-loadSalesInvoiceFact-be-run-on-return-instead-of-commit-td3896289.html

I will be submitting a patch for this. 

Cheers 

Paul Foxworthy 
                
> "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

        

[jira] [Closed] (OFBIZ-4496) "Quick complete Drop Shipment" on purchase order causes many warning messages

Posted by "Jacques Le Roux (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-4496.
----------------------------------

    Resolution: Duplicate
      Assignee: Jacques Le Roux

Thanks Paul
                
> "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
>            Assignee: Jacques Le Roux
>
> 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

        

[jira] [Commented] (OFBIZ-4496) "Quick complete Drop Shipment" on purchase order causes many warning messages

Posted by "Kiran Gawde (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133230#comment-13133230 ] 

Kiran Gawde commented on OFBIZ-4496:
------------------------------------

I have fixed few warnings. But waiting for my other patch (OFBIZ-4495) to get integrated. Once that is integrated. I can provide patch for this defect.
                
> "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

        

[jira] [Commented] (OFBIZ-4496) "Quick complete Drop Shipment" on purchase order causes many warning messages

Posted by "Kiran Gawde (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237735#comment-13237735 ] 

Kiran Gawde commented on OFBIZ-4496:
------------------------------------

I fixed some of those warnings. The patch was provided in OFBIZ-4517.
                
> "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

        

[jira] [Commented] (OFBIZ-4496) "Quick complete Drop Shipment" on purchase order causes many warning messages

Posted by "Jacques Le Roux (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237879#comment-13237879 ] 

Jacques Le Roux commented on OFBIZ-4496:
----------------------------------------

Should we close this one as duplicate? Or only after applying patches in OFBIZ-4517, or?
                
> "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

        

[jira] [Commented] (OFBIZ-4496) "Quick complete Drop Shipment" on purchase order causes many warning messages

Posted by "mz4wheeler (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131971#comment-13131971 ] 

mz4wheeler commented on OFBIZ-4496:
-----------------------------------

I recently noticed that drop shipping is broken in trunk.  Good catch. 
                
> "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

        

[jira] [Commented] (OFBIZ-4496) "Quick complete Drop Shipment" on purchase order causes many warning messages

Posted by "Jacques Le Roux (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236682#comment-13236682 ] 

Jacques Le Roux commented on OFBIZ-4496:
----------------------------------------

Patches welcome...
                
> "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