ClassCastException: java.math.BigDecimal

By: Yong Wang - wymz
ClassCastException: java.math.BigDecimal
2002-11-19 14:45
Hi I am getting this cast exception at runtime:

Caught exception: Error evaluating expression estimated value : variable_StatusGroup_TOTAL
java.lang.ClassCastException: java.math.BigDecimal at jsinventory2grp.evaluateEstimated( at dori.jasper.engine.fill.JRCalculator.evaluateEstimated( at dori.jasper.engine.fill.JRCalculator.estimateVariables(
here is the related portion of my jasper XML:
<field name="wholesale_price" class="java.lang.Double"/>
<variable name="StatusGroup_TOTAL" resetType="Group" resetGroup="StatusGroup" c
lass="java.lang.Double" calculation="Sum">

I would appreciate if someone can tell me what I am doing wrong. thanks.
2001 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:26am
Last seen: 17 years 1 month ago

0 Answers:

No answers yet