SAP Adapater - transformHierarchyToFlat

I’m trying to using the pub.sap.idoc:transformHierachyToFlat service and I’m getting the following error:

java.lang.ClassCastException: [Lcom.wm.util.Values;

Any idea on what could be causing this or how to resolve it?

Thanks.