Description
line 225 of TorqueRuntimeException.java has:
return (String[]) list.toArray();
it should be:
return (String[]) list.toArray(new String[list.size()]);
Otherwise the returned array will be of type Object[] and the cast will fail at runtime.