[
https://issues.apache.org/jira/browse/FLINK-16724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072596#comment-17072596
]
Congxian Qiu(klion26) commented on FLINK-16724:
-----------------------------------------------
[~nppoly] thanks for report this issue, This is not the problem of
{{ListSerialzier}}, the reason is that {{LongSerialzier}} does not support
serializer null value. if you want to serializer null values, you can use
{{NullableSerializer instead of }}{{LongSerializer}}.
Currently, you will still find that the test will fail if you replace
{{LongSerializer}} with {{NullableSerializer}}because the implementation of
{{NullableSerializer}}#copy is not correct, I've created FLINK-16916 to track
it.
> ListSerializer cannot serialize list which containers null
> ----------------------------------------------------------
>
> Key: FLINK-16724
> URL: https://issues.apache.org/jira/browse/FLINK-16724
> Project: Flink
> Issue Type: Bug
> Components: Runtime / State Backends
> Reporter: Chongchen Chen
> Priority: Major
> Attachments: list_serializer_err.diff
>
>
> MapSerializer handles null value correctly, but ListSerializer doesn't. The
> attachment is the modification of unit test that can reproduce the bug.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)