seeing an issue with a kubernetes helm deployment,...
# ask-ai
m
seeing an issue with a kubernetes helm deployment, when trying to create a Snowflake destination
Copy code
2025-09-02 20:20:16,528 [Activity Executor taskQueue="CONNECTION_UPDATER", namespace="default": 32]	WARN	i.t.i.a.ActivityTaskExecutors$BaseActivityTaskExecutor(execute):126 - Activity failure. ActivityId=485bbdd9-c7c4-3779-97cc-75138efc3553, activityType=CheckProgress, attempt=4
java.lang.NullPointerException: null
	at io.airbyte.workers.temporal.scheduling.activities.CheckRunProgressActivityImpl.checkProgress(CheckRunProgressActivityImpl.kt:21)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.temporal.internal.activity.RootActivityInboundCallsInterceptor$POJOActivityInboundCallsInterceptor.executeActivity(RootActivityInboundCallsInterceptor.java:64)
	at io.temporal.internal.activity.RootActivityInboundCallsInterceptor.execute(RootActivityInboundCallsInterceptor.java:43)
	at io.temporal.internal.activity.ActivityTaskExecutors$BaseActivityTaskExecutor.execute(ActivityTaskExecutors.java:107)
	at io.temporal.internal.activity.ActivityTaskHandlerImpl.handle(ActivityTaskHandlerImpl.java:124)
	at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handleActivity(ActivityWorker.java:290)
	at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:254)
	at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:217)
	at io.temporal.internal.worker.PollTaskExecutor.lambda$process$1(PollTaskExecutor.java:96)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
k
It looks like a Temporal activity is NPE’ing during job progress checking: CheckRunProgressActivityImpl.checkProgress. The knowledge sources show several similar Kubernetes/Temporal failures during checks and destination setup, often caused by Kubernetes pod launch issues or null handling bugs in worker activities. In these cases, Airbyte reports internal scheduler/worker errors (RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED, “Unexpected error while checking connection”, NPEs) when pods can’t be created or when the worker reads null/empty outputs from a failed pod. Investigations typically focus on Kubernetes pod creation/ports/secrets and reviewing worker logs around the check step: - Pod launch failures/timeouts lead to internal check errors (Timed out waiting for Pod, Failed to create pod for check step) and subsequent activity failures in Temporal (scheduler internal error) ([Temporal Scheduler hang](https://discuss.airbyte.io/t/1293), [platform intermittent Kube pod create NPE](https://github.com/airbytehq/airbyte/issues/34590), [k8s instability, KubePortManager null](https://github.com/airbytehq/airbyte/issues/38853), [destination-snowflake retries exhausted](https://github.com/airbytehq/airbyte/issues/36401)). - NullPointerExceptions during check can occur when worker utilities read null outputs after a container exits or produces no expected files/logs ([worker NPE during connection check](https://github.com/airbytehq/airbyte/issues/36757)). Given your NPE is in CheckProgress, I’d suggest: 1) Verify the Kubernetes pod for the Snowflake destination “check” actually starts and runs: - Look for “Failed to create pod … for check step”, timeouts, or imagePull issues. Also check for duplicate imagePullSecrets after recent Helm upgrades (a known cause of pod patch failures) ([helm workload-launcher duplicate imagePullSecrets](https://github.com/airbytehq/airbyte/issues/52034), [Temporal timeout waiting for pod](https://discuss.airbyte.io/t/1293)). - If using node ports/port manager, confirm ports aren’t exhausted (KubePortManagerSingleton NPE indicates port exhaustion) and recycle workers if needed ([port manager NPE creating pods](https://github.com/airbytehq/airbyte/issues/34590), [EKS similar NPE](https://github.com/airbytehq/airbyte/issues/38853)). 2) Check the worker logs for the specific check job: - If the pod exited early with exit code 0 but produced no expected output, Check/Progress activities may NPE reading null streams (seen in connection check NPE) ([worker NPE reading messages](https://github.com/airbytehq/airbyte/issues/36757)). 3) If you upgraded Airbyte/Helm recently and this started, try: - Rolling worker pods to clear port/semaphore/resource leaks (has resolved intermittent failures) ([platform intermittent](https://github.com/airbytehq/airbyte/issues/34590), [k8s instability](https://github.com/airbytehq/airbyte/issues/38853)). - Reviewing resource limits/requests; OOM or ignored envs can surface as internal errors during checks (user note about OOM in a recent Helm) ([k8s deployment issue note](https://github.com/airbytehq/airbyte/issues/48797)). If after ensuring the check pod runs cleanly you still get the same NPE in CheckRunProgress, I’m sorry, but there’s no source indicating a known bug in that specific activity. The surrounding issues point to underlying pod/IO nulls rather than the activity itself.
m
seeing this in temporal . . .
Copy code
io.airbyte.workers.temporal.scheduling.activities.RecordMetricActivityImpl.generateMetricAttributes(RecordMetricActivityImpl.kt:81)
io.airbyte.workers.temporal.scheduling.activities.RecordMetricActivityImpl.recordWorkflowCountMetric(RecordMetricActivityImpl.kt:53)
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
java.base/java.lang.reflect.Method.invoke(Method.java:580)
io.temporal.internal.activity.RootActivityInboundCallsInterceptor$POJOActivityInboundCallsInterceptor.executeActivity(RootActivityInboundCallsInterceptor.java:64)
io.temporal.internal.activity.RootActivityInboundCallsInterceptor.execute(RootActivityInboundCallsInterceptor.java:43)
io.temporal.internal.activity.ActivityTaskExecutors$BaseActivityTaskExecutor.execute(ActivityTaskExecutors.java:107)
io.temporal.internal.activity.ActivityTaskHandlerImpl.handle(ActivityTaskHandlerImpl.java:124)
io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handleActivity(ActivityWorker.java:290)
io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:254)
io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:217)
io.temporal.internal.worker.PollTaskExecutor.lambda$process$1(PollTaskExecutor.java:96)
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
java.base/java.lang.Thread.run(Thread.java:1583)
more logs . . .
Copy code
2025-09-04 18:21:43,286 [Activity Executor taskQueue="CONNECTION_UPDATER", namespace="default": 3352]   WARN    i.t.i.a.ActivityTaskExecutors$BaseActivityTaskExecutor(execute):126 - Activity failure. ActivityId=b3fe0f25-6790-3a9e-9e95-36cb5111b116, activityType=CheckProgress, attempt=3
java.lang.NullPointerException: null
    at io.airbyte.workers.temporal.scheduling.activities.CheckRunProgressActivityImpl.checkProgress(CheckRunProgressActivityImpl.kt:21)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at io.temporal.internal.activity.RootActivityInboundCallsInterceptor$POJOActivityInboundCallsInterceptor.executeActivity(RootActivityInboundCallsInterceptor.java:64)
    at io.temporal.internal.activity.RootActivityInboundCallsInterceptor.execute(RootActivityInboundCallsInterceptor.java:43)
    at io.temporal.internal.activity.ActivityTaskExecutors$BaseActivityTaskExecutor.execute(ActivityTaskExecutors.java:107)
    at io.temporal.internal.activity.ActivityTaskHandlerImpl.handle(ActivityTaskHandlerImpl.java:124)
    at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handleActivity(ActivityWorker.java:290)
    at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:254)
    at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:217)
    at io.temporal.internal.worker.PollTaskExecutor.lambda$process$1(PollTaskExecutor.java:96)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.lang.Thread.run(Thread.java:1583)