I think in this line you've just disabled xstream built-in type conversion... Is this intentional? Note that in other converters there's a call to context.convertAnother...