"No converter found" warnings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

"No converter found" warnings

rajsaini
I have latest revision of trunk (Rev 965812) on my local system. While
running I see "No converter found" warning and I see the exception given
below. I did clean-all many time and even checked out the complete
source but I see the same errors again and again. Any one else having
similar problem or I am missing some settings somewhere?

<stackTrace>
] Checking for primary permission ACCOUNTING_CREATE
      [java] 2010-07-20 17:07:11,008 (default-invoker-Thread-8)
[         Converters.java:102:WARN ] *** No converter found, converting
from java.lang.String to java.lang.Boolean. Please report this message
to the developer community so a suitable converter can be created. ***
      [java] 2010-07-20 17:07:11,014 (default-invoker-Thread-8) [      
SetOperation.java:109:ERROR]
      [java] ---- exception report
----------------------------------------------------------
      [java] Could not convert field value for the field:
[hasPermission] to the [Boolean] type for the value [true]:
org.ofbiz.base.util.GeneralException: Conversion from java.lang.String
to Boolean not currently supported
      [java] Exception: org.ofbiz.base.util.GeneralException
      [java] Message: Conversion from java.lang.String to Boolean not
currently supported
      [java] ---- stack trace
---------------------------------------------------------------
      [java] org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to Boolean not currently supported
      [java]
org.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java:545)
      [java]
org.ofbiz.minilang.method.envops.SetOperation.exec(SetOperation.java:106)
      [java]
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
      [java]
org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86)
      [java]
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
      [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739)
      [java]
org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:86)
      [java]
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
</stackTrace>

Thanks,

Raj
Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

Matthieu Bollot-4
Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

rajsaini
May be. Also it may be related to specific database. I am using
PostgreSQL 8.4 and  many part of the applications are not working.
However, I found there is no problem with the demo site. Could it be due
to the database server as demo site is using Derby.

Thanks,

Raj

On 20/07/10 18:01, Matthieu Bollot wrote:
> It seems that it is the same as jira 3859.
>
> https://issues.apache.org/jira/browse/OFBIZ-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890020#action_12890020
>
>
>    

Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

Adrian Crum-2
In reply to this post by Matthieu Bollot-4
That Jira issue has nothing to do with the conversion framework.

-Adrian

--- On Tue, 7/20/10, Matthieu Bollot <[hidden email]> wrote:

> From: Matthieu Bollot <[hidden email]>
> Subject: Re: "No converter found" warnings
> To: [hidden email]
> Date: Tuesday, July 20, 2010, 5:31 AM
> It seems that it is the same as jira
> 3859.
>
> https://issues.apache.org/jira/browse/OFBIZ-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890020#action_12890020
>
>
> --
> Matthieu BOLLOT
> www.nereide.biz
>
>


     
Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

rajsaini
Adrian,

Do you have any idea what is wrong and where can I look into the code?
Could it be database related?

Thanks,

Raj

On 20/07/10 18:23, Adrian Crum wrote:

> That Jira issue has nothing to do with the conversion framework.
>
> -Adrian
>
> --- On Tue, 7/20/10, Matthieu Bollot<[hidden email]>  wrote:
>
>    
>> From: Matthieu Bollot<[hidden email]>
>> Subject: Re: "No converter found" warnings
>> To: [hidden email]
>> Date: Tuesday, July 20, 2010, 5:31 AM
>> It seems that it is the same as jira
>> 3859.
>>
>> https://issues.apache.org/jira/browse/OFBIZ-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890020#action_12890020
>>
>>
>> --
>> Matthieu BOLLOT
>> www.nereide.biz
>>
>>
>>      
>
>
>
>    

Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

Matthieu Bollot-4
may be it is not related to the jira i told, but you can still have a
look at 959470 and see if it works before this commit and not after…

Le mardi 20 juillet 2010 à 18:27 +0530, Raj Saini a écrit :

> Adrian,
>
> Do you have any idea what is wrong and where can I look into the code?
> Could it be database related?
>
> Thanks,
>
> Raj
>
> On 20/07/10 18:23, Adrian Crum wrote:
> > That Jira issue has nothing to do with the conversion framework.
> >
> > -Adrian
> >
> > --- On Tue, 7/20/10, Matthieu Bollot<[hidden email]>  wrote:
> >
> >    
> >> From: Matthieu Bollot<[hidden email]>
> >> Subject: Re: "No converter found" warnings
> >> To: [hidden email]
> >> Date: Tuesday, July 20, 2010, 5:31 AM
> >> It seems that it is the same as jira
> >> 3859.
> >>
> >> https://issues.apache.org/jira/browse/OFBIZ-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890020#action_12890020
> >>
> >>
> >> --
> >> Matthieu BOLLOT
> >> www.nereide.biz
> >>
> >>
> >>      
> >
> >
> >
> >    
>

--
Matthieu BOLLOT
www.nereide.biz

Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

Adrian Crum-2
In reply to this post by rajsaini
It is unlikely the warning is database related. You could try switching your local copy to Derby to see if the problem goes away.

-Adrian


--- On Tue, 7/20/10, Raj Saini <[hidden email]> wrote:

> From: Raj Saini <[hidden email]>
> Subject: Re: "No converter found" warnings
> To: [hidden email]
> Cc: "Adrian Crum" <[hidden email]>
> Date: Tuesday, July 20, 2010, 5:57 AM
> Adrian,
>
> Do you have any idea what is wrong and where can I look
> into the code?
> Could it be database related?
>
> Thanks,
>
> Raj
>
> On 20/07/10 18:23, Adrian Crum wrote:
> > That Jira issue has nothing to do with the conversion
> framework.
> >
> > -Adrian
> >
> > --- On Tue, 7/20/10, Matthieu Bollot<[hidden email]> 
> wrote:
> >
> >   
> >> From: Matthieu Bollot<[hidden email]>
> >> Subject: Re: "No converter found" warnings
> >> To: [hidden email]
> >> Date: Tuesday, July 20, 2010, 5:31 AM
> >> It seems that it is the same as jira
> >> 3859.
> >>
> >> https://issues.apache.org/jira/browse/OFBIZ-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890020#action_12890020
> >>
> >>
> >> --
> >> Matthieu BOLLOT
> >> www.nereide.biz
> >>
> >>
> >>     
> >
> >
> >
> >   
>
>



Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

rajsaini
Thanks Adrian, I will try this and let you know.

Raj
On 20/07/10 19:18, Adrian Crum wrote:

> It is unlikely the warning is database related. You could try switching your local copy to Derby to see if the problem goes away.
>
> -Adrian
>
>
> --- On Tue, 7/20/10, Raj Saini<[hidden email]>  wrote:
>
>    
>> From: Raj Saini<[hidden email]>
>> Subject: Re: "No converter found" warnings
>> To: [hidden email]
>> Cc: "Adrian Crum"<[hidden email]>
>> Date: Tuesday, July 20, 2010, 5:57 AM
>> Adrian,
>>
>> Do you have any idea what is wrong and where can I look
>> into the code?
>> Could it be database related?
>>
>> Thanks,
>>
>> Raj
>>
>> On 20/07/10 18:23, Adrian Crum wrote:
>>      
>>> That Jira issue has nothing to do with the conversion
>>>        
>> framework.
>>      
>>> -Adrian
>>>
>>> --- On Tue, 7/20/10, Matthieu Bollot<[hidden email]>
>>>        
>> wrote:
>>      
>>>
>>>        
>>>> From: Matthieu Bollot<[hidden email]>
>>>> Subject: Re: "No converter found" warnings
>>>> To: [hidden email]
>>>> Date: Tuesday, July 20, 2010, 5:31 AM
>>>> It seems that it is the same as jira
>>>> 3859.
>>>>
>>>> https://issues.apache.org/jira/browse/OFBIZ-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890020#action_12890020
>>>>
>>>>
>>>> --
>>>> Matthieu BOLLOT
>>>> www.nereide.biz
>>>>
>>>>
>>>>
>>>>          
>>>
>>>
>>>
>>>        
>>
>>      
>
>
>
>    

Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

BJ Freeman
In reply to this post by rajsaini
is there any errors you found in the data that suggests this is not working.

Raj Saini sent the following on 7/20/2010 4:45 AM:

> I have latest revision of trunk (Rev 965812) on my local system. While
> running I see "No converter found" warning and I see the exception given
> below. I did clean-all many time and even checked out the complete
> source but I see the same errors again and again. Any one else having
> similar problem or I am missing some settings somewhere?
>
> <stackTrace>
> ] Checking for primary permission ACCOUNTING_CREATE
> [java] 2010-07-20 17:07:11,008 (default-invoker-Thread-8) [
> Converters.java:102:WARN ] *** No converter found, converting from
> java.lang.String to java.lang.Boolean. Please report this message to the
> developer community so a suitable converter can be created. ***
> [java] 2010-07-20 17:07:11,014 (default-invoker-Thread-8) [
> SetOperation.java:109:ERROR]
> [java] ---- exception report
> ----------------------------------------------------------
> [java] Could not convert field value for the field: [hasPermission] to
> the [Boolean] type for the value [true]:
> org.ofbiz.base.util.GeneralException: Conversion from java.lang.String
> to Boolean not currently supported
> [java] Exception: org.ofbiz.base.util.GeneralException
> [java] Message: Conversion from java.lang.String to Boolean not
> currently supported
> [java] ---- stack trace
> ---------------------------------------------------------------
> [java] org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to Boolean not currently supported
> [java]
> org.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java:545)
> [java]
> org.ofbiz.minilang.method.envops.SetOperation.exec(SetOperation.java:106)
> [java] org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
> [java]
> org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86)
> [java] org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
> [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739)
> [java]
> org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:86)
>
> [java] org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
> </stackTrace>
>
> Thanks,
>
> Raj
>
Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

rajsaini
Yes, CMS part of the content application does not render the contents
content tree and throws exception.

Raj

On 20/07/10 22:07, BJ Freeman wrote:

> is there any errors you found in the data that suggests this is not
> working.
>
> Raj Saini sent the following on 7/20/2010 4:45 AM:
>> I have latest revision of trunk (Rev 965812) on my local system. While
>> running I see "No converter found" warning and I see the exception given
>> below. I did clean-all many time and even checked out the complete
>> source but I see the same errors again and again. Any one else having
>> similar problem or I am missing some settings somewhere?
>>
>> <stackTrace>
>> ] Checking for primary permission ACCOUNTING_CREATE
>> [java] 2010-07-20 17:07:11,008 (default-invoker-Thread-8) [
>> Converters.java:102:WARN ] *** No converter found, converting from
>> java.lang.String to java.lang.Boolean. Please report this message to the
>> developer community so a suitable converter can be created. ***
>> [java] 2010-07-20 17:07:11,014 (default-invoker-Thread-8) [
>> SetOperation.java:109:ERROR]
>> [java] ---- exception report
>> ----------------------------------------------------------
>> [java] Could not convert field value for the field: [hasPermission] to
>> the [Boolean] type for the value [true]:
>> org.ofbiz.base.util.GeneralException: Conversion from java.lang.String
>> to Boolean not currently supported
>> [java] Exception: org.ofbiz.base.util.GeneralException
>> [java] Message: Conversion from java.lang.String to Boolean not
>> currently supported
>> [java] ---- stack trace
>> ---------------------------------------------------------------
>> [java] org.ofbiz.base.util.GeneralException: Conversion from
>> java.lang.String to Boolean not currently supported
>> [java]
>> org.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java:545)
>> [java]
>> org.ofbiz.minilang.method.envops.SetOperation.exec(SetOperation.java:106)
>>
>> [java] org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
>> [java]
>> org.ofbiz.minilang.method.conditional.MasterIf.exec(MasterIf.java:86)
>> [java] org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
>> [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739)
>> [java]
>> org.ofbiz.minilang.method.callops.CallSimpleMethod.exec(CallSimpleMethod.java:86)
>>
>>
>> [java] org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
>> </stackTrace>
>>
>> Thanks,
>>
>> Raj
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

rajsaini
In reply to this post by Adrian Crum-2
I tried this on local copy of Derby and it is same problem. I also see
this exception during demo data loading. It is strange no one else is
having this problem. I have latest revision updated few minutes before.

Thanks,

Raj

[java] 2010-07-21 15:23:19,784 (main) [       SequenceUtil.java:337:INFO
] Got bank of sequenced IDs for [InventoryItemDetail]; curSeqId=10000,
maxSeqId=10010, bankSize=10
      [java] 2010-07-21 15:23:19,786 (main) [      
SetOperation.java:109:ERROR]
      [java] ---- exception report
----------------------------------------------------------
      [java] Could not convert field value for the field:
[newEntity.accountingQuantityDiff] to the [BigDecimal] type for the
value [0]: org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
      [java] Exception: org.ofbiz.base.util.GeneralException
      [java] Message: Conversion from java.lang.String to BigDecimal not
currently supported
      [java] ---- stack trace
---------------------------------------------------------------
      [java] org.ofbiz.base.util.GeneralException: Conversion from
java.lang.String to BigDecimal not currently supported
      [java]
org.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java:545)
      [java]
org.ofbiz.minilang.method.envops.SetOperation.exec(SetOperation.java:106)
      [java]
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
      [java] org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:96)
      [java]
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
      [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739)
      [java]
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160)
      [java]
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142)
      [java]
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
      [java]
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53)
      [java]
org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761)
      [java]
_$gen.file_58$.home.raj.ofbiz.applications.product.servicedef.services_95$facility_46$xml_35$createInventoryItemDetail.runSync(file:/home/raj/ofbiz/applications/product/servicedef/services_facility.xml#createInventoryItemDetail:98)
      [java]
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399)

On 20/07/10 19:18, Adrian Crum wrote:

> It is unlikely the warning is database related. You could try switching your local copy to Derby to see if the problem goes away.
>
> -Adrian
>
>
> --- On Tue, 7/20/10, Raj Saini<[hidden email]>  wrote:
>
>    
>> From: Raj Saini<[hidden email]>
>> Subject: Re: "No converter found" warnings
>> To: [hidden email]
>> Cc: "Adrian Crum"<[hidden email]>
>> Date: Tuesday, July 20, 2010, 5:57 AM
>> Adrian,
>>
>> Do you have any idea what is wrong and where can I look
>> into the code?
>> Could it be database related?
>>
>> Thanks,
>>
>> Raj
>>
>> On 20/07/10 18:23, Adrian Crum wrote:
>>      
>>> That Jira issue has nothing to do with the conversion
>>>        
>> framework.
>>      
>>> -Adrian
>>>
>>> --- On Tue, 7/20/10, Matthieu Bollot<[hidden email]>
>>>        
>> wrote:
>>      
>>>
>>>        
>>>> From: Matthieu Bollot<[hidden email]>
>>>> Subject: Re: "No converter found" warnings
>>>> To: [hidden email]
>>>> Date: Tuesday, July 20, 2010, 5:31 AM
>>>> It seems that it is the same as jira
>>>> 3859.
>>>>
>>>> https://issues.apache.org/jira/browse/OFBIZ-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890020#action_12890020
>>>>
>>>>
>>>> --
>>>> Matthieu BOLLOT
>>>> www.nereide.biz
>>>>
>>>>
>>>>
>>>>          
>>>
>>>
>>>
>>>        
>>
>>      
>
>
>
>    

Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

Jacques Le Roux
Administrator
As I consider it as neutral, I checked the trunk demo server console/error logs and found any "Could not convert field value for the
field", "SetOperation" or "convert " strings

Jacques

From: "Raj Saini" <[hidden email]>

>I tried this on local copy of Derby and it is same problem. I also see this exception during demo data loading. It is strange no
>one else is having this problem. I have latest revision updated few minutes before.
>
> Thanks,
>
> Raj
>
> [java] 2010-07-21 15:23:19,784 (main) [       SequenceUtil.java:337:INFO ] Got bank of sequenced IDs for [InventoryItemDetail];
> curSeqId=10000, maxSeqId=10010, bankSize=10
>      [java] 2010-07-21 15:23:19,786 (main) [       SetOperation.java:109:ERROR]
>      [java] ---- exception report ----------------------------------------------------------
>      [java] Could not convert field value for the field: [newEntity.accountingQuantityDiff] to the [BigDecimal] type for the value
> [0]: org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to BigDecimal not currently supported
>      [java] Exception: org.ofbiz.base.util.GeneralException
>      [java] Message: Conversion from java.lang.String to BigDecimal not currently supported
>      [java] ---- stack trace ---------------------------------------------------------------
>      [java] org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to BigDecimal not currently supported
>      [java] org.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java:545)
>      [java] org.ofbiz.minilang.method.envops.SetOperation.exec(SetOperation.java:106)
>      [java] org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
>      [java] org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:96)
>      [java] org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
>      [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739)
>      [java] org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160)
>      [java] org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142)
>      [java] org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
>      [java] org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53)
>      [java] org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761)
>      [java]
> _$gen.file_58$.home.raj.ofbiz.applications.product.servicedef.services_95$facility_46$xml_35$createInventoryItemDetail.runSync(file:/home/raj/ofbiz/applications/product/servicedef/services_facility.xml#createInventoryItemDetail:98)
>      [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399)
>
> On 20/07/10 19:18, Adrian Crum wrote:
>> It is unlikely the warning is database related. You could try switching your local copy to Derby to see if the problem goes away.
>>
>> -Adrian
>>
>>
>> --- On Tue, 7/20/10, Raj Saini<[hidden email]>  wrote:
>>
>>
>>> From: Raj Saini<[hidden email]>
>>> Subject: Re: "No converter found" warnings
>>> To: [hidden email]
>>> Cc: "Adrian Crum"<[hidden email]>
>>> Date: Tuesday, July 20, 2010, 5:57 AM
>>> Adrian,
>>>
>>> Do you have any idea what is wrong and where can I look
>>> into the code?
>>> Could it be database related?
>>>
>>> Thanks,
>>>
>>> Raj
>>>
>>> On 20/07/10 18:23, Adrian Crum wrote:
>>>
>>>> That Jira issue has nothing to do with the conversion
>>>>
>>> framework.
>>>
>>>> -Adrian
>>>>
>>>> --- On Tue, 7/20/10, Matthieu Bollot<[hidden email]>
>>>>
>>> wrote:
>>>
>>>>
>>>>
>>>>> From: Matthieu Bollot<[hidden email]>
>>>>> Subject: Re: "No converter found" warnings
>>>>> To: [hidden email]
>>>>> Date: Tuesday, July 20, 2010, 5:31 AM
>>>>> It seems that it is the same as jira
>>>>> 3859.
>>>>>
>>>>> https://issues.apache.org/jira/browse/OFBIZ-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890020#action_12890020
>>>>>
>>>>>
>>>>> --
>>>>> Matthieu BOLLOT
>>>>> www.nereide.biz
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

Adrian Crum
In reply to this post by rajsaini
I have no clue why you would get that error message. The only
suggestions I have are to make sure you are using Java 6, run ant clean,
and then run ant build.

-Adrian

On 7/21/2010 3:20 AM, Raj Saini wrote:

> I tried this on local copy of Derby and it is same problem. I also see
> this exception during demo data loading. It is strange no one else is
> having this problem. I have latest revision updated few minutes before.
>
> Thanks,
>
> Raj
>
> [java] 2010-07-21 15:23:19,784 (main) [ SequenceUtil.java:337:INFO ] Got
> bank of sequenced IDs for [InventoryItemDetail]; curSeqId=10000,
> maxSeqId=10010, bankSize=10
> [java] 2010-07-21 15:23:19,786 (main) [ SetOperation.java:109:ERROR]
> [java] ---- exception report
> ----------------------------------------------------------
> [java] Could not convert field value for the field:
> [newEntity.accountingQuantityDiff] to the [BigDecimal] type for the
> value [0]: org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> [java] Exception: org.ofbiz.base.util.GeneralException
> [java] Message: Conversion from java.lang.String to BigDecimal not
> currently supported
> [java] ---- stack trace
> ---------------------------------------------------------------
> [java] org.ofbiz.base.util.GeneralException: Conversion from
> java.lang.String to BigDecimal not currently supported
> [java]
> org.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java:545)
> [java]
> org.ofbiz.minilang.method.envops.SetOperation.exec(SetOperation.java:106)
> [java] org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
> [java] org.ofbiz.minilang.method.ifops.IfEmpty.exec(IfEmpty.java:96)
> [java] org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
> [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:739)
> [java]
> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160)
> [java]
> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142)
> [java]
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
>
> [java]
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53)
> [java]
> org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:761)
>
> [java]
> _$gen.file_58$.home.raj.ofbiz.applications.product.servicedef.services_95$facility_46$xml_35$createInventoryItemDetail.runSync(file:/home/raj/ofbiz/applications/product/servicedef/services_facility.xml#createInventoryItemDetail:98)
>
> [java]
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399)
>
> On 20/07/10 19:18, Adrian Crum wrote:
>> It is unlikely the warning is database related. You could try
>> switching your local copy to Derby to see if the problem goes away.
>>
>> -Adrian
>>
>>
>> --- On Tue, 7/20/10, Raj Saini<[hidden email]> wrote:
>>
>>> From: Raj Saini<[hidden email]>
>>> Subject: Re: "No converter found" warnings
>>> To: [hidden email]
>>> Cc: "Adrian Crum"<[hidden email]>
>>> Date: Tuesday, July 20, 2010, 5:57 AM
>>> Adrian,
>>>
>>> Do you have any idea what is wrong and where can I look
>>> into the code?
>>> Could it be database related?
>>>
>>> Thanks,
>>>
>>> Raj
>>>
>>> On 20/07/10 18:23, Adrian Crum wrote:
>>>> That Jira issue has nothing to do with the conversion
>>> framework.
>>>> -Adrian
>>>>
>>>> --- On Tue, 7/20/10, Matthieu Bollot<[hidden email]>
>>> wrote:
>>>>
>>>>> From: Matthieu Bollot<[hidden email]>
>>>>> Subject: Re: "No converter found" warnings
>>>>> To: [hidden email]
>>>>> Date: Tuesday, July 20, 2010, 5:31 AM
>>>>> It seems that it is the same as jira
>>>>> 3859.
>>>>>
>>>>> https://issues.apache.org/jira/browse/OFBIZ-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890020#action_12890020
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Matthieu BOLLOT
>>>>> www.nereide.biz
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

james_sg
In reply to this post by rajsaini
Can you show what you have for the org.ofbiz.base.conversion.ConverterLoader file?

Raj Saini wrote
I tried this on local copy of Derby and it is same problem. I also see
this exception during demo data loading. It is strange no one else is
having this problem. I have latest revision updated few minutes before.

Thanks,

Raj
Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

Adrian Crum
I see in the commit logs that the service provider code was changed in
rev 935381. It would be helpful to know if the problem exists in a
revision prior to that. Maybe there is an ant version issue or something.

-Adrian


On 7/21/2010 8:11 AM, james_sg wrote:

>
> Can you show what you have for the org.ofbiz.base.conversion.ConverterLoader
> file?
>
>
> Raj Saini wrote:
>>
>> I tried this on local copy of Derby and it is same problem. I also see
>> this exception during demo data loading. It is strange no one else is
>> having this problem. I have latest revision updated few minutes before.
>>
>> Thanks,
>>
>> Raj
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: "No converter found" warnings

rajsaini
Thanks Adrian. It turned out to be a ant issue. I was using Ant 1.7.0
and building with internal ant solved the problem.

Raj
On 21/07/10 20:55, Adrian Crum wrote:

> I see in the commit logs that the service provider code was changed in
> rev 935381. It would be helpful to know if the problem exists in a
> revision prior to that. Maybe there is an ant version issue or something.
>
> -Adrian
>
>
> On 7/21/2010 8:11 AM, james_sg wrote:
>>
>> Can you show what you have for the
>> org.ofbiz.base.conversion.ConverterLoader
>> file?
>>
>>
>> Raj Saini wrote:
>>>
>>> I tried this on local copy of Derby and it is same problem. I also see
>>> this exception during demo data loading. It is strange no one else is
>>> having this problem. I have latest revision updated few minutes before.
>>>
>>> Thanks,
>>>
>>> Raj
>>>
>>
>