[ 
https://issues.apache.org/jira/browse/FLINK-23847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408507#comment-17408507
 ] 

Hang Ruan commented on FLINK-23847:
-----------------------------------

The _checkNotNull_ method will throw a _NullPointerException_ with the given 
message, maybe we don't need extra information to explain it.

> [Kafka] Error msg are obscure when KafkaConsumer init, valueDeserializer is 
> null
> --------------------------------------------------------------------------------
>
>                 Key: FLINK-23847
>                 URL: https://issues.apache.org/jira/browse/FLINK-23847
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Kafka
>            Reporter: camilesing
>            Priority: Critical
>              Labels: pull-request-available
>
> As the title, i think the msg can be clearer.
>  
>  _this.deserializer = checkNotNull(deserializer, "valueDeserializer");_ 
> _->_
> _this.deserializer = checkNotNull(deserializer, "valueDeserializer cannot be 
> null");_



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to