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

Solutions on the web

via incubator-storm-dev by vishnu rao (JIRA), 1 year ago
java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.Number
via Apache's JIRA Issue Tracker by Jackson Chung, 2 years ago
java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.Number
via Stack Overflow by Guy
, 2 years ago
java.lang.ClassCastException: storm.trident.state.map.SnapshottableMap cannot be cast to com.hmsonline.storm.cassandra.trident.CassandraState
via incubator-storm-user by shane.lisy@gmail.com, 1 month ago
java.lang.ClassCastException: java.lang.Long cannot be cast to backtype.storm.transactional.TransactionAttempt
via storm-user by shane.lisy@gmail.com, 11 months ago
java.lang.ClassCastException: java.lang.Long cannot be cast to backtype.storm.transactional.TransactionAttempt
java.lang.RuntimeException: java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.Number at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:128)[storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557] at backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99)[storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557] at backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80)[storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557] at backtype.storm.daemon.executor$fn__7014$fn__7027$fn__7078.invoke(executor.clj:808)[storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557] at backtype.storm.util$async_loop$fn__545.invoke(util.clj:475)[storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557] at clojure.lang.AFn.run(AFn.java:22)[clojure-1.6.0.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_40]Caused by: java.lang.ClassCastException: java.util.HashMap cannot be cast to java.lang.Number at com.test.metric.storm.NewRelicMetricConsumer.handleDataPoints(NewRelicMetricConsumer.java:55)[stormjar.jar:na] at backtype.storm.metric.MetricsConsumerBolt.execute(MetricsConsumerBolt.java:55)[storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557] at backtype.storm.daemon.executor$fn__7014$tuple_action_fn__7016.invoke(executor.clj:670)[storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557] at backtype.storm.daemon.executor$mk_task_receiver$fn__6937.invoke(executor.clj:426)[storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557] at backtype.storm.disruptor$clojure_handler$reify__6513.onEvent(disruptor.clj:58)[storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557] at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:125)[storm-core-0.10.0.2.3.0.0-2557.jar:0.10.0.2.3.0.0-2557] ... 6 more