I fail to see the relationship between the two. Are you using a DecimalType by any chance? If the writer fails the exception will bubble up but instead the typical (Cannot handle type) exception is being returned instead which indicates that the unknown type / Decimal case is not executed.