You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Rafael Rondon <ra...@gmail.com> on 2009/01/10 01:37:23 UTC

Error any amount that is greater than 999.99

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

Re: Error any amount that is greater than 999.99: expr eval?

Posted by Adrian Crum <ad...@yahoo.com>.
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 <ma...@antwebsystems.com> wrote:

> From: Hans Bakker <ma...@antwebsystems.com>
> Subject: Re: Error any amount that is greater than 999.99: expr eval?
> To: user@ofbiz.apache.org
> 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


      

Re: Error any amount that is greater than 999.99: expr eval?

Posted by Hans Bakker <ma...@antwebsystems.com>.
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


Re: Error any amount that is greater than 999.99

Posted by Adrian Crum <ad...@yahoo.com>.
That is a bug that is being worked on.

-Adrian


--- On Fri, 1/9/09, Rafael Rondon <ra...@gmail.com> wrote:

> From: Rafael Rondon <ra...@gmail.com>
> Subject: Error any amount that is greater than 999.99
> To: user@ofbiz.apache.org
> 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