Omer Hadari created STORM-2652:
----------------------------------

             Summary: Exception thrown in JmsSpout open method
                 Key: STORM-2652
                 URL: https://issues.apache.org/jira/browse/STORM-2652
             Project: Apache Storm
          Issue Type: Bug
          Components: storm-jms
            Reporter: Omer Hadari
            Priority: Trivial


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]
```



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to