Error using Kafka source with Avro format

Summary

Error message ‘java.lang.NullPointerException’ when using Kafka source with Avro format. The error is related to ‘com.fasterxml.jackson.databind.JsonNode.asText()’ being called on a null value.


Question

hello world! when I use kafka source with avro , I got this log error: Internal message: java.lang.NullPointerException: Cannot invoke “com.fasterxml.jackson.databind.JsonNode.asText()” because the return value of “com.fasterxml.jackson.databind.JsonNode.get(String)” is null – WHY?



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

["error", "kafka-source", "avro", "null-pointer-exception", "jsonnode"]