Thanks for Reply Gordon . I am not doing any unit test . Its production code
. 

public class MyClass extends FlinkKafkaProducer010<BasicInfoTuple>

and then

incrementCounter("items-not-found", this.getRuntimeContext());



--
View this message in context: 
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Why-I-am-getting-Null-pointer-exception-while-accessing-RuntimeContext-in-FlinkKafkaProducer010-tp12633p12635.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at 
Nabble.com.

Reply via email to