922963 wrote:Hi Henry,
I implemented an EntryProcessor to return results of calculated sums, however, below exception is thrown when retrieving the result. Any idea? I tried to amend to return BigDecimal instead of BigDecimal, it does work. Why?
Exception in thread "main" java.lang.ClassCastException: [Ljava.lang.Object; incompatible with [Ljava.math.BigDecimal;
BigDecimal results = (BigDecimal)CacheHelper.getCounterPartyCache().invoke(new FttCntptId("052753"), new CreateOrderProcessor());