You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/28 03:53:00 UTC
[jira] [Updated] (FLINK-21160) ValueDeserializerWrapper throws
NullPointerException when getProducedType is invoked
[ https://issues.apache.org/jira/browse/FLINK-21160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-21160:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)