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

Exception thrown in JmsSpout open method

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 1.1.0
    • Fix Version/s: 2.0.0, 1.1.1, 1.2.0
    • Component/s: storm-jms
    • Labels:
      None

      Description

      Due to a bug, the message timeout configuration property is read as an integer even though it is of type long.

      ```
      7317 [Thread-18-a-executor[2 2]] ERROR o.a.s.util - Async loop died!
      java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
      at org.apache.storm.jms.spout.JmsSpout.open(JmsSpout.java:175) ~[storm-jms-1.1.0.jar:1.1.0]
      at org.apache.storm.daemon.executor$fn_4976$fn_4991.invoke(executor.clj:600) ~[storm-core-1.1.0.jar:1.1.0]
      at org.apache.storm.util$async_loop$fn__557.invoke(util.clj:482) [storm-core-1.1.0.jar:1.1.0]
      at clojure.lang.AFn.run(AFn.java:22) [clojure-1.7.0.jar:?]
      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
      7320 [Thread-18-a-executor[2 2]] ERROR o.a.s.d.executor -
      java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
      at org.apache.storm.jms.spout.JmsSpout.open(JmsSpout.java:175) ~[storm-jms-1.1.0.jar:1.1.0]
      at org.apache.storm.daemon.executor$fn_4976$fn_4991.invoke(executor.clj:600) ~[storm-core-1.1.0.jar:1.1.0]
      at org.apache.storm.util$async_loop$fn__557.invoke(util.clj:482) [storm-core-1.1.0.jar:1.1.0]
      at clojure.lang.AFn.run(AFn.java:22) [clojure-1.7.0.jar:?]
      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
      ```

        Attachments

          Activity

            People

            • Assignee:
              omerhadari Omer Hadari
              Reporter:
              omerhadari Omer Hadari
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5h 50m
                5h 50m