colinsurprenant/redstorm — Issue #15: no method 'setSpout' after upgrade to redstorm 0.4.0 and storm 0.6.2
Author: stonegao
Created: 2012-02-13 05:23:30+00:00
State: open

I upgraded to redstorm 0.4.0 today for our project (previously its based on redstorm 0.2.1). When running the topology locally the following exception occurs:

0 [main] ERROR org.apache.zookeeper.server.NIOServerCnxn - Thread Thread[main,5,main] died
org.jruby.exceptions.RaiseException: (NameError) no method 'setSpout' for arguments (org.jruby.RubyString,redstorm.storm.jruby.JRubySpout,org.jruby.RubyFixnum) on Java::BacktypeStormTopology::TopologyBuilder
at EventTopology.start(/Users/stone/.rvm/gems/jruby-1.6.6/gems/redstorm-0.4.0/lib/red_storm/simple_topology.rb:110)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612)
at RedStorm::SimpleTopology.start(/Users/stone/.rvm/gems/jruby-1.6.6/gems/redstorm-0.4.0/lib/red_storm/simple_topology.rb:108)
at #.main(/Users/stone/.rvm/gems/jruby-1.6.6/gems/redstorm-0.4.0/lib/red_storm/topology_launcher.rb:43)