[ 
https://issues.apache.org/jira/browse/STORM-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105429#comment-15105429
 ] 

Jason Kania commented on STORM-834:
-----------------------------------

I continue to get this happening after running for a while, but am at a loss as 
to the cause. I now have several different topologies and several have the 
error happening, but not all. I was wondering if some code could be put in to 
check on the insertion side of the storm queues to ensure what is being put on 
is a valid type? Does this make sense?

> Class cast exception Object to Iterable
> ---------------------------------------
>
>                 Key: STORM-834
>                 URL: https://issues.apache.org/jira/browse/STORM-834
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>    Affects Versions: 0.9.3, 0.10.0, 0.9.6
>         Environment: Debian linux 
>            Reporter: Jason Kania
>
> This exception is happening after some hours of running. Unfortunately, 
> nothing in the trace suggests the source of the error for further 
> investigation.
> 2015-05-23T13:24:22.343-0400 b.s.util [ERROR] Async loop died!
> java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Object 
> cannot be cast to java.lang.Iterable
>         at 
> backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:128)
>  ~[storm-core-0.9.3.jar:0.9.3]
>         at 
> backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99)
>  ~[storm-core-0.9.3.jar:0.9.3]
>         at 
> backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80)
>  ~[storm-core-0.9.3.jar:0.9.3]
>         at 
> backtype.storm.daemon.executor$fn__3441$fn__3453$fn__3500.invoke(executor.clj:748)
>  ~[storm-core-0.9.3.jar:0.9.3]
>         at backtype.storm.util$async_loop$fn__464.invoke(util.clj:463) 
> ~[storm-core-0.9.3.jar:0.9.3]
>         at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
>         at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
> Caused by: java.lang.ClassCastException: java.lang.Object cannot be cast to 
> java.lang.Iterable
>         at backtype.storm.util$get_iterator.invoke(util.clj:867) 
> ~[storm-core-0.9.3.jar:0.9.3]
>         at 
> backtype.storm.daemon.executor$mk_task_receiver$fn__3364.invoke(executor.clj:397)
>  ~[storm-core-0.9.3.jar:0.9.3]
>         at 
> backtype.storm.disruptor$clojure_handler$reify__1447.onEvent(disruptor.clj:58)
>  ~[storm-core-0.9.3.jar:0.9.3]
>         at 
> backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:120)
>  ~[storm-core-0.9.3.jar:0.9.3]
>         ... 6 common frames omitted



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to