Hi Hans and all,
Here is another error which I think is related to your commit : Error calling event: org.ofbiz.webapp.event.EventHandlerException: Problems processing event: java.lang.NullPointerException (null) The error is located at line 4766 in shoppingCart.java : String splitPayPrefPerShpGrp = productStore.getString("splitPayPrefPerShpGrp"); Stacktrace : 2010-05-11 10:22:11,589 (http-0.0.0.0-8443-4) [ JavaEventHandler.java:100:ERROR] ---- runtime exception report -------------------------------------------------- Problems Processing Event Exception: java.lang.NullPointerException Message: null ---- stack trace --------------------------------------------------------------- java.lang.NullPointerException org.ofbiz.order.shoppingcart.ShoppingCart$CartPaymentInfo.makeOrderPaymentInfos(ShoppingCart.java:4766) org.ofbiz.order.shoppingcart.ShoppingCart.makeAllOrderPaymentInfos(ShoppingCart.java:3730) org.ofbiz.order.shoppingcart.ShoppingCart.makeCartMap(ShoppingCart.java:4028) org.ofbiz.order.shoppingcart.CheckOutHelper.createOrder(CheckOutHelper.java:580) org.ofbiz.order.shoppingcart.CheckOutEvents.createOrder(CheckOutEvents.java:439) 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:597) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 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:267) 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:191) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 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:555) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- You can test with the PurchaseOrderCancelled.html selenium test. Thanks for looking at ! Cheers, -- Erwan de FERRIERES www.nereide.biz |
Hi Erwan,
can you give the series of actions which will lead to this error? a probable solution is to enable the action i added only on purchase orders Regards, Hans On Tue, 2010-05-11 at 10:32 +0200, Erwan de FERRIERES wrote: > Hi Hans and all, > > Here is another error which I think is related to your commit : > > Error calling event: org.ofbiz.webapp.event.EventHandlerException: > Problems processing event: java.lang.NullPointerException (null) > > The error is located at line 4766 in shoppingCart.java : > String splitPayPrefPerShpGrp = > productStore.getString("splitPayPrefPerShpGrp"); > > Stacktrace : > > 2010-05-11 10:22:11,589 (http-0.0.0.0-8443-4) [ > JavaEventHandler.java:100:ERROR] > ---- runtime exception report > -------------------------------------------------- > Problems Processing Event > Exception: java.lang.NullPointerException > Message: null > ---- stack trace > --------------------------------------------------------------- > java.lang.NullPointerException > org.ofbiz.order.shoppingcart.ShoppingCart$CartPaymentInfo.makeOrderPaymentInfos(ShoppingCart.java:4766) > org.ofbiz.order.shoppingcart.ShoppingCart.makeAllOrderPaymentInfos(ShoppingCart.java:3730) > org.ofbiz.order.shoppingcart.ShoppingCart.makeCartMap(ShoppingCart.java:4028) > org.ofbiz.order.shoppingcart.CheckOutHelper.createOrder(CheckOutHelper.java:580) > org.ofbiz.order.shoppingcart.CheckOutEvents.createOrder(CheckOutEvents.java:439) > 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:597) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) > javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > 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:267) > 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:191) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > 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:555) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) > java.lang.Thread.run(Thread.java:619) > -------------------------------------------------------------------------------- > > You can test with the PurchaseOrderCancelled.html selenium test. > > Thanks for looking at ! > > Cheers, > -- Ofbiz on twitter: http://twitter.com/apache_ofbiz Myself on twitter: http://twitter.com/hansbak Antwebsystems.com: Quality services for competitive rates. |
Le 11/05/2010 10:47, Hans Bakker a écrit :
> Hi Erwan, > can you give the series of actions which will lead to this error? > > a probable solution is to enable the action i added only on purchase > orders > > Regards, > Hans > Hi Hans, just use the PurchaseOrderCancelled.html selenium test. You will find it at https://issues.apache.org/jira/browse/OFBIZ-3511 Cheers, -- Erwan de FERRIERES www.nereide.biz |
Hi Erwan,
if you give the sequence of events leading to the error i will have a look at it. i did not check the selenium test (bad internet here at the moment) but checked to cancel the purchase order at the different stages which worked fine. Regards, Hans On Tue, 2010-05-11 at 11:05 +0200, Erwan de FERRIERES wrote: > Le 11/05/2010 10:47, Hans Bakker a écrit : > > Hi Erwan, > > can you give the series of actions which will lead to this error? > > > > a probable solution is to enable the action i added only on purchase > > orders > > > > Regards, > > Hans > > > > Hi Hans, > > just use the PurchaseOrderCancelled.html selenium test. > > You will find it at https://issues.apache.org/jira/browse/OFBIZ-3511 > > Cheers, > -- Ofbiz on twitter: http://twitter.com/apache_ofbiz Myself on twitter: http://twitter.com/hansbak Antwebsystems.com: Quality services for competitive rates. |
Free forum by Nabble | Edit this page |