[ https://issues.apache.org/jira/browse/OFBIZ-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465821 ]
Rohit Sureka commented on OFBIZ-561: ------------------------------------ Hi Jacopo, I have used the new anonymous checkout for quite some time and it is working fine, with both Gift card 'on' and 'off'. I guess this issue can now be closed, if others too are not having the same issue. Rohit > Errors in anonymous checkout. > ----------------------------- > > Key: OFBIZ-561 > URL: https://issues.apache.org/jira/browse/OFBIZ-561 > Project: Apache OFBiz (The Open for Business Project) > Issue Type: Bug > Components: ecommerce > Affects Versions: SVN trunk > Environment: Linux FC5, JDK 1.4.2_13.Postgres database. > Reporter: Rohit Sureka > Priority: Critical > > Hi, i believe there two bugs in the anonymous checkout in SVN 487185. > First, Show gift options has to be enabled for anonymous checkout process to > move beyond select shipping option page in 'ecommerce' application. Else the > following is the log of the error: > 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 > Secondly, shipping costs are not added to the order total during checkout. > The order total simply shows shipping as '0' and nothing is added to the > order for shipping. > Rohit -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira