[ http://jira.undersunconsulting.com/browse/OFBIZ-680?page=all ]
Jacopo Cappellato closed OFBIZ-680: ----------------------------------- Resolution: Won't Fix > add/modify an auto-exploded component fails NumberFormatException 00001-0 > ------------------------------------------------------------------------- > > Key: OFBIZ-680 > URL: http://jira.undersunconsulting.com/browse/OFBIZ-680 > Project: [OFBiz] Open For Business > Type: Bug > Components: order > Versions: SVN > Environment: svn > Reporter: Daniel Kunkel > Assignee: Jira Administrator > Priority: Minor > > > Hi > Trying to add to the number of items of an auto-exploded component in an order fails due to a NumberFormatException error: > 215093810 (TP-Processor11) [ EntityEcaRule.java:122:INFO ] Running Entity ECA Service: updateInventoryItemFromDetail, triggered by rule on Entity: InventoryItemDetail > 215093838 (TP-Processor11) [ EntityEcaRule.java:122:INFO ] Running Entity ECA Service: updateInventoryItemFromDetail, triggered by rule on Entity: InventoryItemDetail > 215093861 (TP-Processor11) [ EntityEcaRule.java:122:INFO ] Running Entity ECA Service: updateInventoryItemFromDetail, triggered by rule on Entity: InventoryItemDetail > 215093884 (TP-Processor11) [ EntityEcaRule.java:122:INFO ] Running Entity ECA Service: updateInventoryItemFromDetail, triggered by rule on Entity: InventoryItemDetail > 215093907 (TP-Processor11) [ EntityEcaRule.java:122:INFO ] Running Entity ECA Service: updateInventoryItemFromDetail, triggered by rule on Entity: InventoryItemDetail > 215093929 (TP-Processor11) [ EntityEcaRule.java:122:INFO ] Running Entity ECA Service: updateInventoryItemFromDetail, triggered by rule on Entity: InventoryItemDetail > 215093952 (TP-Processor11) [ EntityEcaRule.java:122:INFO ] Running Entity ECA Service: updateInventoryItemFromDetail, triggered by rule on Entity: InventoryItemDetail > 215093970 (TP-Processor11) [ SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for [EntitySyncRemove]; curSeqId=93680, maxSeqId=93690, bankSize=10 > 215094322 (TP-Processor11) [ EntityEcaRule.java:122:INFO ] Running Entity ECA Service: updateInventoryItemFromDetail, triggered by rule on Entity: InventoryItemDetail > 215094345 (TP-Processor11) [ EntityEcaRule.java:122:INFO ] Running Entity ECA Service: updateInventoryItemFromDetail, triggered by rule on Entity: InventoryItemDetail > 215094422 (TP-Processor11) [ ShoppingCart.java:1482:INFO ] Returned new PaymentInfo - Pm: 10441 / PmType: CREDIT_CARD / Amt: null / Ref: null!null > 215094424 (TP-Processor11) [ShoppingCartServices.java:242:INFO ] Added Payment: 10441 / [no max] > 215094434 (TP-Processor11) [ShoppingCartServices.java:264:ERROR] > ---- runtime exception report -------------------------------------------------- > Exception: java.lang.NumberFormatException > Message: For input string: "00001-0" > ---- stack trace --------------------------------------------------------------- > java.lang.NumberFormatException: For input string: "00001-0" > java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > java.lang.Long.parseLong(Long.java:403) > java.lang.Long.parseLong(Long.java:452) > org.ofbiz.order.shoppingcart.ShoppingCartServices.loadCartFromOrder(ShoppingCartServices.java:259) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:324) > org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101) > org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110) > org.ofbiz.order.order.OrderServices.loadCartForUpdate(OrderServices.java:2991) > org.ofbiz.order.order.OrderServices.updateApprovedOrderItems(OrderServices.java:2821) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:324) > org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101) > org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110) > org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:296) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:393) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:250) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87) > javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307) > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385) > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748) > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678) > org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:534) > -------------------------------------------------------------------------------- > 215094436 (TP-Processor11) [ ServiceDispatcher.java:407:ERROR] Service Error [loadCartFromOrder]: For input string: "00001-0" > 215094439 (TP-Processor11) [ TransactionUtil.java:282:WARN ] > ---- exception report ---------------------------------------------------------- > [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening: > Exception: java.lang.Exception > Message: null > ---- stack trace --------------------------------------------------------------- > java.lang.Exception > org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:282) > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:232) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:411) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110) > org.ofbiz.order.order.OrderServices.loadCartForUpdate(OrderServices.java:2991) > org.ofbiz.order.order.OrderServices.updateApprovedOrderItems(OrderServices.java:2821) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:324) > org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:101) > org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:63) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:339) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110) > org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:296) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:393) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:250) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87) > javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307) > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385) > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748) > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678) > org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:534) > -------------------------------------------------------------------------------- > 215094441 (TP-Processor11) [ ServiceDispatcher.java:407:ERROR] Service Error [updateOrderItems]: For input string: "00001-0" > 215094444 (TP-Processor11) [ 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.service.ServiceDispatcher.runSync(ServiceDispatcher.java:411) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110) > org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:296) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:393) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:250) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87) > javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307) > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385) > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748) > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678) > org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:534) > -------------------------------------------------------------------------------- > 215094448 (TP-Processor11) [ TransactionUtil.java:259:INFO ] [TransactionUtil.rollback] transaction rolled back > 215094665 (TP-Processor11) [ RequestHandler.java:281:ERROR] Request updateOrderItems caused an error with the following message: For input string: "00001-0" > 215094667 (TP-Processor11) [ RequestHandler.java:372:INFO ] [RequestHandler.doRequest]: Response is a view. > 215094668 (TP-Processor11) [ RequestHandler.java:524:INFO ] servletName=control, view=editorderitems > 215095627 (TP-Processor11) [ ModelScreenWidget.java:371:INFO ] In the include-screen tag the screen name was empty, ignoring include; in screen [main-decorator] > 215095878 (TP-Processor11) [ FieldToResult.java:75 :WARN ] Field value not found with name person.middleName in Map with name > 215095881 (TP-Processor11) [ FieldToResult.java:75 :WARN ] Field value not found with name person.personalTitle in Map with name > 215095884 (TP-Processor11) [ FieldToResult.java:75 :WARN ] Field value not found with name person.suffix in Map with name -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.undersunconsulting.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |