String stringParam = makeCqlString(type.toString(param));
It crashes with ClassCastException for all parameters that are not Strings. It is because, when the method applyDualBindings is called from makeUpdate it ALWAYS get one and the same "type" as parameter. In fact it is a comparator of columnfamily itself.
In my case it is UTF8Type. And UTF8Type.toString() method expects only Strings.
I think it must be column-dependent.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Invalid [ 6 ]|
|Workflow||no-reopen-closed, patch-avail [ 12613894 ]||patch-available, re-open possible [ 12751668 ]|
|Workflow||patch-available, re-open possible [ 12751668 ]||reopen-resolved, no closed status, patch-avail, testing [ 12757170 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|102d 9h 4m||1||Jonathan Ellis||28/Aug/11 22:34|