All,
Please help me, I am using the accounting module, any amount that is greater than 999.99, an amount that is greater than or equal to 1000.00, with the following error: *:ERROR MESSAGE:* org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Error formatting currency value [1,345]: java.lang.NumberFormatException (Error formatting currency value [1,345]: java.lang.NumberFormatException) This makes for all reports, such as screens, for example by consulting a transaction, in view of the same part of the "View Transaction Entries". -- Rafael Rondón Montás |
yes this is a general error i noticed too....
any larger amount shows this error. It is pretty easy to reproduce, go to an existing invoice and make one item a larger amount (5000) value.... because a bsh: value is used here for the total value I expect the new expression evaluator? On Fri, 2009-01-09 at 20:37 -0400, Rafael Rondon wrote: > All, > > Please help me, I am using the accounting module, any amount that is greater > than 999.99, an amount that is greater than or equal to 1000.00, with the > following error: > > > > *:ERROR MESSAGE:* > > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen > [component://common/widget/CommonScreens.xml#GlobalDecorator]: > java.lang.IllegalArgumentException: Error formatting currency value [1,345]: > java.lang.NumberFormatException (Error formatting currency value [1,345]: > java.lang.NumberFormatException) > > > This makes for all reports, such as screens, for example by consulting a > transaction, in view of the same part of the "View Transaction Entries". > > Antwebsystems.com: Quality OFBiz services for competitive prices |
The cause is more likely to be the Double to BigDecimal refactor.
I'll check into it and see if I can find a solution. -Adrian --- On Fri, 1/9/09, Hans Bakker <[hidden email]> wrote: > From: Hans Bakker <[hidden email]> > Subject: Re: Error any amount that is greater than 999.99: expr eval? > To: [hidden email] > Date: Friday, January 9, 2009, 6:57 PM > yes this is a general error i noticed too.... > > any larger amount shows this error. > > It is pretty easy to reproduce, go to an existing invoice > and make one > item a larger amount (5000) value.... > > because a bsh: value is used here for the total value I > expect the new > expression evaluator? > > On Fri, 2009-01-09 at 20:37 -0400, Rafael Rondon wrote: > > All, > > > > Please help me, I am using the accounting module, any > amount that is greater > > than 999.99, an amount that is greater than or equal > to 1000.00, with the > > following error: > > > > > > > > *:ERROR MESSAGE:* > > > > org.ofbiz.widget.screen.ScreenRenderException: Error > rendering screen > > > [component://common/widget/CommonScreens.xml#GlobalDecorator]: > > java.lang.IllegalArgumentException: Error formatting > currency value [1,345]: > > java.lang.NumberFormatException (Error formatting > currency value [1,345]: > > java.lang.NumberFormatException) > > > > > > This makes for all reports, such as screens, for > example by consulting a > > transaction, in view of the same part of the > "View Transaction Entries". > > > > > -- > Antwebsystems.com: Quality OFBiz services for competitive > prices |
In reply to this post by Rafael Rondon
That is a bug that is being worked on.
-Adrian --- On Fri, 1/9/09, Rafael Rondon <[hidden email]> wrote: > From: Rafael Rondon <[hidden email]> > Subject: Error any amount that is greater than 999.99 > To: [hidden email] > Date: Friday, January 9, 2009, 4:37 PM > All, > > Please help me, I am using the accounting module, any > amount that is greater > than 999.99, an amount that is greater than or equal to > 1000.00, with the > following error: > > > > *:ERROR MESSAGE:* > > org.ofbiz.widget.screen.ScreenRenderException: Error > rendering screen > [component://common/widget/CommonScreens.xml#GlobalDecorator]: > java.lang.IllegalArgumentException: Error formatting > currency value [1,345]: > java.lang.NumberFormatException (Error formatting currency > value [1,345]: > java.lang.NumberFormatException) > > > This makes for all reports, such as screens, for example by > consulting a > transaction, in view of the same part of the "View > Transaction Entries". > > > -- > Rafael Rondón Montás |
Free forum by Nabble | Edit this page |