kumarpritam863 commented on issue #13593: URL: https://github.com/apache/iceberg/issues/13593#issuecomment-3116615321
@mblesak > java.lang.NullPointerException: Cannot invoke "org.apache.iceberg.connect.channel.KafkaClientFactory.createAdmin()" because "this.clientFactory" is null at org.apache.iceberg.connect.channel.CommitterImpl.hasLeaderPartition(CommitterImpl.java:79) at org.apache.iceberg.connect.channel.CommitterImpl.close(CommitterImpl.java:139) at org.apache.iceberg.connect.IcebergSinkTask.close(IcebergSinkTask.java:64) at org.apache.iceberg.connect.IcebergSinkTask.stop(IcebergSinkTask.java:103) at org.apache.kafka.connect.runtime.WorkerSinkTask.close(WorkerSinkTask.java:178) at org.apache.kafka.connect.runtime.WorkerTask.doClose(WorkerTask.java:183) at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:216) at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:259) at org.apache.kafka.connect.runtime.isolation.Plugins.lambda$withClassLoader$1(Plugins.java:237) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) For this one the partition emptiness check is already implemented and will be merged post review. > [2025-07-22 14:10:49,860] WARN [iceberg-msk-connector-ecs-mbl-v12|task-1] Could not stop task (org.apache.kafka.connect.runtime.WorkerSinkTask:180) java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "context" is null at org.apache.iceberg.connect.channel.KafkaUtils.kafkaConsumer(KafkaUtils.java:89) at org.apache.iceberg.connect.channel.KafkaUtils.seekToLastCommittedOffsets(KafkaUtils.java:61) at org.apache.iceberg.connect.channel.CommitterImpl.stop(CommitterImpl.java:134) at org.apache.iceberg.connect.IcebergSinkTask.close(IcebergSinkTask.java:65) For this one the log line says "at org.apache.iceberg.connect.channel.CommitterImpl.stop(CommitterImpl.java:134)" but thus stop operation is not supported anymore. Have you made some changes on your side. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
