java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by mycFelix
, 1 year ago
java.lang.String cannot be cast to java.lang.Number
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
at org.apache.storm.topology.WindowedBoltExecutor.initWindowManager(WindowedBoltExecutor.java:153)
at org.apache.storm.topology.WindowedBoltExecutor.prepare(WindowedBoltExecutor.java:267)
at org.apache.storm.topology.IRichBoltDelegate.prepare(IRichBoltDelegate.java:48)
at com.twitter.heron.instance.bolt.BoltInstance.start(BoltInstance.java:110)
at com.twitter.heron.instance.Slave.startInstance(Slave.java:173)
at com.twitter.heron.instance.Slave.handleNewAssignment(Slave.java:159)
at com.twitter.heron.instance.Slave.access$200(Slave.java:40)
at com.twitter.heron.instance.Slave$1.run(Slave.java:85)
at com.twitter.heron.common.basics.WakeableLooper.executeTasksOnWakeup(WakeableLooper.java:142)
at com.twitter.heron.common.basics.WakeableLooper.runOnce(WakeableLooper.java:74)
at com.twitter.heron.common.basics.WakeableLooper.loop(WakeableLooper.java:64)
at com.twitter.heron.instance.Slave.run(Slave.java:169)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

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.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.