Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-834

Class cast exception Object to Iterable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.3, 0.10.0, 0.9.6
    • None
    • storm-core
    • None
    • Debian linux

    Description

      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$fn3453$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

      Attachments

        Activity

          People

            Unassigned Unassigned
            longtimer Jason Kania
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated: