org.jruby.exceptions.RaiseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After a period of time normally within 24hours I find logstash exits with the following error message. I use the rabbitmq output. {noformat} Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (TypeError) exception class/object expected at MarchHare::Exceptions.convert_and_reraise(file:/opt/logstash/logstash.jar!/march_hare/exceptions.rb:120) at MarchHare::Channel.converting_rjc_exceptions_to_ruby(file:/opt/logstash/logstash.jar!/march_hare/channel.rb:932) at MarchHare::Channel.converting_rjc_exceptions_to_ruby(file:/opt/logstash/logstash.jar!/march_hare/channel.rb:930) at MarchHare::Channel.basic_publish(file:/opt/logstash/logstash.jar!/march_hare/channel.rb:572) at MarchHare::Exchange.publish(file:/opt/logstash/logstash.jar!/march_hare/exchange.rb:76) at LogStash::Outputs::RabbitMQ::MarchHareImpl.publish_serialized(file:/opt/logstash/logstash.jar!/logstash/outputs/rabbitmq/march_hare.rb:41) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:271) at LogStash::Codecs::JSON.encode(file:/opt/logstash/logstash.jar!/logstash/codecs/json.rb:45) at LogStash::Outputs::RabbitMQ::MarchHareImpl.receive(file:/opt/logstash/logstash.jar!/logstash/outputs/rabbitmq/march_hare.rb:31) at LogStash::Outputs::Base.handle(file:/opt/logstash/logstash.jar!/logstash/outputs/base.rb:86) at RUBY.worker_setup(file:/opt/logstash/logstash.jar!/logstash/outputs/base.rb:78) {noformat} The config is; {noformat} rabbitmq { exchange => "logstash" exchange_type => "topic" persistent => false host => "amqp01.admin.boob.net.uk" port => 5672 vhost => "/logstash" user => "logstash" password => "blahblah" workers => 3 key => "logstash" } {noformat}
    via by Nathan Flynn,
    • org.jruby.exceptions.RaiseException: (TypeError) exception class/object expected at MarchHare::Exceptions.convert_and_reraise(file:/opt/logstash/logstash.jar!/march_hare/exceptions.rb:120) at MarchHare::Channel.converting_rjc_exceptions_to_ruby(file:/opt/logstash/logstash.jar!/march_hare/channel.rb:932) at MarchHare::Channel.converting_rjc_exceptions_to_ruby(file:/opt/logstash/logstash.jar!/march_hare/channel.rb:930) at MarchHare::Channel.basic_publish(file:/opt/logstash/logstash.jar!/march_hare/channel.rb:572) at MarchHare::Exchange.publish(file:/opt/logstash/logstash.jar!/march_hare/exchange.rb:76) at LogStash::Outputs::RabbitMQ::MarchHareImpl.publish_serialized(file:/opt/logstash/logstash.jar!/logstash/outputs/rabbitmq/march_hare.rb:41) at org.jruby.RubyProc.call(org/jruby/RubyProc.java:271)
    No Bugmate found.