org.outerj.xreporter.datatype.type.BigDecimalType line 111
When using java5 to compile xreporter with compile properties in xreporter-build set to source="1.4" target="1.4", the compiler doesn't cast the argument to double when compiling "new BigDecimal(long arg)". This can lead to problems when running phoenix with java 1.4.
For the record: when using java1.4 to compile, the cast happens right.