It's been a few weeks since I looked at the anonymous checkout since the
training in Utah were we worked on it. It looks like it's been committed as part of Revision 479879... I'm thinkin' there's a few things still needin' fixin'... There is no graceful error message when you submit /ecommerce/control/setShipping with missing data. It spits out the typical ofBiz-BSOD equivalent with The Following Errors Occurred: * ERROR: Could not complete the Process Ship Settings; to be called as a Request Event [file:/ofbiz/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml#processShipSettings] process [problem invoking the [createPartyPostalAddress] service with the map named [addressContext] containing [{attnName=null, yearsWithContactMech=null, userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-2913:29:25.0(java.sql.Timestamp)] [...sniped thousands more characters...] Rather than how /ecommerce/control/setCustomer when submitted gracefully errors with messages like The Following Errors Occurred: * Firstname is Missing * Lastname is Missing and allows the operator to make corrections to those entries. The /ecommerce/control/setShipOptions page as well does allow you to *not* pick a shipping method, which *should* error out that you did not pick a radio button, or inform you that some default method was chosen... The ecommerce/control/setPaymentOption does not seem to remember previous settings, at least the radio buttons do not maintain there settings when you return to that page unless you reach the "Review Order Page". It then seems to remember your choice. Also if an operator selects "Offline Payment", when the setPaymentInformation page is submitted, nothing happens. It doesn't go to review order, nor generate anything in the log files. On ecommerce/control/setPaymentInformation?paymentMethodTypeId=CREDIT_CARD it suffers as well as unfriendly error messages for missing data like City or State I'd like to personally thank Tim, David, & Ashish (and anyone else who contributed) for getting the work of two groups consolidated, and thank whomever can get this fixed and a patch generated to finish this up. I also submitted portions of this email to Jira as well as part of https://issues.apache.org/jira/browse/OFBIZ-498 -- Walter |
Walter, thanks for taking such an active interest in helping us test
this. It's a big deal. We'll get back on this and review and get to some of this shortly. Keep an eye out for a new patch. I've got one to test right now that I'll inform everyone about shortly. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 Walter Vaughan wrote: > It's been a few weeks since I looked at the anonymous checkout since > the training in Utah were we worked on it. It looks like it's been > committed as part of Revision 479879... I'm thinkin' there's a few > things still needin' fixin'... > > There is no graceful error message when you submit > /ecommerce/control/setShipping with missing data. It spits out the > typical ofBiz-BSOD equivalent with > > The Following Errors Occurred: > > * ERROR: Could not complete the Process Ship Settings; to be > called as a Request Event > [file:/ofbiz/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml#processShipSettings] > process [problem invoking the [createPartyPostalAddress] service with > the map named [addressContext] containing [{attnName=null, > yearsWithContactMech=null, > userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-2913:29:25.0(java.sql.Timestamp)] > > > [...sniped thousands more characters...] > > Rather than how /ecommerce/control/setCustomer when submitted > gracefully errors with messages like > > The Following Errors Occurred: > > * Firstname is Missing > * Lastname is Missing > > and allows the operator to make corrections to those entries. > > The /ecommerce/control/setShipOptions page as well does allow you to > *not* pick a shipping method, which *should* error out that you did > not pick a radio button, or inform you that some default method was > chosen... > > The ecommerce/control/setPaymentOption does not seem to remember > previous settings, at least the radio buttons do not maintain there > settings when you return to that page unless you reach the "Review > Order Page". It then seems to remember your choice. Also if an > operator selects "Offline Payment", when the setPaymentInformation > page is submitted, nothing happens. It doesn't go to review order, nor > generate anything in the log files. > > On > ecommerce/control/setPaymentInformation?paymentMethodTypeId=CREDIT_CARD > it suffers as well as unfriendly error messages for missing data like > City or State > > I'd like to personally thank Tim, David, & Ashish (and anyone else who > contributed) for getting the work of two groups consolidated, and > thank whomever can get this fixed and a patch generated to finish this > up. > > I also submitted portions of this email to Jira as well as part of > https://issues.apache.org/jira/browse/OFBIZ-498 > > -- > Walter |
Hi,
The latest anonymous checkout seems to have few bugs. If the 'Show Checkout Gift Options' options in set to 'N' in Store congif page the checkout process throws this error just after selecting the shipping method options. 2006-12-22 06:08:50,921 (http-0.0.0.0-8443-Processor2) [ ScreenFactory.java:115:INFO ] Got 8 screens in 0.031s from: file:/E:/ofbiz_tmn/applications/ecommerce/widget/ContentScreens.xml 2006-12-22 06:08:51,906 (http-0.0.0.0-8443-Processor2) [ ControlServlet.java:245:DEBUG] [[[processShipOptions] Done rendering page, Servlet Finished- total:3.719,since last([processShipOptio...):3.719]] 2006-12-22 06:08:52,015 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:245:DEBUG] [[[setShipOptions] Done rendering page, Servlet Finished- total:3.812,since last([setShipOptions] ...):3.812]] 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:85 :INFO ] The character encoding of the request is: [null]. The character encoding we will use for the request and response is: [UTF-8] 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:121:DEBUG] [[[processShipOptions] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]] 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:170:DEBUG] [[[processShipOptions] Setup done, doing Event(s) and View(s)- total:0.0,since last([processShipOptio...):0.0]] 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ RequestHandler.java:197:INFO ] [Processing Request]: processShipOptions 2006-12-22 06:08:55,578 (http-0.0.0.0-8443-Processor4) [ FieldObject.java:75 :INFO ] Field value not found with name isGift in Map with name , not getting Object value, returning null. 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ CallObjectMethod.java:163:ERROR] ---- runtime exception report -------------------------------------------------- Method in call method operation threw an exception Exception: java.lang.NullPointerException Message: null ---- stack trace --------------------------------------------------------------- java.lang.NullPointerException org.ofbiz.order.shoppingcart.ShoppingCart.setIsGift(ShoppingCart.java:2094) org.ofbiz.order.shoppingcart.ShoppingCart.setIsGift(ShoppingCart.java:2098) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:324) org.ofbiz.minilang.method.callops.CallObjectMethod.callMethod(CallObjectMethod.java:135) org.ofbiz.minilang.method.callops.CallObjectMethod.exec(CallObjectMethod.java:102) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:926) org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:81) org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:926) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:565) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:102) org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java:63) org.ofbiz.webapp.event.SimpleEventHandler.invoke(SimpleEventHandler.java:69) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:406) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:237) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:74) javax.servlet.http.HttpServlet.service(HttpServlet.java:615) javax.servlet.http.HttpServlet.service(HttpServlet.java:688) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:534) -------------------------------------------------------------------------------- 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ TransactionUtil.java:249: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:248) org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:230) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:694) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:102) org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java:63) org.ofbiz.webapp.event.SimpleEventHandler.invoke(SimpleEventHandler.java:69) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:406) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:237) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:74) javax.servlet.http.HttpServlet.service(HttpServlet.java:615) javax.servlet.http.HttpServlet.service(HttpServlet.java:688) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:534) -------------------------------------------------------------------------------- 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ TransactionUtil.java:259:INFO ] [TransactionUtil.rollback] transaction rolled back 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ RequestHandler.java:268:ERROR] Request processShipOptions caused an error with the following message: ERROR: Could not complete the Process Ship Options; to be called as a Request Event [file:/E:/ofbiz_tmn/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml#processShipOptions] process [Method to execute named setIsGift threw an exception: java.lang.NullPointerException] 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ RequestHandler.java:385:INFO ] [RequestHandler.doRequest]: Response is a view. 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ RequestHandler.java:537:INFO ] servletName=control, view=optionsetting
|
Administrator
|
Rohit,
If this is related to https://issues.apache.org/jira/browse/OFBIZ-510, can you add a post in there please (else forget it) ? Thanks Jacques ----- Original Message ----- From: "rohit2006" <[hidden email]> To: <[hidden email]> Sent: Friday, December 22, 2006 12:15 PM Subject: Re: Anonymous Checkout > > Hi, > > The latest anonymous checkout seems to have few bugs. If the 'Show Checkout > Gift Options' options in set to 'N' in Store congif page the checkout > process throws this error just after selecting the shipping method options. > > 2006-12-22 06:08:50,921 (http-0.0.0.0-8443-Processor2) [ > ScreenFactory.java:115:INFO ] Got 8 screens in 0.031s from: > file:/E:/ofbiz_tmn/applications/ecommerce/widget/ContentScreens.xml > 2006-12-22 06:08:51,906 (http-0.0.0.0-8443-Processor2) [ > ControlServlet.java:245:DEBUG] [[[processShipOptions] Done rendering page, > Servlet Finished- total:3.719,since last([processShipOptio...):3.719]] > 2006-12-22 06:08:52,015 (http-0.0.0.0-8443-Processor4) [ > ControlServlet.java:245:DEBUG] [[[setShipOptions] Done rendering page, > Servlet Finished- total:3.812,since last([setShipOptions] ...):3.812]] > 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ > ControlServlet.java:85 :INFO ] The character encoding of the request is: > [null]. The character encoding we will use for the request and response is: > [UTF-8] > 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ > ControlServlet.java:121:DEBUG] [[[processShipOptions] Servlet Starting, > doing setup- total:0.0,since last(Begin):0.0]] > 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ > ControlServlet.java:170:DEBUG] [[[processShipOptions] Setup done, doing > Event(s) and View(s)- total:0.0,since last([processShipOptio...):0.0]] > 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ > RequestHandler.java:197:INFO ] [Processing Request]: processShipOptions > 2006-12-22 06:08:55,578 (http-0.0.0.0-8443-Processor4) [ > FieldObject.java:75 :INFO ] Field value not found with name isGift in Map > with name , not getting Object value, returning null. > 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ > CallObjectMethod.java:163:ERROR] > ---- runtime exception report > -------------------------------------------------- > Method in call method operation threw an exception > Exception: java.lang.NullPointerException > Message: null > ---- stack trace > --------------------------------------------------------------- > java.lang.NullPointerException > org.ofbiz.order.shoppingcart.ShoppingCart.setIsGift(ShoppingCart.java:2094) > org.ofbiz.order.shoppingcart.ShoppingCart.setIsGift(ShoppingCart.java:2098) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:324) > org.ofbiz.minilang.method.callops.CallObjectMethod.callMethod(CallObjectMethod.java:135) > org.ofbiz.minilang.method.callops.CallObjectMethod.exec(CallObjectMethod.java:102) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:926) > org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:81) > org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:926) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:565) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:102) > org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java:63) > org.ofbiz.webapp.event.SimpleEventHandler.invoke(SimpleEventHandler.java:69) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:406) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:237) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:74) > javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:534) > -------------------------------------------------------------------------------- > > 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ > TransactionUtil.java:249: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:248) > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:230) > org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:694) > org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:102) > org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java:63) > org.ofbiz.webapp.event.SimpleEventHandler.invoke(SimpleEventHandler.java:69) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:406) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:237) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:74) > javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:534) > -------------------------------------------------------------------------------- > > 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ > TransactionUtil.java:259:INFO ] [TransactionUtil.rollback] transaction > rolled back > 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ > RequestHandler.java:268:ERROR] Request processShipOptions caused an error > with the following message: ERROR: Could not complete the Process Ship > Options; to be called as a Request Event > [file:/E:/ofbiz_tmn/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml#processShipOptions] > process [Method to execute named setIsGift threw an exception: > java.lang.NullPointerException] > 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ > RequestHandler.java:385:INFO ] [RequestHandler.doRequest]: Response is a > view. > 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ > RequestHandler.java:537:INFO ] servletName=control, view=optionsetting > > > > > Tim Ruppert wrote: > > > > Walter, thanks for taking such an active interest in helping us test > > this. It's a big deal. We'll get back on this and review and get to > > some of this shortly. Keep an eye out for a new patch. > > > > I've got one to test right now that I'll inform everyone about shortly. > > > > Cheers, > > Tim > > > > -- > > Tim Ruppert > > HotWax Media > > http://www.hotwaxmedia.com > > > > o:801.649.6594 > > f:801.649.6595 > > > > Walter Vaughan wrote: > >> It's been a few weeks since I looked at the anonymous checkout since > >> the training in Utah were we worked on it. It looks like it's been > >> committed as part of Revision 479879... I'm thinkin' there's a few > >> things still needin' fixin'... > >> > >> There is no graceful error message when you submit > >> /ecommerce/control/setShipping with missing data. It spits out the > >> typical ofBiz-BSOD equivalent with > >> > >> The Following Errors Occurred: > >> > >> * ERROR: Could not complete the Process Ship Settings; to be > >> called as a Request Event > >> [file:/ofbiz/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml#processShipSettings] > >> process [problem invoking the [createPartyPostalAddress] service with > >> the map named [addressContext] containing [{attnName=null, > >> yearsWithContactMech=null, > >> userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-2913:29:25.0(java.sql.Timestamp)] > >> > >> > >> [...sniped thousands more characters...] > >> > >> Rather than how /ecommerce/control/setCustomer when submitted > >> gracefully errors with messages like > >> > >> The Following Errors Occurred: > >> > >> * Firstname is Missing > >> * Lastname is Missing > >> > >> and allows the operator to make corrections to those entries. > >> > >> The /ecommerce/control/setShipOptions page as well does allow you to > >> *not* pick a shipping method, which *should* error out that you did > >> not pick a radio button, or inform you that some default method was > >> chosen... > >> > >> The ecommerce/control/setPaymentOption does not seem to remember > >> previous settings, at least the radio buttons do not maintain there > >> settings when you return to that page unless you reach the "Review > >> Order Page". It then seems to remember your choice. Also if an > >> operator selects "Offline Payment", when the setPaymentInformation > >> page is submitted, nothing happens. It doesn't go to review order, nor > >> generate anything in the log files. > >> > >> On > >> ecommerce/control/setPaymentInformation?paymentMethodTypeId=CREDIT_CARD > >> it suffers as well as unfriendly error messages for missing data like > >> City or State > >> > >> I'd like to personally thank Tim, David, & Ashish (and anyone else who > >> contributed) for getting the work of two groups consolidated, and > >> thank whomever can get this fixed and a patch generated to finish this > >> up. > >> > >> I also submitted portions of this email to Jira as well as part of > >> https://issues.apache.org/jira/browse/OFBIZ-498 > >> > >> -- > >> Walter > > > > > > -- > View this message in context: http://www.nabble.com/Anonymous-Checkout-tf2727344.html#a8022137 > Sent from the OFBiz - User mailing list archive at Nabble.com. |
It can't be on OFBIZ-510 as that has not been committed as of yet.
Please file a new bug report (or attach to the one listed below) for the anonymous checkout process - chances are this pertains to the closed issue - https://issues.apache.org/jira/browse/OFBIZ-498 . Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6594 On Dec 22, 2006, at 7:44 AM, Jacques Le Roux wrote: > Rohit, > > If this is related to https://issues.apache.org/jira/browse/ > OFBIZ-510, can you add a post in there please (else forget it) ? > > Thanks > > Jacques > > ----- Original Message ----- > From: "rohit2006" <[hidden email]> > To: <[hidden email]> > Sent: Friday, December 22, 2006 12:15 PM > Subject: Re: Anonymous Checkout > > >> >> Hi, >> >> The latest anonymous checkout seems to have few bugs. If the 'Show >> Checkout >> Gift Options' options in set to 'N' in Store congif page the checkout >> process throws this error just after selecting the shipping method >> options. >> >> 2006-12-22 06:08:50,921 (http-0.0.0.0-8443-Processor2) [ >> ScreenFactory.java:115:INFO ] Got 8 screens in 0.031s from: >> file:/E:/ofbiz_tmn/applications/ecommerce/widget/ContentScreens.xml >> 2006-12-22 06:08:51,906 (http-0.0.0.0-8443-Processor2) [ >> ControlServlet.java:245:DEBUG] [[[processShipOptions] Done >> rendering page, >> Servlet Finished- total:3.719,since last([processShipOptio...): >> 3.719]] >> 2006-12-22 06:08:52,015 (http-0.0.0.0-8443-Processor4) [ >> ControlServlet.java:245:DEBUG] [[[setShipOptions] Done rendering >> page, >> Servlet Finished- total:3.812,since last([setShipOptions] ...): >> 3.812]] >> 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ >> ControlServlet.java:85 :INFO ] The character encoding of the >> request is: >> [null]. The character encoding we will use for the request and >> response is: >> [UTF-8] >> 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ >> ControlServlet.java:121:DEBUG] [[[processShipOptions] Servlet >> Starting, >> doing setup- total:0.0,since last(Begin):0.0]] >> 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ >> ControlServlet.java:170:DEBUG] [[[processShipOptions] Setup done, >> doing >> Event(s) and View(s)- total:0.0,since last([processShipOptio...): >> 0.0]] >> 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ >> RequestHandler.java:197:INFO ] [Processing Request]: >> processShipOptions >> 2006-12-22 06:08:55,578 (http-0.0.0.0-8443-Processor4) [ >> FieldObject.java:75 :INFO ] Field value not found with name isGift >> in Map >> with name , not getting Object value, returning null. >> 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ >> CallObjectMethod.java:163:ERROR] >> ---- runtime exception report >> -------------------------------------------------- >> Method in call method operation threw an exception >> Exception: java.lang.NullPointerException >> Message: null >> ---- stack trace >> --------------------------------------------------------------- >> java.lang.NullPointerException >> org.ofbiz.order.shoppingcart.ShoppingCart.setIsGift >> (ShoppingCart.java:2094) >> org.ofbiz.order.shoppingcart.ShoppingCart.setIsGift >> (ShoppingCart.java:2098) >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> sun.reflect.NativeMethodAccessorImpl.invoke >> (NativeMethodAccessorImpl.java:39) >> sun.reflect.DelegatingMethodAccessorImpl.invoke >> (DelegatingMethodAccessorImpl.java:25) >> java.lang.reflect.Method.invoke(Method.java:324) >> org.ofbiz.minilang.method.callops.CallObjectMethod.callMethod >> (CallObjectMethod.java:135) >> org.ofbiz.minilang.method.callops.CallObjectMethod.exec >> (CallObjectMethod.java:102) >> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:926) >> org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:81) >> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:926) >> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:565) >> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java: >> 102) >> org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java:63) >> org.ofbiz.webapp.event.SimpleEventHandler.invoke >> (SimpleEventHandler.java:69) >> org.ofbiz.webapp.control.RequestHandler.runEvent >> (RequestHandler.java:406) >> org.ofbiz.webapp.control.RequestHandler.doRequest >> (RequestHandler.java:237) >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java: >> 178) >> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java: >> 74) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:615) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:688) >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter >> (ApplicationFilterChain.java:252) >> org.apache.catalina.core.ApplicationFilterChain.doFilter >> (ApplicationFilterChain.java:173) >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: >> 245) >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter >> (ApplicationFilterChain.java:202) >> org.apache.catalina.core.ApplicationFilterChain.doFilter >> (ApplicationFilterChain.java:173) >> org.apache.catalina.core.StandardWrapperValve.invoke >> (StandardWrapperValve.java:213) >> org.apache.catalina.core.StandardContextValve.invoke >> (StandardContextValve.java:178) >> org.apache.catalina.core.StandardHostValve.invoke >> (StandardHostValve.java:126) >> org.apache.catalina.valves.ErrorReportValve.invoke >> (ErrorReportValve.java:105) >> org.apache.catalina.core.StandardEngineValve.invoke >> (StandardEngineValve.java:107) >> org.apache.catalina.valves.AccessLogValve.invoke >> (AccessLogValve.java:541) >> org.apache.catalina.connector.CoyoteAdapter.service >> (CoyoteAdapter.java:148) >> org.apache.coyote.http11.Http11Processor.process >> (Http11Processor.java:869) >> org.apache.coyote.http11.Http11BaseProtocol >> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: >> 664) >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket >> (PoolTcpEndpoint.java:527) >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt >> (LeaderFollowerWorkerThread.java:80) >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run >> (ThreadPool.java:684) >> java.lang.Thread.run(Thread.java:534) >> --------------------------------------------------------------------- >> ----------- >> >> 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ >> TransactionUtil.java:249: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:248) >> org.ofbiz.entity.transaction.TransactionUtil.rollback >> (TransactionUtil.java:230) >> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:694) >> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java: >> 102) >> org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java:63) >> org.ofbiz.webapp.event.SimpleEventHandler.invoke >> (SimpleEventHandler.java:69) >> org.ofbiz.webapp.control.RequestHandler.runEvent >> (RequestHandler.java:406) >> org.ofbiz.webapp.control.RequestHandler.doRequest >> (RequestHandler.java:237) >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java: >> 178) >> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java: >> 74) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:615) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:688) >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter >> (ApplicationFilterChain.java:252) >> org.apache.catalina.core.ApplicationFilterChain.doFilter >> (ApplicationFilterChain.java:173) >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: >> 245) >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter >> (ApplicationFilterChain.java:202) >> org.apache.catalina.core.ApplicationFilterChain.doFilter >> (ApplicationFilterChain.java:173) >> org.apache.catalina.core.StandardWrapperValve.invoke >> (StandardWrapperValve.java:213) >> org.apache.catalina.core.StandardContextValve.invoke >> (StandardContextValve.java:178) >> org.apache.catalina.core.StandardHostValve.invoke >> (StandardHostValve.java:126) >> org.apache.catalina.valves.ErrorReportValve.invoke >> (ErrorReportValve.java:105) >> org.apache.catalina.core.StandardEngineValve.invoke >> (StandardEngineValve.java:107) >> org.apache.catalina.valves.AccessLogValve.invoke >> (AccessLogValve.java:541) >> org.apache.catalina.connector.CoyoteAdapter.service >> (CoyoteAdapter.java:148) >> org.apache.coyote.http11.Http11Processor.process >> (Http11Processor.java:869) >> org.apache.coyote.http11.Http11BaseProtocol >> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: >> 664) >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket >> (PoolTcpEndpoint.java:527) >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt >> (LeaderFollowerWorkerThread.java:80) >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run >> (ThreadPool.java:684) >> java.lang.Thread.run(Thread.java:534) >> --------------------------------------------------------------------- >> ----------- >> >> 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ >> TransactionUtil.java:259:INFO ] [TransactionUtil.rollback] >> transaction >> rolled back >> 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ >> RequestHandler.java:268:ERROR] Request processShipOptions caused >> an error >> with the following message: ERROR: Could not complete the Process >> Ship >> Options; to be called as a Request Event >> [file:/E:/ofbiz_tmn/applications/ecommerce/script/org/ofbiz/ >> ecommerce/customer/CustomerEvents.xml#processShipOptions] >> process [Method to execute named setIsGift threw an exception: >> java.lang.NullPointerException] >> 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ >> RequestHandler.java:385:INFO ] [RequestHandler.doRequest]: >> Response is a >> view. >> 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ >> RequestHandler.java:537:INFO ] servletName=control, >> view=optionsetting >> >> >> >> >> Tim Ruppert wrote: >>> >>> Walter, thanks for taking such an active interest in helping us test >>> this. It's a big deal. We'll get back on this and review and >>> get to >>> some of this shortly. Keep an eye out for a new patch. >>> >>> I've got one to test right now that I'll inform everyone about >>> shortly. >>> >>> Cheers, >>> Tim >>> >>> -- >>> Tim Ruppert >>> HotWax Media >>> http://www.hotwaxmedia.com >>> >>> o:801.649.6594 >>> f:801.649.6595 >>> >>> Walter Vaughan wrote: >>>> It's been a few weeks since I looked at the anonymous checkout >>>> since >>>> the training in Utah were we worked on it. It looks like it's been >>>> committed as part of Revision 479879... I'm thinkin' there's a few >>>> things still needin' fixin'... >>>> >>>> There is no graceful error message when you submit >>>> /ecommerce/control/setShipping with missing data. It spits out the >>>> typical ofBiz-BSOD equivalent with >>>> >>>> The Following Errors Occurred: >>>> >>>> * ERROR: Could not complete the Process Ship Settings; to be >>>> called as a Request Event >>>> [file:/ofbiz/applications/ecommerce/script/org/ofbiz/ecommerce/ >>>> customer/CustomerEvents.xml#processShipSettings] >>>> process [problem invoking the [createPartyPostalAddress] service >>>> with >>>> the map named [addressContext] containing [{attnName=null, >>>> yearsWithContactMech=null, >>>> userLogin=[GenericEntity:UserLogin][createdStamp, >>>> 2006-11-2913:29:25.0(java.sql.Timestamp)] >>>> >>>> >>>> [...sniped thousands more characters...] >>>> >>>> Rather than how /ecommerce/control/setCustomer when submitted >>>> gracefully errors with messages like >>>> >>>> The Following Errors Occurred: >>>> >>>> * Firstname is Missing >>>> * Lastname is Missing >>>> >>>> and allows the operator to make corrections to those entries. >>>> >>>> The /ecommerce/control/setShipOptions page as well does allow >>>> you to >>>> *not* pick a shipping method, which *should* error out that you did >>>> not pick a radio button, or inform you that some default method was >>>> chosen... >>>> >>>> The ecommerce/control/setPaymentOption does not seem to remember >>>> previous settings, at least the radio buttons do not maintain there >>>> settings when you return to that page unless you reach the "Review >>>> Order Page". It then seems to remember your choice. Also if an >>>> operator selects "Offline Payment", when the setPaymentInformation >>>> page is submitted, nothing happens. It doesn't go to review >>>> order, nor >>>> generate anything in the log files. >>>> >>>> On >>>> ecommerce/control/setPaymentInformation? >>>> paymentMethodTypeId=CREDIT_CARD >>>> it suffers as well as unfriendly error messages for missing data >>>> like >>>> City or State >>>> >>>> I'd like to personally thank Tim, David, & Ashish (and anyone >>>> else who >>>> contributed) for getting the work of two groups consolidated, and >>>> thank whomever can get this fixed and a patch generated to >>>> finish this >>>> up. >>>> >>>> I also submitted portions of this email to Jira as well as part of >>>> https://issues.apache.org/jira/browse/OFBIZ-498 >>>> >>>> -- >>>> Walter >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Anonymous- >> Checkout-tf2727344.html#a8022137 >> Sent from the OFBiz - User mailing list archive at Nabble.com. |
Hi Tim,
i just added it to https://issues.apache.org/jira/browse/OFBIZ-498 Rohit
|
Please don't add stuff like this to existing, especially closed, issues. Please create a new issue so the bug can be tracked on its own. -David On Dec 22, 2006, at 12:28 PM, rohit2006 wrote: > > Hi Tim, > > i just added it to https://issues.apache.org/jira/browse/OFBIZ-498 > > Rohit > > > Tim Ruppert wrote: >> >> It can't be on OFBIZ-510 as that has not been committed as of yet. >> Please file a new bug report (or attach to the one listed below) for >> the anonymous checkout process - chances are this pertains to the >> closed issue - https://issues.apache.org/jira/browse/OFBIZ-498 . >> >> Cheers, >> Tim >> -- >> Tim Ruppert >> HotWax Media >> http://www.hotwaxmedia.com >> >> o:801.649.6594 >> f:801.649.6594 >> >> >> On Dec 22, 2006, at 7:44 AM, Jacques Le Roux wrote: >> >>> Rohit, >>> >>> If this is related to https://issues.apache.org/jira/browse/ >>> OFBIZ-510, can you add a post in there please (else forget it) ? >>> >>> Thanks >>> >>> Jacques >>> >>> ----- Original Message ----- >>> From: "rohit2006" <[hidden email]> >>> To: <[hidden email]> >>> Sent: Friday, December 22, 2006 12:15 PM >>> Subject: Re: Anonymous Checkout >>> >>> >>>> >>>> Hi, >>>> >>>> The latest anonymous checkout seems to have few bugs. If the 'Show >>>> Checkout >>>> Gift Options' options in set to 'N' in Store congif page the >>>> checkout >>>> process throws this error just after selecting the shipping method >>>> options. >>>> >>>> 2006-12-22 06:08:50,921 (http-0.0.0.0-8443-Processor2) [ >>>> ScreenFactory.java:115:INFO ] Got 8 screens in 0.031s from: >>>> file:/E:/ofbiz_tmn/applications/ecommerce/widget/ContentScreens.xml >>>> 2006-12-22 06:08:51,906 (http-0.0.0.0-8443-Processor2) [ >>>> ControlServlet.java:245:DEBUG] [[[processShipOptions] Done >>>> rendering page, >>>> Servlet Finished- total:3.719,since last([processShipOptio...): >>>> 3.719]] >>>> 2006-12-22 06:08:52,015 (http-0.0.0.0-8443-Processor4) [ >>>> ControlServlet.java:245:DEBUG] [[[setShipOptions] Done rendering >>>> page, >>>> Servlet Finished- total:3.812,since last([setShipOptions] ...): >>>> 3.812]] >>>> 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ >>>> ControlServlet.java:85 :INFO ] The character encoding of the >>>> request is: >>>> [null]. The character encoding we will use for the request and >>>> response is: >>>> [UTF-8] >>>> 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ >>>> ControlServlet.java:121:DEBUG] [[[processShipOptions] Servlet >>>> Starting, >>>> doing setup- total:0.0,since last(Begin):0.0]] >>>> 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ >>>> ControlServlet.java:170:DEBUG] [[[processShipOptions] Setup done, >>>> doing >>>> Event(s) and View(s)- total:0.0,since last([processShipOptio...): >>>> 0.0]] >>>> 2006-12-22 06:08:55,562 (http-0.0.0.0-8443-Processor4) [ >>>> RequestHandler.java:197:INFO ] [Processing Request]: >>>> processShipOptions >>>> 2006-12-22 06:08:55,578 (http-0.0.0.0-8443-Processor4) [ >>>> FieldObject.java:75 :INFO ] Field value not found with name isGift >>>> in Map >>>> with name , not getting Object value, returning null. >>>> 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ >>>> CallObjectMethod.java:163:ERROR] >>>> ---- runtime exception report >>>> -------------------------------------------------- >>>> Method in call method operation threw an exception >>>> Exception: java.lang.NullPointerException >>>> Message: null >>>> ---- stack trace >>>> --------------------------------------------------------------- >>>> java.lang.NullPointerException >>>> org.ofbiz.order.shoppingcart.ShoppingCart.setIsGift >>>> (ShoppingCart.java:2094) >>>> org.ofbiz.order.shoppingcart.ShoppingCart.setIsGift >>>> (ShoppingCart.java:2098) >>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> sun.reflect.NativeMethodAccessorImpl.invoke >>>> (NativeMethodAccessorImpl.java:39) >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke >>>> (DelegatingMethodAccessorImpl.java:25) >>>> java.lang.reflect.Method.invoke(Method.java:324) >>>> org.ofbiz.minilang.method.callops.CallObjectMethod.callMethod >>>> (CallObjectMethod.java:135) >>>> org.ofbiz.minilang.method.callops.CallObjectMethod.exec >>>> (CallObjectMethod.java:102) >>>> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:926) >>>> org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:81) >>>> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:926) >>>> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:565) >>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java: >>>> 102) >>>> org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java: >>>> 63) >>>> org.ofbiz.webapp.event.SimpleEventHandler.invoke >>>> (SimpleEventHandler.java:69) >>>> org.ofbiz.webapp.control.RequestHandler.runEvent >>>> (RequestHandler.java:406) >>>> org.ofbiz.webapp.control.RequestHandler.doRequest >>>> (RequestHandler.java:237) >>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java: >>>> 178) >>>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java: >>>> 74) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:615) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688) >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter >>>> (ApplicationFilterChain.java:252) >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter >>>> (ApplicationFilterChain.java:173) >>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: >>>> 245) >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter >>>> (ApplicationFilterChain.java:202) >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter >>>> (ApplicationFilterChain.java:173) >>>> org.apache.catalina.core.StandardWrapperValve.invoke >>>> (StandardWrapperValve.java:213) >>>> org.apache.catalina.core.StandardContextValve.invoke >>>> (StandardContextValve.java:178) >>>> org.apache.catalina.core.StandardHostValve.invoke >>>> (StandardHostValve.java:126) >>>> org.apache.catalina.valves.ErrorReportValve.invoke >>>> (ErrorReportValve.java:105) >>>> org.apache.catalina.core.StandardEngineValve.invoke >>>> (StandardEngineValve.java:107) >>>> org.apache.catalina.valves.AccessLogValve.invoke >>>> (AccessLogValve.java:541) >>>> org.apache.catalina.connector.CoyoteAdapter.service >>>> (CoyoteAdapter.java:148) >>>> org.apache.coyote.http11.Http11Processor.process >>>> (Http11Processor.java:869) >>>> org.apache.coyote.http11.Http11BaseProtocol >>>> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: >>>> 664) >>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket >>>> (PoolTcpEndpoint.java:527) >>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt >>>> (LeaderFollowerWorkerThread.java:80) >>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run >>>> (ThreadPool.java:684) >>>> java.lang.Thread.run(Thread.java:534) >>>> ------------------------------------------------------------------- >>>> -- >>>> ----------- >>>> >>>> 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ >>>> TransactionUtil.java:249: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:248) >>>> org.ofbiz.entity.transaction.TransactionUtil.rollback >>>> (TransactionUtil.java:230) >>>> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:694) >>>> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java: >>>> 102) >>>> org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java: >>>> 63) >>>> org.ofbiz.webapp.event.SimpleEventHandler.invoke >>>> (SimpleEventHandler.java:69) >>>> org.ofbiz.webapp.control.RequestHandler.runEvent >>>> (RequestHandler.java:406) >>>> org.ofbiz.webapp.control.RequestHandler.doRequest >>>> (RequestHandler.java:237) >>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java: >>>> 178) >>>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java: >>>> 74) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:615) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688) >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter >>>> (ApplicationFilterChain.java:252) >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter >>>> (ApplicationFilterChain.java:173) >>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: >>>> 245) >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter >>>> (ApplicationFilterChain.java:202) >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter >>>> (ApplicationFilterChain.java:173) >>>> org.apache.catalina.core.StandardWrapperValve.invoke >>>> (StandardWrapperValve.java:213) >>>> org.apache.catalina.core.StandardContextValve.invoke >>>> (StandardContextValve.java:178) >>>> org.apache.catalina.core.StandardHostValve.invoke >>>> (StandardHostValve.java:126) >>>> org.apache.catalina.valves.ErrorReportValve.invoke >>>> (ErrorReportValve.java:105) >>>> org.apache.catalina.core.StandardEngineValve.invoke >>>> (StandardEngineValve.java:107) >>>> org.apache.catalina.valves.AccessLogValve.invoke >>>> (AccessLogValve.java:541) >>>> org.apache.catalina.connector.CoyoteAdapter.service >>>> (CoyoteAdapter.java:148) >>>> org.apache.coyote.http11.Http11Processor.process >>>> (Http11Processor.java:869) >>>> org.apache.coyote.http11.Http11BaseProtocol >>>> $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: >>>> 664) >>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket >>>> (PoolTcpEndpoint.java:527) >>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt >>>> (LeaderFollowerWorkerThread.java:80) >>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run >>>> (ThreadPool.java:684) >>>> java.lang.Thread.run(Thread.java:534) >>>> ------------------------------------------------------------------- >>>> -- >>>> ----------- >>>> >>>> 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ >>>> TransactionUtil.java:259:INFO ] [TransactionUtil.rollback] >>>> transaction >>>> rolled back >>>> 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ >>>> RequestHandler.java:268:ERROR] Request processShipOptions caused >>>> an error >>>> with the following message: ERROR: Could not complete the Process >>>> Ship >>>> Options; to be called as a Request Event >>>> [file:/E:/ofbiz_tmn/applications/ecommerce/script/org/ofbiz/ >>>> ecommerce/customer/CustomerEvents.xml#processShipOptions] >>>> process [Method to execute named setIsGift threw an exception: >>>> java.lang.NullPointerException] >>>> 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ >>>> RequestHandler.java:385:INFO ] [RequestHandler.doRequest]: >>>> Response is a >>>> view. >>>> 2006-12-22 06:08:55,671 (http-0.0.0.0-8443-Processor4) [ >>>> RequestHandler.java:537:INFO ] servletName=control, >>>> view=optionsetting >>>> >>>> >>>> >>>> >>>> Tim Ruppert wrote: >>>>> >>>>> Walter, thanks for taking such an active interest in helping us >>>>> test >>>>> this. It's a big deal. We'll get back on this and review and >>>>> get to >>>>> some of this shortly. Keep an eye out for a new patch. >>>>> >>>>> I've got one to test right now that I'll inform everyone about >>>>> shortly. >>>>> >>>>> Cheers, >>>>> Tim >>>>> >>>>> -- >>>>> Tim Ruppert >>>>> HotWax Media >>>>> http://www.hotwaxmedia.com >>>>> >>>>> o:801.649.6594 >>>>> f:801.649.6595 >>>>> >>>>> Walter Vaughan wrote: >>>>>> It's been a few weeks since I looked at the anonymous checkout >>>>>> since >>>>>> the training in Utah were we worked on it. It looks like it's >>>>>> been >>>>>> committed as part of Revision 479879... I'm thinkin' there's a >>>>>> few >>>>>> things still needin' fixin'... >>>>>> >>>>>> There is no graceful error message when you submit >>>>>> /ecommerce/control/setShipping with missing data. It spits out >>>>>> the >>>>>> typical ofBiz-BSOD equivalent with >>>>>> >>>>>> The Following Errors Occurred: >>>>>> >>>>>> * ERROR: Could not complete the Process Ship Settings; to be >>>>>> called as a Request Event >>>>>> [file:/ofbiz/applications/ecommerce/script/org/ofbiz/ecommerce/ >>>>>> customer/CustomerEvents.xml#processShipSettings] >>>>>> process [problem invoking the [createPartyPostalAddress] service >>>>>> with >>>>>> the map named [addressContext] containing [{attnName=null, >>>>>> yearsWithContactMech=null, >>>>>> userLogin=[GenericEntity:UserLogin][createdStamp, >>>>>> 2006-11-2913:29:25.0(java.sql.Timestamp)] >>>>>> >>>>>> >>>>>> [...sniped thousands more characters...] >>>>>> >>>>>> Rather than how /ecommerce/control/setCustomer when submitted >>>>>> gracefully errors with messages like >>>>>> >>>>>> The Following Errors Occurred: >>>>>> >>>>>> * Firstname is Missing >>>>>> * Lastname is Missing >>>>>> >>>>>> and allows the operator to make corrections to those entries. >>>>>> >>>>>> The /ecommerce/control/setShipOptions page as well does allow >>>>>> you to >>>>>> *not* pick a shipping method, which *should* error out that >>>>>> you did >>>>>> not pick a radio button, or inform you that some default >>>>>> method was >>>>>> chosen... >>>>>> >>>>>> The ecommerce/control/setPaymentOption does not seem to remember >>>>>> previous settings, at least the radio buttons do not maintain >>>>>> there >>>>>> settings when you return to that page unless you reach the >>>>>> "Review >>>>>> Order Page". It then seems to remember your choice. Also if an >>>>>> operator selects "Offline Payment", when the >>>>>> setPaymentInformation >>>>>> page is submitted, nothing happens. It doesn't go to review >>>>>> order, nor >>>>>> generate anything in the log files. >>>>>> >>>>>> On >>>>>> ecommerce/control/setPaymentInformation? >>>>>> paymentMethodTypeId=CREDIT_CARD >>>>>> it suffers as well as unfriendly error messages for missing data >>>>>> like >>>>>> City or State >>>>>> >>>>>> I'd like to personally thank Tim, David, & Ashish (and anyone >>>>>> else who >>>>>> contributed) for getting the work of two groups consolidated, and >>>>>> thank whomever can get this fixed and a patch generated to >>>>>> finish this >>>>>> up. >>>>>> >>>>>> I also submitted portions of this email to Jira as well as >>>>>> part of >>>>>> https://issues.apache.org/jira/browse/OFBIZ-498 >>>>>> >>>>>> -- >>>>>> Walter >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: http://www.nabble.com/Anonymous- >>>> Checkout-tf2727344.html#a8022137 >>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >> >> >> > > -- > View this message in context: http://www.nabble.com/Anonymous- > Checkout-tf2727344.html#a8027610 > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Free forum by Nabble | Edit this page |