The RowSerializer throws a RuntimeException when there is mismatch between the serializers field length and the input row. But the exception message does not contain information about the difference in the lengths. Eg:
java.lang.RuntimeException: Row arity of from does not match serializers.
Adding information about the mismatched length will be more helpful.