[ 
https://issues.apache.org/jira/browse/KAFKA-10323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17275477#comment-17275477
 ] 

Amir Shahsavand commented on KAFKA-10323:
-----------------------------------------

Is there any workaround to get a task in this state back up and running if the 
restart attempt fails?

> NullPointerException during rebalance
> -------------------------------------
>
>                 Key: KAFKA-10323
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10323
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>    Affects Versions: 2.5.0
>            Reporter: yazgoo
>            Assignee: Luke Chen
>            Priority: Major
>
> *confluent platform version: 5.5.0-ccs*
> connector used: s3
> Connector stops after rebalancing:
> ERROR [Worker clientId=connect-1, groupId=connect] Couldn't instantiate task 
> <my task> because it has an invalid task configuration. This task will not 
> execute until reconfigured.
> java.lang.NullPointerException
>  at org.apache.kafka.connect.runtime.Worker.startTask(Worker.java:427)
>  at 
> org.apache.kafka.connect.runtime.distributed.DistributedHerder.startTask(DistributedHerder.java:1147)
>  at 
> org.apache.kafka.connect.runtime.distributed.DistributedHerder.access$1600(DistributedHerder.java:126)
>  at 
> org.apache.kafka.connect.runtime.distributed.DistributedHerder$12.call(DistributedHerder.java:1162)
>  at 
> org.apache.kafka.connect.runtime.distributed.DistributedHerder$12.call(DistributedHerder.java:1158)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to