#2 ✓resolved
Nolan Darilek

Backtrace on rendering views

Reported by Nolan Darilek | March 19th, 2009 @ 08:23 AM

Received this error this morning after updating to trunk and running my component:

DEBUG BABYLON: CONNECTED

DEBUG BABYLON: SENDING : <?xml version="1.0"?>

<stream:stream xmlns:stream="http://etherx.jabber.org/streams" to="deluxmpp.thewordnerd.info" xmlns="jabber:component:accept">

DEBUG BABYLON: RECEIVED : <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:component:accept' id='994654587' from='deluxmpp.thewordnerd.info'>

DEBUG BABYLON: SENDING : 8a3a5b61805e67d4229c49e3bbc23f3eff71b755

DEBUG BABYLON: RECEIVED :

DEBUG BABYLON: SENDING : nolan@thewordnerd.info" from="deluxmpp.thewordnerd.info"/>

DEBUG BABYLON: RECEIVED : Logged in5509926fccfa60f1bd0ba5286fb15566646aa07d154

DEBUG BABYLON: PARSED : nolan@thewordnerd.info/IM+" to="deluxmpp.thewordnerd.info">

Logged in

5

INFO BABYLON: ROUTING TO PresenceController::presence

INFO BABYLON: RENDERING : app/views/presence/presence.xml.builder

DEBUG BABYLON: DISCONNECTED

/var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/base/view.rb:26:in read': can't convert nil into String (TypeError)

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/base/view.rb:26:in `evaluate'

from /var/lib/gems/1.8/gems/nokogiri-1.2.2/lib/nokogiri/xml/builder.rb:14:in `instance_eval'

from /var/lib/gems/1.8/gems/nokogiri-1.2.2/lib/nokogiri/xml/builder.rb:14:in `initialize'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/base/view.rb:25:in `new'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/base/view.rb:25:in `evaluate'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/base/controller.rb:77:in `render_for_file'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/base/controller.rb:44:in `render'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/base/controller.rb:38:in `render'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/base/controller.rb:29:in `perform'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/router.rb:50:in `route'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/router.rb:45:in `each'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/router.rb:45:in `route'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/xmpp_connection.rb:51:in `call'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/xmpp_connection.rb:51:in `receive_stanza'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/component_connection.rb:36:in `receive_stanza'

from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `to_proc'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/xmpp_connection.rb:164:in `call'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/xmpp_connection.rb:164:in `end_element'

from /var/lib/gems/1.8/gems/nokogiri-1.2.2/lib/nokogiri/xml/sax/push_parser.rb:38:in `native_write'

from /var/lib/gems/1.8/gems/nokogiri-1.2.2/lib/nokogiri/xml/sax/push_parser.rb:38:in `<<'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/xmpp_connection.rb:117:in `push'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/xmpp_connection.rb:90:in `receive_data'

from /var/lib/gems/1.8/gems/eventmachine-0.12.6/lib/eventmachine.rb:240:in `run_machine'

from /var/lib/gems/1.8/gems/eventmachine-0.12.6/lib/eventmachine.rb:240:in `run'

from /var/lib/gems/1.8/gems/babylon-0.0.7/lib/babylon/runner.rb:15:in `run'

from ./script/../config/boot.rb:8

from script/component:2:in `require'

from script/component:2

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Babylon is a framework to build EventMachine based XMPP External Components in Ruby.

People watching this ticket

Pages