You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Qingsheng Ren (Jira)" <ji...@apache.org> on 2021/01/27 09:25:00 UTC
[jira] [Created] (FLINK-21160) ValueDeserializerWrapper throws
NullPointerException when getProducedType is invoked
Qingsheng Ren created FLINK-21160:
-------------------------------------
Summary: ValueDeserializerWrapper throws NullPointerException when getProducedType is invoked
Key: FLINK-21160
URL: https://issues.apache.org/jira/browse/FLINK-21160
Project: Flink
Issue Type: Bug
Components: Connectors / Kafka
Reporter: Qingsheng Ren
The variable {{deserializer}} in class {{ValueDeserializerWrapper}} won't be instantiated until method {{deserialize()}} is invoked in runtime, so in the job compiling stage when invoking {{getProducedType()}}, NPE will be thrown because of referencing the uninstantiated variable {{deserializer}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)