Kothapalli Venkata Avinash
10/15/2025, 9:27 PMkapa.ai
10/15/2025, 9:28 PMCannot invoke "com.fasterxml.jackson.databind.JsonNode.asInt()" because the return value of "com.fasterxml.jackson.databind.JsonNode.get(String)" is null means that the code is trying to access a field in a JSON object using .get("fieldName"), but that field does not exist (i.e., it returns null). Then, it immediately tries to call .asInt() on this null value, which causes a NullPointerException. This is a common issue in Airbyte connectors and integrations when the expected configuration or data field is missing from the JSON input. For example, similar errors have been reported when required fields are not present in the configuration for connectors like S3 Glue or Snowflake, leading to null pointer exceptions when the code tries to access and convert missing fields [[S3 Glue example](https://discuss.airbyte.io/t/4163)][[Snowflake example](https://discuss.airbyte.io/t/933)]. How to resolve: - Double-check your configuration JSON to ensure all required fields are present and correctly named. - If you are developing a custom connector, add null checks before calling methods like .asInt() on the result of .get(). - Refer to the connector's documentation or its spec.json to verify which fields are required. If you provide more context (such as which connector or configuration you are using), I can help you identify the specific missing field. Example from Airbyte Community: > "Which implies that there is some function expecting a JSON value and it’s getting null instead. ... Perhaps there is a stream ... that is returning an empty JSON object which is causing this to crash." [[S3 Glue error discussion](https://discuss.airbyte.io/t/4163)] If you need help identifying the missing field, please share your configuration or the relevant part of your logs.