Welcome to Open Discussion

2007-01-15
2013-04-29
  • Nobody/Anonymous

    Welcome to Open Discussion

     
    • nehl v

      nehl v - 2009-03-13

      hi! i'm a new user of posterita and trying to explore it functionalities.
      i tried to edit the price of an item from 240.00 to 2,400 but below error resulted.
      pls need your assitance. thanks.

      java.lang.NumberFormatException: For input string: "2,400.0"
          sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
          java.lang.Double.parseDouble(Double.java:482)
          org.posterita.businesslogic.OrderManager.round(OrderManager.java:191)
          org.posterita.businesslogic.POSProductManager.editProduct(POSProductManager.java:393)
          org.posterita.struts.pos.POSProductAction.updateProductDetails(POSProductAction.java:187)
          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:585)
          org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
          org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
          org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
          org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
          org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
          org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
          org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

       

Log in to post a comment.