java.lang.ClassCastException: com.alibaba.rocketmq.broker.processor.PullMessageProcessor$2 cannot be cast to com.alibaba.rocketmq.remoting.netty.RequestTask


Solutions on the web

Solution icon of github
via GitHub by a11123939
, 1 year ago
com.alibaba.rocketmq.broker.processor.PullMessageProcessor$2 cannot be cast to com.alibaba.rocketmq.remoting.netty.RequestTask

Solution icon of github
com.alibaba.rocketmq.broker.processor.PullMessageProcessor$2 cannot be cast to com.alibaba.rocketmq.remoting.netty.RequestTask

Solution icon of github
com.alibaba.rocketmq.broker.processor.PullMessageProcessor$2 cannot be cast to com.alibaba.rocketmq.remoting.netty.RequestTask

Stack trace

java.lang.ClassCastException: com.alibaba.rocketmq.broker.processor.PullMessageProcessor$2 cannot be cast to com.alibaba.rocketmq.remoting.netty.RequestTask
	at com.alibaba.rocketmq.broker.latency.BrokerFastFailure.castRunnable(BrokerFastFailure.java:104)[rocketmq-broker-3.5.8.jar:na]
	at com.alibaba.rocketmq.broker.BrokerController.headSlowTimeMills(BrokerController.java:422)[rocketmq-broker-3.5.8.jar:na]
	at com.alibaba.rocketmq.broker.BrokerController.headSlowTimeMills4PullThreadPoolQueue(BrokerController.java:436)[rocketmq-broker-3.5.8.jar:na]
	at com.alibaba.rocketmq.broker.BrokerController.printWaterMark(BrokerController.java:441)[rocketmq-broker-3.5.8.jar:na]
	at com.alibaba.rocketmq.broker.BrokerController$4.run(BrokerController.java:260)[rocketmq-broker-3.5.8.jar:na]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)[na:1.6.0_45]
	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)[na:1.6.0_45]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)[na:1.6.0_45]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)[na:1.6.0_45]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)[na:1.6.0_45]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)[na:1.6.0_45]
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)[na:1.6.0_45]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)[na:1.6.0_45]
	at java.lang.Thread.run(Thread.java:662)[na:1.6.0_45]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.