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

Solutions on the web

via storm-dev by caofangkun (JIRA), 1 year ago
via storm-dev by P. Taylor Goetz (JIRA), 1 year ago
via incubator-storm-dev by P. Taylor Goetz (JIRA), 1 year ago
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
at backtype.storm.thrift$mk_plain_component_common.doInvoke(thrift.clj:93)
at clojure.lang.RestFn.invoke(RestFn.java:494)
at backtype.storm.thrift$mk_bolt_spec_STAR_.doInvoke(thrift.clj:158)
at clojure.lang.RestFn.invoke(RestFn.java:573)
at backtype.storm.daemon.common$add_acker_BANG_.invoke(common.clj:183)
at backtype.storm.daemon.common$system_topology_BANG_.invoke(common.clj:280)
at backtype.storm.daemon.nimbus$fn__5822$exec_fn__1273__auto__$reify__5835.submitTopologyWithOpts(nimbus.clj:931)
at backtype.storm.daemon.nimbus$fn__5822$exec_fn__1273__auto__$reify__5835.submitTopology(nimbus.clj:949)
at backtype.storm.generated.Nimbus$Processor$submitTopology.getResult(Nimbus.java:1223)
at backtype.storm.generated.Nimbus$Processor$submitTopology.getResult(Nimbus.java:1211)
at org.apache.thrift7.ProcessFunction.process(ProcessFunction.java:32)
at org.apache.thrift7.TBaseProcessor.process(TBaseProcessor.java:34)
at org.apache.thrift7.server.TNonblockingServer$FrameBuffer.invoke(TNonblockingServer.java:632)
at org.apache.thrift7.server.THsHaServer$Invocation.run(THsHaServer.java:201)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

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.

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