{"issue":{"created_at":"2011-11-26T18:14:28Z","state":"open","updated_at":"2011-12-01T21:36:53Z","comments":1,"user":{"gravatar_id":"5cc574d2cc9fdc74747622f668f34ae1","id":317999,"url":"https://api.github.com/users/mleinart","avatar_url":"https://secure.gravatar.com/avatar/5cc574d2cc9fdc74747622f668f34ae1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"mleinart"},"body":"Airbrake has an unbounded dependency on builder which causes 3.0.0 to be pulled in if the project doesn't already have a restriction. Unfortunately, buidler 3.0.0 has a problem when Airbrake.notify() is called:\r\n\r\n    #<ArgumentError: wrong number of arguments (1 for 0)>\r\n    vendor/bundle/jruby/1.8/gems/builder-3.0.0/lib/builder/xmlbase.rb:135:in `_escape' \r\n    vendor/bundle/jruby/1.8/gems/builder-3.0.0/lib/builder/xmlbase.rb:140:in `_escape_quote' \r\n    vendor/bundle/jruby/1.8/gems/builder-3.0.0/lib/builder/xmlmarkup.rb:320:in `_attr_value'  \r\n    vendor/bundle/jruby/1.8/gems/builder-3.0.0/lib/builder/xmlmarkup.rb:308:in `_insert_attributes' \r\n    org/jruby/RubyArray.java:1603:in `each' \r\n    vendor/bundle/jruby/1.8/gems/builder-3.0.0/lib/builder/xmlmarkup.rb:306:in `_insert_attributes'\r\n    vendor/bundle/jruby/1.8/gems/builder-3.0.0/lib/builder/xmlmarkup.rb:284:in `_special'  \r\n    vendor/bundle/jruby/1.8/gems/builder-3.0.0/lib/builder/xmlmarkup.rb:250:in `instruct!'  \r\n    vendor/bundle/jruby/1.8/gems/airbrake-3.0.5/lib/airbrake/notice.rb:113:in `to_xml'  \r\n    vendor/bundle/jruby/1.8/gems/airbrake-3.0.5/lib/airbrake.rb:134:in `send_notice'  \r\n    vendor/bundle/jruby/1.8/gems/airbrake-3.0.5/lib/airbrake.rb:103:in `notify' \r\n\r\nThis is seen with airbrake 3.0.5 in a vanilla jruby app (no rails, sinatra, etc) in jruby 1.8 mode (i.e. no --1.9 parameter passed).","assignee":null,"id":2356284,"labels":[],"number":41,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Airbrake does not appear compatible with builder 3.0.0","html_url":"https://github.com/airbrake/airbrake/issues/41","closed_at":null,"url":"https://api.github.com/repos/airbrake/airbrake/issues/41","milestone":null},"action":"created","comment":{"created_at":"2011-12-01T21:36:53Z","updated_at":"2011-12-01T21:36:53Z","user":{"gravatar_id":"6bed507c0085d39447171b95c515a890","id":18515,"url":"https://api.github.com/users/dvdplm","avatar_url":"https://secure.gravatar.com/avatar/6bed507c0085d39447171b95c515a890?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"dvdplm"},"body":"I'm having trouble reproducing this. Can you help me by showing the `Airbrake.notify` call that causes the above? Is it isolated to jruby or can you repeat the issues for MRI too? \r\nI tried ree, 1.9.3 and jruby 1.6.5 with: `Airbrake.notify RuntimeError.new, {:stuff => \"stuff\"}` and none raised an exception.","id":2981039,"url":"https://api.github.com/repos/airbrake/airbrake/issues/comments/2981039"}}