morellon/stomp — Issue #28: Need friendly wrong-service message
Author: MaartenG
Created: 2012-02-03 20:34:44+00:00
State: open

If (like me) you're new to ActiveMQ and Stomp, and don't actually have Stomp configured, and try to connect to an ActiveMQ port, the error message is totally unrelated to the actual issue.

irb(main):009:0> client = Stomp::Client.new "stomp://localhost:8161"
TypeError: can't convert nil into String

Instead, the error returned should probably be something like "This is not a Stomp server".