[jira] Created: (OFBIZ-1809) Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error

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

[jira] Created: (OFBIZ-1809) Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error

Nicolas Malin (Jira)
Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: OFBIZ-1809
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1809
             Project: OFBiz
          Issue Type: Bug
          Components: order
    Affects Versions: SVN trunk, Release Branch 4.0
            Reporter: Jacques Le Roux
            Priority: Minor
             Fix For: SVN trunk, Release Branch 4.0


Here is the stack

2008-05-28 17:27:11,281 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #0 [NO_SHIPPING / _NA_]
2008-05-28 17:27:11,312 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #1 [null / null]
2008-05-28 17:27:11,312 (http-0.0.0.0-18443-1) [      OrderServices.java:3552:ERROR] Please Select Your Shipping Method.
2008-05-28 17:27:11,312 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:522:ERROR] Error in Service [appendOrderItem]: Please Select Your Shipping Method.
2008-05-28 17:27:11,312 (http-0.0.0.0-18443-1) [    TransactionUtil.java:275: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:274)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1809) Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-1809:
-----------------------------------

    Description:
Here is the stack

2008-05-28 19:51:11,187 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #0 [NO_SHIPPING / _NA_]
2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #1 [null / null]
2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3552:ERROR] Please Select Your Shipping Method.
2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:522:ERROR] Error in Service [appendOrderItem]: Please Select Your Shipping Method.
2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:275: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:274)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:363)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:255)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
2008-05-28 19:51:11,218 (Thread-4954) [   ServiceXaWrapper.java:288:INFO ] [Rollback] Invoking [savePaymentGatewayResponse] via runAsync
2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:578:INFO ] Sync service [order/appendOrderItem] finished in [3187] milliseconds
2008-05-28 19:51:11,218 (Thread-4954) [  ServiceDispatcher.java:599:INFO ] [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'order / savePaymentGatewayResponse'
2008-05-28 19:51:11,234 (http-0.0.0.0-18443-1) [     RequestHandler.java:314:ERROR] Request appendItemToOrder caused an error with the following message: Please Select Your Shipping Method.
2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:433:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:584:INFO ] servletName=control, view=editorderitems sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:701:INFO ] [[ASync service failed...- total:0.016,since last(ASync service sta...):0.016]] - 'order / savePaymentGatewayResponse'
2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:704:ERROR]
---- runtime exception report --------------------------------------------------
Service [savePaymentGatewayResponse] threw an unexpected exception/error
Exception: java.lang.NullPointerException
Message: null
---- stack trace ---------------------------------------------------------------
java.lang.NullPointerException
org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
--------------------------------------------------------------------------------

2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:311:WARN ]
---- exception report ----------------------------------------------------------
[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
Exception: java.lang.Exception
Message: Service [savePaymentGatewayResponse] threw an unexpected exception/error
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Service [savePaymentGatewayResponse] threw an unexpected exception/error
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258)
org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:707)
org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
--------------------------------------------------------------------------------

2008-05-28 19:51:11,250 (Thread-4954) [   ServiceXaWrapper.java:298:ERROR]
---- exception report ----------------------------------------------------------
Problem calling [Rollback] service : savePaymentGatewayResponse / {{paymentGatewayResponse,[GenericEntity:PaymentGatewayResponse][altReference,1211997070890(java.lang.String)][createdStamp,2008-05-28 19:51:10
.89(java.sql.Timestamp)][createdTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][gatewayCode,null()][gatewayFlag,U(java.lang.String)][gatewayMessage,This is a test release; no authorizations exist(java.la
ng.String)][lastUpdatedStamp,2008-05-28 19:51:10.89(java.sql.Timestamp)][lastUpdatedTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][orderPaymentPreferenceId,10087(java.lang.String)][paymentGatewayRespons
eId,10055(java.lang.String)][paymentMethodId,9015(java.lang.String)][paymentMethodTypeId,CREDIT_CARD(java.lang.String)][paymentServiceTypeEnumId,PRDS_PAY_RELEASE(java.lang.String)][referenceNum,1211997070890(
java.lang.String)][transCodeEnumId,PGT_RELEASE(java.lang.String)][transactionDate,2008-05-28 19:51:10.89(java.sql.Timestamp)]}}
Exception: org.ofbiz.service.GenericServiceException
Message: Service [savePaymentGatewayResponse] Failed (null)
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.GenericServiceException: Service [savePaymentGatewayResponse] Failed (null)
org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:719)
org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
java.lang.NullPointerException
org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
--------------------------------------------------------------------------------

2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:275: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:274)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:300)
org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
--------------------------------------------------------------------------------

2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:209:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [            UtilXml.java:241:INFO ] XML Read 0.047s: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml
2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [      ScreenFactory.java:128:INFO ] Got 18 screens in 0.062s from: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml

  was:
Here is the stack

2008-05-28 17:27:11,281 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #0 [NO_SHIPPING / _NA_]
2008-05-28 17:27:11,312 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #1 [null / null]
2008-05-28 17:27:11,312 (http-0.0.0.0-18443-1) [      OrderServices.java:3552:ERROR] Please Select Your Shipping Method.
2008-05-28 17:27:11,312 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:522:ERROR] Error in Service [appendOrderItem]: Please Select Your Shipping Method.
2008-05-28 17:27:11,312 (http-0.0.0.0-18443-1) [    TransactionUtil.java:275: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:274)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)


> Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1809
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1809
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk, Release Branch 4.0
>
>
> Here is the stack
> 2008-05-28 19:51:11,187 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #0 [NO_SHIPPING / _NA_]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #1 [null / null]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3552:ERROR] Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:522:ERROR] Error in Service [appendOrderItem]: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:363)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:255)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,218 (Thread-4954) [   ServiceXaWrapper.java:288:INFO ] [Rollback] Invoking [savePaymentGatewayResponse] via runAsync
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:578:INFO ] Sync service [order/appendOrderItem] finished in [3187] milliseconds
> 2008-05-28 19:51:11,218 (Thread-4954) [  ServiceDispatcher.java:599:INFO ] [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,234 (http-0.0.0.0-18443-1) [     RequestHandler.java:314:ERROR] Request appendItemToOrder caused an error with the following message: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:433:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:584:INFO ] servletName=control, view=editorderitems sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:701:INFO ] [[ASync service failed...- total:0.016,since last(ASync service sta...):0.016]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:704:ERROR]
> ---- runtime exception report --------------------------------------------------
> Service [savePaymentGatewayResponse] threw an unexpected exception/error
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:311:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:707)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [   ServiceXaWrapper.java:298:ERROR]
> ---- exception report ----------------------------------------------------------
> Problem calling [Rollback] service : savePaymentGatewayResponse / {{paymentGatewayResponse,[GenericEntity:PaymentGatewayResponse][altReference,1211997070890(java.lang.String)][createdStamp,2008-05-28 19:51:10
> .89(java.sql.Timestamp)][createdTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][gatewayCode,null()][gatewayFlag,U(java.lang.String)][gatewayMessage,This is a test release; no authorizations exist(java.la
> ng.String)][lastUpdatedStamp,2008-05-28 19:51:10.89(java.sql.Timestamp)][lastUpdatedTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][orderPaymentPreferenceId,10087(java.lang.String)][paymentGatewayRespons
> eId,10055(java.lang.String)][paymentMethodId,9015(java.lang.String)][paymentMethodTypeId,CREDIT_CARD(java.lang.String)][paymentServiceTypeEnumId,PRDS_PAY_RELEASE(java.lang.String)][referenceNum,1211997070890(
> java.lang.String)][transCodeEnumId,PGT_RELEASE(java.lang.String)][transactionDate,2008-05-28 19:51:10.89(java.sql.Timestamp)]}}
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service [savePaymentGatewayResponse] Failed (null)
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service [savePaymentGatewayResponse] Failed (null)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:719)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:300)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:209:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [            UtilXml.java:241:INFO ] XML Read 0.047s: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [      ScreenFactory.java:128:INFO ] Got 18 screens in 0.062s from: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-1809) Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-1809:
--------------------------------------

    Assignee: Jacques Le Roux

> Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1809
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1809
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 4.0, SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Release Branch 4.0, SVN trunk
>
>
> Here is the stack
> 2008-05-28 19:51:11,187 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #0 [NO_SHIPPING / _NA_]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #1 [null / null]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3552:ERROR] Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:522:ERROR] Error in Service [appendOrderItem]: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:363)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:255)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,218 (Thread-4954) [   ServiceXaWrapper.java:288:INFO ] [Rollback] Invoking [savePaymentGatewayResponse] via runAsync
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:578:INFO ] Sync service [order/appendOrderItem] finished in [3187] milliseconds
> 2008-05-28 19:51:11,218 (Thread-4954) [  ServiceDispatcher.java:599:INFO ] [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,234 (http-0.0.0.0-18443-1) [     RequestHandler.java:314:ERROR] Request appendItemToOrder caused an error with the following message: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:433:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:584:INFO ] servletName=control, view=editorderitems sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:701:INFO ] [[ASync service failed...- total:0.016,since last(ASync service sta...):0.016]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:704:ERROR]
> ---- runtime exception report --------------------------------------------------
> Service [savePaymentGatewayResponse] threw an unexpected exception/error
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:311:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:707)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [   ServiceXaWrapper.java:298:ERROR]
> ---- exception report ----------------------------------------------------------
> Problem calling [Rollback] service : savePaymentGatewayResponse / {{paymentGatewayResponse,[GenericEntity:PaymentGatewayResponse][altReference,1211997070890(java.lang.String)][createdStamp,2008-05-28 19:51:10
> .89(java.sql.Timestamp)][createdTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][gatewayCode,null()][gatewayFlag,U(java.lang.String)][gatewayMessage,This is a test release; no authorizations exist(java.la
> ng.String)][lastUpdatedStamp,2008-05-28 19:51:10.89(java.sql.Timestamp)][lastUpdatedTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][orderPaymentPreferenceId,10087(java.lang.String)][paymentGatewayRespons
> eId,10055(java.lang.String)][paymentMethodId,9015(java.lang.String)][paymentMethodTypeId,CREDIT_CARD(java.lang.String)][paymentServiceTypeEnumId,PRDS_PAY_RELEASE(java.lang.String)][referenceNum,1211997070890(
> java.lang.String)][transCodeEnumId,PGT_RELEASE(java.lang.String)][transactionDate,2008-05-28 19:51:10.89(java.sql.Timestamp)]}}
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service [savePaymentGatewayResponse] Failed (null)
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service [savePaymentGatewayResponse] Failed (null)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:719)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:300)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:209:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [            UtilXml.java:241:INFO ] XML Read 0.047s: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [      ScreenFactory.java:128:INFO ] Got 18 screens in 0.062s from: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1809) Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-1809.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Release Branch 4.0)
         Assignee:     (was: Jacques Le Roux)

This is now working in trunk but I did not take a chance to backport (what anyway ?) in R4.0

> Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1809
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1809
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 4.0, SVN trunk
>            Reporter: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> Here is the stack
> 2008-05-28 19:51:11,187 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #0 [NO_SHIPPING / _NA_]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #1 [null / null]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3552:ERROR] Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:522:ERROR] Error in Service [appendOrderItem]: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:363)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:255)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,218 (Thread-4954) [   ServiceXaWrapper.java:288:INFO ] [Rollback] Invoking [savePaymentGatewayResponse] via runAsync
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:578:INFO ] Sync service [order/appendOrderItem] finished in [3187] milliseconds
> 2008-05-28 19:51:11,218 (Thread-4954) [  ServiceDispatcher.java:599:INFO ] [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,234 (http-0.0.0.0-18443-1) [     RequestHandler.java:314:ERROR] Request appendItemToOrder caused an error with the following message: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:433:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:584:INFO ] servletName=control, view=editorderitems sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:701:INFO ] [[ASync service failed...- total:0.016,since last(ASync service sta...):0.016]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:704:ERROR]
> ---- runtime exception report --------------------------------------------------
> Service [savePaymentGatewayResponse] threw an unexpected exception/error
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:311:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:707)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [   ServiceXaWrapper.java:298:ERROR]
> ---- exception report ----------------------------------------------------------
> Problem calling [Rollback] service : savePaymentGatewayResponse / {{paymentGatewayResponse,[GenericEntity:PaymentGatewayResponse][altReference,1211997070890(java.lang.String)][createdStamp,2008-05-28 19:51:10
> .89(java.sql.Timestamp)][createdTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][gatewayCode,null()][gatewayFlag,U(java.lang.String)][gatewayMessage,This is a test release; no authorizations exist(java.la
> ng.String)][lastUpdatedStamp,2008-05-28 19:51:10.89(java.sql.Timestamp)][lastUpdatedTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][orderPaymentPreferenceId,10087(java.lang.String)][paymentGatewayRespons
> eId,10055(java.lang.String)][paymentMethodId,9015(java.lang.String)][paymentMethodTypeId,CREDIT_CARD(java.lang.String)][paymentServiceTypeEnumId,PRDS_PAY_RELEASE(java.lang.String)][referenceNum,1211997070890(
> java.lang.String)][transCodeEnumId,PGT_RELEASE(java.lang.String)][transactionDate,2008-05-28 19:51:10.89(java.sql.Timestamp)]}}
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service [savePaymentGatewayResponse] Failed (null)
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service [savePaymentGatewayResponse] Failed (null)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:719)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:300)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:209:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [            UtilXml.java:241:INFO ] XML Read 0.047s: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [      ScreenFactory.java:128:INFO ] Got 18 screens in 0.062s from: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Reopened: (OFBIZ-1809) Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reopened OFBIZ-1809:
------------------------------------


Mm, actually not, now it's adding in the 1st *and* the 2d ship group when you ask only to add in the 2d :(

> Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1809
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1809
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 4.0, SVN trunk
>            Reporter: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> Here is the stack
> 2008-05-28 19:51:11,187 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #0 [NO_SHIPPING / _NA_]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #1 [null / null]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3552:ERROR] Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:522:ERROR] Error in Service [appendOrderItem]: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:363)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:255)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,218 (Thread-4954) [   ServiceXaWrapper.java:288:INFO ] [Rollback] Invoking [savePaymentGatewayResponse] via runAsync
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:578:INFO ] Sync service [order/appendOrderItem] finished in [3187] milliseconds
> 2008-05-28 19:51:11,218 (Thread-4954) [  ServiceDispatcher.java:599:INFO ] [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,234 (http-0.0.0.0-18443-1) [     RequestHandler.java:314:ERROR] Request appendItemToOrder caused an error with the following message: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:433:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:584:INFO ] servletName=control, view=editorderitems sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:701:INFO ] [[ASync service failed...- total:0.016,since last(ASync service sta...):0.016]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:704:ERROR]
> ---- runtime exception report --------------------------------------------------
> Service [savePaymentGatewayResponse] threw an unexpected exception/error
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:311:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:707)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [   ServiceXaWrapper.java:298:ERROR]
> ---- exception report ----------------------------------------------------------
> Problem calling [Rollback] service : savePaymentGatewayResponse / {{paymentGatewayResponse,[GenericEntity:PaymentGatewayResponse][altReference,1211997070890(java.lang.String)][createdStamp,2008-05-28 19:51:10
> .89(java.sql.Timestamp)][createdTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][gatewayCode,null()][gatewayFlag,U(java.lang.String)][gatewayMessage,This is a test release; no authorizations exist(java.la
> ng.String)][lastUpdatedStamp,2008-05-28 19:51:10.89(java.sql.Timestamp)][lastUpdatedTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][orderPaymentPreferenceId,10087(java.lang.String)][paymentGatewayRespons
> eId,10055(java.lang.String)][paymentMethodId,9015(java.lang.String)][paymentMethodTypeId,CREDIT_CARD(java.lang.String)][paymentServiceTypeEnumId,PRDS_PAY_RELEASE(java.lang.String)][referenceNum,1211997070890(
> java.lang.String)][transCodeEnumId,PGT_RELEASE(java.lang.String)][transactionDate,2008-05-28 19:51:10.89(java.sql.Timestamp)]}}
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service [savePaymentGatewayResponse] Failed (null)
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service [savePaymentGatewayResponse] Failed (null)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:719)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:300)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:209:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [            UtilXml.java:241:INFO ] XML Read 0.047s: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [      ScreenFactory.java:128:INFO ] Got 18 screens in 0.062s from: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-1809) Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato reassigned OFBIZ-1809:
----------------------------------------

    Assignee: Jacopo Cappellato

> Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1809
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1809
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 4.0, SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> Here is the stack
> 2008-05-28 19:51:11,187 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #0 [NO_SHIPPING / _NA_]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #1 [null / null]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3552:ERROR] Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:522:ERROR] Error in Service [appendOrderItem]: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:363)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:255)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,218 (Thread-4954) [   ServiceXaWrapper.java:288:INFO ] [Rollback] Invoking [savePaymentGatewayResponse] via runAsync
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:578:INFO ] Sync service [order/appendOrderItem] finished in [3187] milliseconds
> 2008-05-28 19:51:11,218 (Thread-4954) [  ServiceDispatcher.java:599:INFO ] [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,234 (http-0.0.0.0-18443-1) [     RequestHandler.java:314:ERROR] Request appendItemToOrder caused an error with the following message: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:433:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:584:INFO ] servletName=control, view=editorderitems sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:701:INFO ] [[ASync service failed...- total:0.016,since last(ASync service sta...):0.016]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:704:ERROR]
> ---- runtime exception report --------------------------------------------------
> Service [savePaymentGatewayResponse] threw an unexpected exception/error
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:311:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:707)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [   ServiceXaWrapper.java:298:ERROR]
> ---- exception report ----------------------------------------------------------
> Problem calling [Rollback] service : savePaymentGatewayResponse / {{paymentGatewayResponse,[GenericEntity:PaymentGatewayResponse][altReference,1211997070890(java.lang.String)][createdStamp,2008-05-28 19:51:10
> .89(java.sql.Timestamp)][createdTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][gatewayCode,null()][gatewayFlag,U(java.lang.String)][gatewayMessage,This is a test release; no authorizations exist(java.la
> ng.String)][lastUpdatedStamp,2008-05-28 19:51:10.89(java.sql.Timestamp)][lastUpdatedTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][orderPaymentPreferenceId,10087(java.lang.String)][paymentGatewayRespons
> eId,10055(java.lang.String)][paymentMethodId,9015(java.lang.String)][paymentMethodTypeId,CREDIT_CARD(java.lang.String)][paymentServiceTypeEnumId,PRDS_PAY_RELEASE(java.lang.String)][referenceNum,1211997070890(
> java.lang.String)][transCodeEnumId,PGT_RELEASE(java.lang.String)][transactionDate,2008-05-28 19:51:10.89(java.sql.Timestamp)]}}
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service [savePaymentGatewayResponse] Failed (null)
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service [savePaymentGatewayResponse] Failed (null)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:719)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:300)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:209:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [            UtilXml.java:241:INFO ] XML Read 0.047s: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [      ScreenFactory.java:128:INFO ] Got 18 screens in 0.062s from: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1809) Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacopo Cappellato commented on OFBIZ-1809:
------------------------------------------

Jacques, I have fixed the bug you have reported in your last comment in rev. 980655.
As regards the main bug report of this Jira ticket: I was able to recreate the error yesterday, I did a lot of research and tests and I mostly identified the source of the error, but then, as it appeared, it suddenly disappeared. Really frustrating. I will keep this ticket open because today I am going to do some more tests.


> Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1809
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1809
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 4.0, SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> Here is the stack
> 2008-05-28 19:51:11,187 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #0 [NO_SHIPPING / _NA_]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #1 [null / null]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3552:ERROR] Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:522:ERROR] Error in Service [appendOrderItem]: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:363)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:255)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,218 (Thread-4954) [   ServiceXaWrapper.java:288:INFO ] [Rollback] Invoking [savePaymentGatewayResponse] via runAsync
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:578:INFO ] Sync service [order/appendOrderItem] finished in [3187] milliseconds
> 2008-05-28 19:51:11,218 (Thread-4954) [  ServiceDispatcher.java:599:INFO ] [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,234 (http-0.0.0.0-18443-1) [     RequestHandler.java:314:ERROR] Request appendItemToOrder caused an error with the following message: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:433:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:584:INFO ] servletName=control, view=editorderitems sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:701:INFO ] [[ASync service failed...- total:0.016,since last(ASync service sta...):0.016]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:704:ERROR]
> ---- runtime exception report --------------------------------------------------
> Service [savePaymentGatewayResponse] threw an unexpected exception/error
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:311:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:707)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [   ServiceXaWrapper.java:298:ERROR]
> ---- exception report ----------------------------------------------------------
> Problem calling [Rollback] service : savePaymentGatewayResponse / {{paymentGatewayResponse,[GenericEntity:PaymentGatewayResponse][altReference,1211997070890(java.lang.String)][createdStamp,2008-05-28 19:51:10
> .89(java.sql.Timestamp)][createdTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][gatewayCode,null()][gatewayFlag,U(java.lang.String)][gatewayMessage,This is a test release; no authorizations exist(java.la
> ng.String)][lastUpdatedStamp,2008-05-28 19:51:10.89(java.sql.Timestamp)][lastUpdatedTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][orderPaymentPreferenceId,10087(java.lang.String)][paymentGatewayRespons
> eId,10055(java.lang.String)][paymentMethodId,9015(java.lang.String)][paymentMethodTypeId,CREDIT_CARD(java.lang.String)][paymentServiceTypeEnumId,PRDS_PAY_RELEASE(java.lang.String)][referenceNum,1211997070890(
> java.lang.String)][transCodeEnumId,PGT_RELEASE(java.lang.String)][transactionDate,2008-05-28 19:51:10.89(java.sql.Timestamp)]}}
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service [savePaymentGatewayResponse] Failed (null)
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service [savePaymentGatewayResponse] Failed (null)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:719)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:300)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:209:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [            UtilXml.java:241:INFO ] XML Read 0.047s: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [      ScreenFactory.java:128:INFO ] Got 18 screens in 0.062s from: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1809) Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

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

Thanks Jacopo,

Much appreciated, and yes this kind of furtive errors are very frustrating

> Adding an item in the 2d (or 3d, etc., I guess) ship group of a splitted order without adding before in the 1st group you get a "Please Select Your Shipping Method." error
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1809
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1809
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 4.0, SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>             Fix For: SVN trunk
>
>
> Here is the stack
> 2008-05-28 19:51:11,187 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #0 [NO_SHIPPING / _NA_]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3549:INFO ] Getting ship estimate for group #1 [null / null]
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [      OrderServices.java:3552:ERROR] Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:522:ERROR] Error in Service [appendOrderItem]: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149)
> org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:334)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:363)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:255)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:595)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,218 (Thread-4954) [   ServiceXaWrapper.java:288:INFO ] [Rollback] Invoking [savePaymentGatewayResponse] via runAsync
> 2008-05-28 19:51:11,218 (http-0.0.0.0-18443-1) [  ServiceDispatcher.java:578:INFO ] Sync service [order/appendOrderItem] finished in [3187] milliseconds
> 2008-05-28 19:51:11,218 (Thread-4954) [  ServiceDispatcher.java:599:INFO ] [[ASync service started...- total:0.0,since last(Begin):0.0]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,234 (http-0.0.0.0-18443-1) [     RequestHandler.java:314:ERROR] Request appendItemToOrder caused an error with the following message: Please Select Your Shipping Method.
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:433:INFO ] [RequestHandler.doRequest]: Response is a view. sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (http-0.0.0.0-18443-1) [     RequestHandler.java:584:INFO ] servletName=control, view=editorderitems sessionId=0211F4D0988875B4DE2A0A0AEC3F9D2B.jvm1
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:701:INFO ] [[ASync service failed...- total:0.016,since last(ASync service sta...):0.016]] - 'order / savePaymentGatewayResponse'
> 2008-05-28 19:51:11,250 (Thread-4954) [  ServiceDispatcher.java:704:ERROR]
> ---- runtime exception report --------------------------------------------------
> Service [savePaymentGatewayResponse] threw an unexpected exception/error
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:311:WARN ]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Service [savePaymentGatewayResponse] threw an unexpected exception/error
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:311)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:258)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:707)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [   ServiceXaWrapper.java:298:ERROR]
> ---- exception report ----------------------------------------------------------
> Problem calling [Rollback] service : savePaymentGatewayResponse / {{paymentGatewayResponse,[GenericEntity:PaymentGatewayResponse][altReference,1211997070890(java.lang.String)][createdStamp,2008-05-28 19:51:10
> .89(java.sql.Timestamp)][createdTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][gatewayCode,null()][gatewayFlag,U(java.lang.String)][gatewayMessage,This is a test release; no authorizations exist(java.la
> ng.String)][lastUpdatedStamp,2008-05-28 19:51:10.89(java.sql.Timestamp)][lastUpdatedTxStamp,2008-05-28 19:51:08.031(java.sql.Timestamp)][orderPaymentPreferenceId,10087(java.lang.String)][paymentGatewayRespons
> eId,10055(java.lang.String)][paymentMethodId,9015(java.lang.String)][paymentMethodTypeId,CREDIT_CARD(java.lang.String)][paymentServiceTypeEnumId,PRDS_PAY_RELEASE(java.lang.String)][referenceNum,1211997070890(
> java.lang.String)][transCodeEnumId,PGT_RELEASE(java.lang.String)][transactionDate,2008-05-28 19:51:10.89(java.sql.Timestamp)]}}
> Exception: org.ofbiz.service.GenericServiceException
> Message: Service [savePaymentGatewayResponse] Failed (null)
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.service.GenericServiceException: Service [savePaymentGatewayResponse] Failed (null)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:719)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:103)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:72)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:690)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:757)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:242)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:289)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:275: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:274)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
> org.ofbiz.service.ServiceXaWrapper.runService(ServiceXaWrapper.java:300)
> org.ofbiz.service.ServiceXaWrapper$2.run(ServiceXaWrapper.java:207)
> --------------------------------------------------------------------------------
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2008-05-28 19:51:11,250 (Thread-4954) [    TransactionUtil.java:209:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [            UtilXml.java:241:INFO ] XML Read 0.047s: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml
> 2008-05-28 19:51:11,312 (http-0.0.0.0-18443-1) [      ScreenFactory.java:128:INFO ] Got 18 screens in 0.062s from: file:/D:/workspace/ofbizRun/applications/order/widget/ordermgr/OrderViewScreens.xml

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.