Dev - quick-ship/invoice creation error using r7082

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Dev - quick-ship/invoice creation error using r7082

Ray Barlow
Hi,

I can't get the "quick-ship entire order" button to work in the order
view section. This is a clean source base and DB, I've created a "Mail
Check" order in ecommerce for 1 GZ-1001, then in the order manager view
I've received payment for $5 (don't think that is important) and the
clicked on quick-ship button and the log file is listed below.

Have just done a quick test using the "pack shipment for ship group
[00001]" screen and it fails with the same errors when completing the
packing. All the orders are raised and processed using the admin account
as that is the easiest route for testing.

Ray


1248095 (http-0.0.0.0-8080-Processor3) [    
ServiceEcaRule.java:134:INFO ] Running Service ECA Serv
ice: sendOrderCompleteNotification, triggered by rule on Service:
changeOrderStatus
1248095 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:465:DEBUG] [[ASync service started.
..- total:0.0,since last(Begin):0.0]] - 'order /
sendOrderCompleteNotification'
1248405 (http-0.0.0.0-8080-Processor3) [
GenericAsyncEngine.java:141:INFO ] Persisted job queued : 1
143466548985
1248415 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:556:DEBUG] [[ASync service finished
...- total:0.31,since last(ASync service sta...):0.31]] - 'order /
sendOrderCompleteNotification'
1248415 (http-0.0.0.0-8080-Processor3) [    
ServiceEcaRule.java:118:INFO ] Got false for condition:
 [null][][statusId][equals][null][ORDER_APPROVED][true][String][]
1248425 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
 total:0.43,since last(Begin):0.43]] - 'order / changeOrderStatus'
1248425 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
 total:0.43,since last(Begin):0.43]] - 'order / checkOrderItemStatus'
1248425 (http-0.0.0.0-8080-Processor3) [    
ServiceEcaRule.java:118:INFO ] Got false for condition:
 [null][][statusId][equals][null][ITEM_APPROVED][true][String][]
1248425 (http-0.0.0.0-8080-Processor3) [    
ServiceEcaRule.java:118:INFO ] Got false for condition:
 [null][][statusId][equals][null][ITEM_APPROVED][true][String][]
1248425 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
 total:0.721,since last(Begin):0.721]] - 'order / changeOrderItemStatus'
1248516 (http-0.0.0.0-8080-Processor3) [            
UtilXml.java:242:DEBUG] XML Read 0.081s: file:/U
:/Work/OFBiz/ofbizclean/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xm
l
1248826 (http-0.0.0.0-8080-Processor3) [      
EntityEcaRule.java:122:INFO ] Running Entity ECA Servi
ce: updateInventoryItemFromDetail, triggered by rule on Entity:
InventoryItemDetail
1249267 (http-0.0.0.0-8080-Processor3) [      
EntityEcaRule.java:122:INFO ] Running Entity ECA Servi
ce: checkProductInventoryDiscontinuation, triggered by rule on Entity:
InventoryItem
1249267 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:465:DEBUG] [[ASync service started.
..- total:0.0,since last(Begin):0.0]] - 'entity-default /
checkProductInventoryDiscontinuation'
1249267 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:556:DEBUG] [[ASync service finished
...- total:0.0,since last(ASync service sta...):0.0]] - 'entity-default
/ checkProductInventoryDisco
ntinuation'
1249267 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
 total:0.441,since last(Begin):0.441]] - 'entity-default /
updateInventoryItemFromDetail'
1249277 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
 total:0.842,since last(Begin):0.842]] - 'order / createInventoryItemDetail'
1249277 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
 total:3.095,since last(Begin):3.095]] - 'order /
issueOrderItemShipGrpInvResToShipment'
1249597 (http-0.0.0.0-8080-Processor3) [    
ServiceEcaRule.java:134:INFO ] Running Service ECA Serv
ice: createShipmentPackage, triggered by rule on Service:
createShipmentPackageContent
1249727 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
 total:0.13,since last(Begin):0.13]] - 'order / createShipmentPackage'
1249767 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
 total:0.17,since last(Begin):0.17]] - 'order /
createShipmentPackageContent'
1249777 (http-0.0.0.0-8080-Processor3) [                
Log.java:103:INFO ] Shipment package: [Gener
icEntity:ShipmentPackageContent][shipmentId,10010(java.lang.String)][shipmentItemSeqId,00001(java.la
ng.String)][shipmentPackageSeqId,00001(java.lang.String)]
1249777 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
 total:0.32,since last(Begin):0.32]] - 'order / addShipmentContentToPackage'
1249817 (http-0.0.0.0-8080-Processor3) [      FieldToResult.java:75
:WARN ] Field value not found wi
th name lookedUpValue.destinationFacilityId in Map with name
1249948 (http-0.0.0.0-8080-Processor3) [    
ServiceEcaRule.java:134:INFO ] Running Service ECA Serv
ice: prepareShipmentStaging, triggered by rule on Service: updateShipment
1249978 (invoker-Thread-7) [  ServiceDispatcher.java:447:DEBUG] [[Sync
service finished- total:0.05,
since last(Begin):0.05]] - 'entity-default /
checkProductInventoryDiscontinuation'
1250138 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
 total:0.19,since last(Begin):0.19]] - 'order / prepareShipmentStaging'
1250148 (http-0.0.0.0-8080-Processor3) [    
ServiceEcaRule.java:134:INFO ] Running Service ECA Serv
ice: createInvoicesFromShipment, triggered by rule on Service:
updateShipment
1250428 (http-0.0.0.0-8080-Processor3) [  
ServiceDispatcher.java:381:DEBUG] [[Sync service failed...
- total:0.0,since last(Begin):0.01]] - 'order / createInvoiceForOrder'
1250428 (http-0.0.0.0-8080-Processor3) [  ServiceDispatcher.java:384:ERROR]
---- exception report
----------------------------------------------------------
Service [createInvoiceForOrder] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Service target threw an unexpected exception (null)
---- stack trace
---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Service target threw an
unexpected exception (null)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:113)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:773)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:109)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:135)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:173)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:372)
.
.
.
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:296)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:251)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.jav
a:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerException
org.ofbiz.accounting.invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java:191)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:773)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
.
.
.
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.jav
a:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:534)
--------------------------------------------------------------------------------

1250609 (http-0.0.0.0-8080-Processor3) [    TransactionUtil.java:276:WARN ]
---- exception report
----------------------------------------------------------
[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
this stack trace shows where
this is happening:
Exception: java.lang.Exception
Message: null
---- stack trace
---------------------------------------------------------------
java.lang.Exception
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:276)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:226)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:387)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:773)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:109)
org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:135)
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:173)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:372)
.
.
.
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:251)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.jav
a:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:534)
--------------------------------------------------------------------------------

1250669 (http-0.0.0.0-8080-Processor3) [    InvoiceServices.java:776:ERROR]
---- exception report
----------------------------------------------------------
Trouble calling createInvoiceForOrder service; invoice not created for
shipment
Exception: org.ofbiz.service.GenericServiceException
Message: Service target threw an unexpected exception (null)
---- stack trace
---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Service target threw an
unexpected exception (null)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:113)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:773)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:109)

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - quick-ship/invoice creation error using r7082

Jacopo Cappellato
It's fixed in svn 7083.

Jacopo

Ray wrote:

> Hi,
>
> I can't get the "quick-ship entire order" button to work in the order
> view section. This is a clean source base and DB, I've created a "Mail
> Check" order in ecommerce for 1 GZ-1001, then in the order manager view
> I've received payment for $5 (don't think that is important) and the
> clicked on quick-ship button and the log file is listed below.
>
> Have just done a quick test using the "pack shipment for ship group
> [00001]" screen and it fails with the same errors when completing the
> packing. All the orders are raised and processed using the admin account
> as that is the easiest route for testing.
>
> Ray
>
>
> 1248095 (http-0.0.0.0-8080-Processor3) [    
> ServiceEcaRule.java:134:INFO ] Running Service ECA Serv
> ice: sendOrderCompleteNotification, triggered by rule on Service:
> changeOrderStatus
> 1248095 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:465:DEBUG] [[ASync service started.
> ..- total:0.0,since last(Begin):0.0]] - 'order /
> sendOrderCompleteNotification'
> 1248405 (http-0.0.0.0-8080-Processor3) [
> GenericAsyncEngine.java:141:INFO ] Persisted job queued : 1
> 143466548985
> 1248415 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:556:DEBUG] [[ASync service finished
> ...- total:0.31,since last(ASync service sta...):0.31]] - 'order /
> sendOrderCompleteNotification'
> 1248415 (http-0.0.0.0-8080-Processor3) [    
> ServiceEcaRule.java:118:INFO ] Got false for condition:
>  [null][][statusId][equals][null][ORDER_APPROVED][true][String][]
> 1248425 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.43,since last(Begin):0.43]] - 'order / changeOrderStatus'
> 1248425 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.43,since last(Begin):0.43]] - 'order / checkOrderItemStatus'
> 1248425 (http-0.0.0.0-8080-Processor3) [    
> ServiceEcaRule.java:118:INFO ] Got false for condition:
>  [null][][statusId][equals][null][ITEM_APPROVED][true][String][]
> 1248425 (http-0.0.0.0-8080-Processor3) [    
> ServiceEcaRule.java:118:INFO ] Got false for condition:
>  [null][][statusId][equals][null][ITEM_APPROVED][true][String][]
> 1248425 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.721,since last(Begin):0.721]] - 'order / changeOrderItemStatus'
> 1248516 (http-0.0.0.0-8080-Processor3) [            
> UtilXml.java:242:DEBUG] XML Read 0.081s: file:/U
> :/Work/OFBiz/ofbizclean/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xm
> l
> 1248826 (http-0.0.0.0-8080-Processor3) [      
> EntityEcaRule.java:122:INFO ] Running Entity ECA Servi
> ce: updateInventoryItemFromDetail, triggered by rule on Entity:
> InventoryItemDetail
> 1249267 (http-0.0.0.0-8080-Processor3) [      
> EntityEcaRule.java:122:INFO ] Running Entity ECA Servi
> ce: checkProductInventoryDiscontinuation, triggered by rule on Entity:
> InventoryItem
> 1249267 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:465:DEBUG] [[ASync service started.
> ..- total:0.0,since last(Begin):0.0]] - 'entity-default /
> checkProductInventoryDiscontinuation'
> 1249267 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:556:DEBUG] [[ASync service finished
> ...- total:0.0,since last(ASync service sta...):0.0]] - 'entity-default
> / checkProductInventoryDisco
> ntinuation'
> 1249267 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.441,since last(Begin):0.441]] - 'entity-default /
> updateInventoryItemFromDetail'
> 1249277 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.842,since last(Begin):0.842]] - 'order / createInventoryItemDetail'
> 1249277 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:3.095,since last(Begin):3.095]] - 'order /
> issueOrderItemShipGrpInvResToShipment'
> 1249597 (http-0.0.0.0-8080-Processor3) [    
> ServiceEcaRule.java:134:INFO ] Running Service ECA Serv
> ice: createShipmentPackage, triggered by rule on Service:
> createShipmentPackageContent
> 1249727 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.13,since last(Begin):0.13]] - 'order / createShipmentPackage'
> 1249767 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.17,since last(Begin):0.17]] - 'order /
> createShipmentPackageContent'
> 1249777 (http-0.0.0.0-8080-Processor3) [                
> Log.java:103:INFO ] Shipment package: [Gener
> icEntity:ShipmentPackageContent][shipmentId,10010(java.lang.String)][shipmentItemSeqId,00001(java.la
> ng.String)][shipmentPackageSeqId,00001(java.lang.String)]
> 1249777 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.32,since last(Begin):0.32]] - 'order / addShipmentContentToPackage'
> 1249817 (http-0.0.0.0-8080-Processor3) [      FieldToResult.java:75
> :WARN ] Field value not found wi
> th name lookedUpValue.destinationFacilityId in Map with name
> 1249948 (http-0.0.0.0-8080-Processor3) [    
> ServiceEcaRule.java:134:INFO ] Running Service ECA Serv
> ice: prepareShipmentStaging, triggered by rule on Service: updateShipment
> 1249978 (invoker-Thread-7) [  ServiceDispatcher.java:447:DEBUG] [[Sync
> service finished- total:0.05,
> since last(Begin):0.05]] - 'entity-default /
> checkProductInventoryDiscontinuation'
> 1250138 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.19,since last(Begin):0.19]] - 'order / prepareShipmentStaging'
> 1250148 (http-0.0.0.0-8080-Processor3) [    
> ServiceEcaRule.java:134:INFO ] Running Service ECA Serv
> ice: createInvoicesFromShipment, triggered by rule on Service:
> updateShipment
> 1250428 (http-0.0.0.0-8080-Processor3) [  
> ServiceDispatcher.java:381:DEBUG] [[Sync service failed...
> - total:0.0,since last(Begin):0.01]] - 'order / createInvoiceForOrder'
> 1250428 (http-0.0.0.0-8080-Processor3) [  ServiceDispatcher.java:384:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Service [createInvoiceForOrder] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service target threw an unexpected exception (null)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service target threw an
> unexpected exception (null)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:113)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:773)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:109)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:135)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:173)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:372)
> .
> .
> .
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:296)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:251)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.jav
> a:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:534)
> java.lang.NullPointerException
> org.ofbiz.accounting.invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java:191)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:773)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
> .
> .
> .
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.jav
> a:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:534)
> --------------------------------------------------------------------------------
>
> 1250609 (http-0.0.0.0-8080-Processor3) [    TransactionUtil.java:276:WARN ]
> ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
> this stack trace shows where
> this is happening:
> Exception: java.lang.Exception
> Message: null
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:276)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:226)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:387)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:773)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:109)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:135)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:173)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:372)
> .
> .
> .
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:251)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.jav
> a:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:534)
> --------------------------------------------------------------------------------
>
> 1250669 (http-0.0.0.0-8080-Processor3) [    InvoiceServices.java:776:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Trouble calling createInvoiceForOrder service; invoice not created for
> shipment
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service target threw an unexpected exception (null)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service target threw an
> unexpected exception (null)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:113)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceServices.java:773)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:109)
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - quick-ship/invoice creation error using r7082

Jacques Le Roux
Administrator
In reply to this post by Ray Barlow
Ray,

Take a look at http://jira.undersunconsulting.com/browse/OFBIZ-810 please

Jacques

----- Original Message -----
From: "Ray" <[hidden email]>
To: "OFBiz Project Development Discussion" <[hidden email]>
Sent: Monday, March 27, 2006 3:58 PM
Subject: [OFBiz] Dev - quick-ship/invoice creation error using r7082


> Hi,
>
> I can't get the "quick-ship entire order" button to work in the order
> view section. This is a clean source base and DB, I've created a "Mail
> Check" order in ecommerce for 1 GZ-1001, then in the order manager view
> I've received payment for $5 (don't think that is important) and the
> clicked on quick-ship button and the log file is listed below.
>
> Have just done a quick test using the "pack shipment for ship group
> [00001]" screen and it fails with the same errors when completing the
> packing. All the orders are raised and processed using the admin account
> as that is the easiest route for testing.
>
> Ray
>
>
> 1248095 (http-0.0.0.0-8080-Processor3) [
> ServiceEcaRule.java:134:INFO ] Running Service ECA Serv
> ice: sendOrderCompleteNotification, triggered by rule on Service:
> changeOrderStatus
> 1248095 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:465:DEBUG] [[ASync service started.
> ..- total:0.0,since last(Begin):0.0]] - 'order /
> sendOrderCompleteNotification'
> 1248405 (http-0.0.0.0-8080-Processor3) [
> GenericAsyncEngine.java:141:INFO ] Persisted job queued : 1
> 143466548985
> 1248415 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:556:DEBUG] [[ASync service finished
> ...- total:0.31,since last(ASync service sta...):0.31]] - 'order /
> sendOrderCompleteNotification'
> 1248415 (http-0.0.0.0-8080-Processor3) [
> ServiceEcaRule.java:118:INFO ] Got false for condition:
>  [null][][statusId][equals][null][ORDER_APPROVED][true][String][]
> 1248425 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.43,since last(Begin):0.43]] - 'order / changeOrderStatus'
> 1248425 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.43,since last(Begin):0.43]] - 'order / checkOrderItemStatus'
> 1248425 (http-0.0.0.0-8080-Processor3) [
> ServiceEcaRule.java:118:INFO ] Got false for condition:
>  [null][][statusId][equals][null][ITEM_APPROVED][true][String][]
> 1248425 (http-0.0.0.0-8080-Processor3) [
> ServiceEcaRule.java:118:INFO ] Got false for condition:
>  [null][][statusId][equals][null][ITEM_APPROVED][true][String][]
> 1248425 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.721,since last(Begin):0.721]] - 'order / changeOrderItemStatus'
> 1248516 (http-0.0.0.0-8080-Processor3) [
> UtilXml.java:242:DEBUG] XML Read 0.081s: file:/U
>
:/Work/OFBiz/ofbizclean/applications/product/script/org/ofbiz/product/inventory/
InventoryServices.xm

> l
> 1248826 (http-0.0.0.0-8080-Processor3) [
> EntityEcaRule.java:122:INFO ] Running Entity ECA Servi
> ce: updateInventoryItemFromDetail, triggered by rule on Entity:
> InventoryItemDetail
> 1249267 (http-0.0.0.0-8080-Processor3) [
> EntityEcaRule.java:122:INFO ] Running Entity ECA Servi
> ce: checkProductInventoryDiscontinuation, triggered by rule on Entity:
> InventoryItem
> 1249267 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:465:DEBUG] [[ASync service started.
> ..- total:0.0,since last(Begin):0.0]] - 'entity-default /
> checkProductInventoryDiscontinuation'
> 1249267 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:556:DEBUG] [[ASync service finished
> ...- total:0.0,since last(ASync service sta...):0.0]] - 'entity-default
> / checkProductInventoryDisco
> ntinuation'
> 1249267 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.441,since last(Begin):0.441]] - 'entity-default /
> updateInventoryItemFromDetail'
> 1249277 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.842,since last(Begin):0.842]] - 'order / createInventoryItemDetail'
> 1249277 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:3.095,since last(Begin):3.095]] - 'order /
> issueOrderItemShipGrpInvResToShipment'
> 1249597 (http-0.0.0.0-8080-Processor3) [
> ServiceEcaRule.java:134:INFO ] Running Service ECA Serv
> ice: createShipmentPackage, triggered by rule on Service:
> createShipmentPackageContent
> 1249727 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.13,since last(Begin):0.13]] - 'order / createShipmentPackage'
> 1249767 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.17,since last(Begin):0.17]] - 'order /
> createShipmentPackageContent'
> 1249777 (http-0.0.0.0-8080-Processor3) [
> Log.java:103:INFO ] Shipment package: [Gener
>
icEntity:ShipmentPackageContent][shipmentId,10010(java.lang.String)][shipmentIte
mSeqId,00001(java.la

> ng.String)][shipmentPackageSeqId,00001(java.lang.String)]
> 1249777 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.32,since last(Begin):0.32]] - 'order / addShipmentContentToPackage'
> 1249817 (http-0.0.0.0-8080-Processor3) [      FieldToResult.java:75
> :WARN ] Field value not found wi
> th name lookedUpValue.destinationFacilityId in Map with name
> 1249948 (http-0.0.0.0-8080-Processor3) [
> ServiceEcaRule.java:134:INFO ] Running Service ECA Serv
> ice: prepareShipmentStaging, triggered by rule on Service: updateShipment
> 1249978 (invoker-Thread-7) [  ServiceDispatcher.java:447:DEBUG] [[Sync
> service finished- total:0.05,
> since last(Begin):0.05]] - 'entity-default /
> checkProductInventoryDiscontinuation'
> 1250138 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>  total:0.19,since last(Begin):0.19]] - 'order / prepareShipmentStaging'
> 1250148 (http-0.0.0.0-8080-Processor3) [
> ServiceEcaRule.java:134:INFO ] Running Service ECA Serv
> ice: createInvoicesFromShipment, triggered by rule on Service:
> updateShipment
> 1250428 (http-0.0.0.0-8080-Processor3) [
> ServiceDispatcher.java:381:DEBUG] [[Sync service failed...
> - total:0.0,since last(Begin):0.01]] - 'order / createInvoiceForOrder'
> 1250428 (http-0.0.0.0-8080-Processor3) [  ServiceDispatcher.java:384:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Service [createInvoiceForOrder] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service target threw an unexpected exception (null)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service target threw an
> unexpected exception (null)
>
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.ja
va:113)
>
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
>
org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceS
ervices.java:773)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
> java.lang.reflect.Method.invoke(Method.java:324)
>
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.ja
va:101)
>
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)

> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:109)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:135)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:173)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:372)
> .
> .
> .
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
>
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:296)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:251)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:252)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:202)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
13)
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
78)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.jav
> a:744)
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
7)
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
Thread.java:80)
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
4)
> java.lang.Thread.run(Thread.java:534)
> java.lang.NullPointerException
>
org.ofbiz.accounting.invoice.InvoiceServices.createInvoiceForOrder(InvoiceServic
es.java:191)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
> java.lang.reflect.Method.invoke(Method.java:324)
>
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.ja
va:101)
>
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
>
org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceS
ervices.java:773)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
> java.lang.reflect.Method.invoke(Method.java:324)
>
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.ja
va:101)
>
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
> .
> .
> .
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:202)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
13)
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
78)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.jav
> a:744)
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
7)
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
Thread.java:80)
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
4)
> java.lang.Thread.run(Thread.java:534)
> ------------------------------------------------------------------------------
--

>
> 1250609 (http-0.0.0.0-8080-Processor3) [    TransactionUtil.java:276:WARN ]
> ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
> this stack trace shows where
> this is happening:
> Exception: java.lang.Exception
> Message: null
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception
>
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.jav
a:276)
>
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:226)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:387)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
>
org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceS
ervices.java:773)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
> java.lang.reflect.Method.invoke(Method.java:324)
>
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.ja
va:101)
>
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)

> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:109)
> org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:135)
> org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:173)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:372)
> .
> .
> .
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:251)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:252)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:202)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
13)
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
78)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.jav
> a:744)
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
7)
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
Thread.java:80)
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
4)
> java.lang.Thread.run(Thread.java:534)
> ------------------------------------------------------------------------------
--

>
> 1250669 (http-0.0.0.0-8080-Processor3) [    InvoiceServices.java:776:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Trouble calling createInvoiceForOrder service; invoice not created for
> shipment
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service target threw an unexpected exception (null)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service target threw an
> unexpected exception (null)
>
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.ja
va:113)
>
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
>
org.ofbiz.accounting.invoice.InvoiceServices.createInvoicesFromShipment(InvoiceS
ervices.java:773)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
> java.lang.reflect.Method.invoke(Method.java:324)
>
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.ja
va:101)
>
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63)

> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:109)
>
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - quick-ship/invoice creation error using r7082

Ray Barlow
In reply to this post by Jacopo Cappellato
Just saw your commit log come in 10 minutes after I'd sent the email.
I've applied and tested it and all is working much better now with
quick-ship and the packing screens.

Thanks,

Ray

Jacopo Cappellato wrote:

>It's fixed in svn 7083.
>
>Jacopo
>
>Ray wrote:
>  
>
>>Hi,
>>
>>I can't get the "quick-ship entire order" button to work in the order
>>view section. This is a clean source base and DB, I've created a "Mail
>>Check" order in ecommerce for 1 GZ-1001, then in the order manager view
>>I've received payment for $5 (don't think that is important) and the
>>clicked on quick-ship button and the log file is listed below.
>>
>>Have just done a quick test using the "pack shipment for ship group
>>[00001]" screen and it fails with the same errors when completing the
>>packing. All the orders are raised and processed using the admin account
>>as that is the easiest route for testing.
>>
>>Ray
>>
>>    
>>
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev