[ https://issues.apache.org/jira/browse/FLINK-17874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113747#comment-17113747 ]
chaiyongqiang commented on FLINK-17874: --------------------------------------- When writing a filed to hbase, we serialize ti to bytes. For now, in *_HBaseTypeUtils.serializeFromObject_* only check NULL value for STRING and BYTE, For other type , a NPE is throwed. I think we need a check at the beginning of *_HBaseTypeUtils.serializeFromObject_*. > Writing to hbase throws NPE > --------------------------- > > Key: FLINK-17874 > URL: https://issues.apache.org/jira/browse/FLINK-17874 > Project: Flink > Issue Type: Bug > Components: Connectors / HBase > Affects Versions: 1.10.0 > Reporter: chaiyongqiang > Priority: Major > Attachments: NPE.png > > > Writing a table to hbase throw NPE when the field is NULL, we need handle it . > Please refer to NPE.png for the detail stack. !NPE.png! -- This message was sent by Atlassian Jira (v8.3.4#803005)