Hi, I am trying to use the POS in ofbiz. I am using the localderby database and running it in ubuntu 7.10.
After i start the POS and give username/password as 1/1 and then open the manager to give some starting amount i am taken to the list of products. When i click on any of them i get an alert saying "ITEM MODIFICATION ERROR". After this the POS screen freezes and i am not able to do anything. The log shows the following ---- exception report ---------------------------------------------------------- Exception: org.ofbiz.order.shoppingcart.CartItemModifyException Message: Could not find a valid price for the product with ID [GZ-2644], not adding to cart. ---- stack trace --------------------------------------------------------------- org.ofbiz.order.shoppingcart.CartItemModifyException: Could not find a valid price for the product with ID [GZ-2644], not adding to cart. org.ofbiz.order.shoppingcart.ShoppingCartItem.updatePrice(ShoppingCartItem.java:1058) org.ofbiz.order.shoppingcart.ShoppingCartItem.setQuantity(ShoppingCartItem.java:934) org.ofbiz.order.shoppingcart.ShoppingCartItem.setQuantity(ShoppingCartItem.java:776) org.ofbiz.order.shoppingcart.ShoppingCartItem.setQuantity(ShoppingCartItem.java:771) org.ofbiz.order.shoppingcart.ShoppingCartItem.setQuantity(ShoppingCartItem.java:766) org.ofbiz.order.shoppingcart.ShoppingCart.removeCartItem(ShoppingCart.java:788) org.ofbiz.order.shoppingcart.ShoppingCartItem.makeItem(ShoppingCartItem.java:520) org.ofbiz.order.shoppingcart.ShoppingCartItem.makeItem(ShoppingCartItem.java:322) org.ofbiz.order.shoppingcart.ShoppingCart.addOrIncreaseItem(ShoppingCart.java:490) org.ofbiz.pos.PosTransaction.addItem(PosTransaction.java:356) org.ofbiz.pos.event.MenuEvents.addItem(MenuEvents.java:182) 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.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:205) org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:105) org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:120) net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source) java.lang.Thread.run(Thread.java:619) -------------------------------------------------------------------------------- Someone help me on this please. Thanks, Ravi.
