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

GitHub | mycFelix | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 1215#252242662

    GitHub | 5 months ago | mycFelix
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number

    Root Cause Analysis

    1. java.lang.ClassCastException

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

      at org.apache.storm.topology.WindowedBoltExecutor.initWindowManager()
    2. org.apache.storm
      IRichBoltDelegate.prepare
      1. org.apache.storm.topology.WindowedBoltExecutor.initWindowManager(WindowedBoltExecutor.java:153)
      2. org.apache.storm.topology.WindowedBoltExecutor.prepare(WindowedBoltExecutor.java:267)
      3. org.apache.storm.topology.IRichBoltDelegate.prepare(IRichBoltDelegate.java:48)
      3 frames
    3. com.twitter.heron
      Slave.run
      1. com.twitter.heron.instance.bolt.BoltInstance.start(BoltInstance.java:110)
      2. com.twitter.heron.instance.Slave.startInstance(Slave.java:173)
      3. com.twitter.heron.instance.Slave.handleNewAssignment(Slave.java:159)
      4. com.twitter.heron.instance.Slave.access$200(Slave.java:40)
      5. com.twitter.heron.instance.Slave$1.run(Slave.java:85)
      6. com.twitter.heron.common.basics.WakeableLooper.executeTasksOnWakeup(WakeableLooper.java:142)
      7. com.twitter.heron.common.basics.WakeableLooper.runOnce(WakeableLooper.java:74)
      8. com.twitter.heron.common.basics.WakeableLooper.loop(WakeableLooper.java:64)
      9. com.twitter.heron.instance.Slave.run(Slave.java:169)
      9 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames