Hi

Thanks Adrian for that link...

With a recent svn trunk version, I'm getting bigdecimal and generic
value errors.

Is this something in the works?

Thanks

Daniel


errors like:

2009-01-05 14:52:49,939 (TP-Processor3) [
Log.java:110:INFO ]
[CommonPermissionServices.xml#genericBasePermissionCheck] 
 Checking for primary permission ACCOUNTING_UPDATE

2009-01-05 14:52:49,951 (TP-Processor3) [
GenericEntity.java:413:WARN ]
---- exception report
----------------------------------------------------------
=-=-=-=-=-=-=-=-= Database type warning GenericEntity.set
=-=-=-=-=-=-=-=-= 
In entity field [GlAccountHistory.postedDebits] set the value passed in
[java.math.BigDecimal] 
is not compatible with the Java type of the field [Double]

Exception: java.lang.Exception
Message: Location of database type warning
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Location of database type warning
org.ofbiz.entity.GenericEntity.set(GenericEntity.java:413)
org.ofbiz.entity.GenericEntity.put(GenericEntity.java:1326)
org.ofbiz.entity.GenericEntity.put(GenericEntity.java:68)
org.ofbiz.base.util.string.UelUtil
$BasicVariableMapper.setVariable(UelUtil.java:136)
org.ofbiz.base.util.string.UelUtil
$ExtendedCompositeResolver.setValue(UelUtil.java:198)
de.odysseus.el.tree.impl.ast.AstIdentifier.setValue(AstIdentifier.java:81)
de.odysseus.el.tree.impl.ast.AstEval.setValue(AstEval.java:78)
de.odysseus.el.TreeValueExpression.setValue(TreeValueExpression.java:145)
org.ofbiz.base.util.string.UelUtil.setValue(UelUtil.java:87)
org.ofbiz.base.util.collections.FlexibleMapAccessor.put(FlexibleMapAccessor.java:162)
...


and Generic Value Errors:

2009-01-05 14:52:49,982 (TP-Processor3) [
Log.java:110:INFO ]
[CommonPermissionServices.xml#genericBasePermissionCheck] 
Checking for primary permission ACCOUNTING_UPDATE

2009-01-05 14:52:49,993 (TP-Processor3) [
SimpleMethod.java:926:ERROR]
---- runtime exception report
--------------------------------------------------
Error in simple-method operation [<store-value/>]:
java.lang.ClassCastException: 
java.lang.Double cannot be cast to org.ofbiz.entity.GenericValue
Exception: java.lang.ClassCastException
Message: java.lang.Double cannot be cast to
org.ofbiz.entity.GenericValue
---- stack trace
---------------------------------------------------------------
java.lang.ClassCastException: java.lang.Double cannot be cast to
org.ofbiz.entity.GenericValue
org.ofbiz.minilang.method.entityops.StoreValue.exec(StoreValue.java:58)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921)
org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:119)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921)
org.ofbiz.minilang.method.envops.Iterate.exec(Iterate.java:119)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921)
org.ofbiz.minilang.method.ifops.IfCompare.exec(IfCompare.java:134)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921)




Reply via email to