Exception on the worker hiding probably the true error #7548
Labels
area/backend
Needs backend code changes
bug
Something isn't working
kind/backport-needed
Issue that needs to be backported to a previous version
kind/customer-request
Requested by one or more customers
2025-02-25 18:15:31,245 [34mINFO [0;39m [35mworker_0 [0;39m [36mf.dma.myariabd_test.get_last_date[0;39m [tenant: dst_dev] [namespace: dma] [flow: dma.myariabd_test] [task: get_last_date] [execution: eVk7OY7ICuc7rsozkuCtY] [taskrun: 2JEGs7ySioHMpIWeI93EwY] Type Query with state RUNNING completed in 00:00:00.876 2025-02-25 18:15:31,245 [1;31mERROR[0;39m [35mworker_0 [0;39m [36m.c.u.ThreadUncaughtExceptionHandlers[0;39m Caught an exception in Thread[#139,worker_0,5,main]. Shutting down. java.lang.NullPointerException: Cannot invoke "io.kestra.core.runners.RunContextLogger.resetMDC()" because "this.logger" is null at io.kestra.core.runners.DefaultRunContext.cleanup(DefaultRunContext.java:478) at io.kestra.core.runners.Worker.run(Worker.java:698) at io.kestra.core.runners.Worker.handleTask(Worker.java:332) at io.kestra.core.runners.Worker.lambda$run$8(Worker.java:261) at io.micrometer.core.instrument.internal.TimedRunnable.run(TimedRunnable.java:49) 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) 2025-02-25 18:15:32,365 [34mINFO [0;39m [35mworker_0 [0;39m [36mio.kestra.core.runners.Worker[0;39m All working threads are terminated.
I don't have any more information, I think the true exception is hidden behind this one
The text was updated successfully, but these errors were encountered: