JDBC MS Sql connector resultset "SQLServerResultSet cannot be cast to"

Hi All

Hoping you can help me on this?

I have a MS SQL 2012 connector with a basic TSQL query

SELECT iSiteID, cSiteName
FROM SiteCustomers

It work fine as an out of "array" i get the results in a list.list but when I want to change the array variable to a resultset variable i get an error

org.bonitasoft.engine.exception.BonitaRuntimeException: USERNAME=install | java.lang.ClassCastException: cannot be cast to