[jira] [Created] (FLINK-21160) ValueDeserializerWrapper throws NullPointerException when getProducedType is invoked

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21160) ValueDeserializerWrapper throws NullPointerException when getProducedType is invoked

Shang Yuanchun (Jira)
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)