Login  Register

Re: Converter error

Posted by Adrian Crum-2 on Nov 12, 2009; 2:33am
URL: http://ofbiz.116.s1.nabble.com/Converter-error-tp595857p609026.html

Fixed, rev 835197.

-Adrian

--- On Wed, 11/11/09, Jacques Le Roux <[hidden email]> wrote:

> From: Jacques Le Roux <[hidden email]>
> Subject: Re: Converter error
> To: [hidden email]
> Date: Wednesday, November 11, 2009, 3:56 PM
> BTW the error has changed, it's now
>
> 2009-11-12 00:54:23,204 (http-0.0.0.0-18443-1) [ 
>    ServiceEcaRule.java:134:INFO ] For Service
> ECA [createInventoryItemDetail] on
> [commit] got false for condition:
> [unitCost][is-not-empty][true][String]
> 2009-11-12 00:54:23,204 (http-0.0.0.0-18443-1) [ 
>        ObjectType.java:523:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Exception: org.ofbiz.base.conversion.ConversionException
> Message: java.text.ParseException: Unparseable number: ""
> ---- cause
> ---------------------------------------------------------------------
> Exception: java.text.ParseException
> Message: Unparseable number: ""
> ---- stack trace
> ---------------------------------------------------------------
> java.text.ParseException: Unparseable number: ""
> java.text.NumberFormat.parse(NumberFormat.java:333)
> org.ofbiz.base.conversion.NumberConverters$AbstractToNumberConverter.fromString(NumberConverters.java:46)
> org.ofbiz.base.conversion.NumberConverters$StringToBigDecimal.convert(NumberConverters.java:523)
> org.ofbiz.base.conversion.NumberConverters$StringToBigDecimal.convert(NumberConverters.java:516)
> org.ofbiz.base.conversion.NumberConverters$AbstractUsesLocaleConverter.convert(NumberConverters.java:65)
>
> Good night (at least for me ;o)
>
> Jacques
>
>
> From: "Jacques Le Roux" <[hidden email]>
> > Sorry, yes still this issue
> > r835159 (ant clean build)
> >
> > Thanks
> >
> > Jacques
> >
> > From: "Adrian Crum" <[hidden email]>
> >> Do you have a recent checkout? I just committed a
> bunch of fixes.
> >>
> >> -Adrian
> >>
> >> Jacques Le Roux wrote:
> >>> Hi Adrian,
> >>>
> >>> Got this error while trying https://issues.apache.org/jira/browse/OFBIZ-3173 (order
> creation with a GZ-BASKET)
> >>>
> >>> 2009-11-12 00:07:27,970 (http-0.0.0.0-18443-1)
> [     
>    Converters.java:166:WARN ] *** No
> converter found, converting from
> >>> java.sql.Timestamp to java.sql.Date. Please
> report this message to the developer com
> >>> munity so a suitable converter can be created.
> ***
> >>> 2009-11-12 00:07:27,970 (http-0.0.0.0-18443-1)
> [        ModelEntity.java:1316:ERROR]
> >>> ---- exception report
> ----------------------------------------------------------
> >>> Could not convert field value for the field:
> [fromDate] on the [CustomTimePeriod] entity to the
> [java.sql.Date] type for the
> >>> value [2009-11-12 00:07:27.626]:
> org.ofbiz.base.util.GeneralException: Conversion f
> >>> rom java.sql.Timestamp to java.sql.Date not
> currently supported
> >>> Exception:
> org.ofbiz.base.util.GeneralException
> >>> Message: Conversion from java.sql.Timestamp to
> java.sql.Date not currently supported
> >>> ---- stack trace
> ---------------------------------------------------------------
> >>> org.ofbiz.base.util.GeneralException:
> Conversion from java.sql.Timestamp to java.sql.Date not
> currently supported
> >>>
> org.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java:547)
> >>>
> >>> Thanks
> >>>
> >>> Jacques
> >>>
> >>>
> >>
> >
>
>
>