Project

General

Profile

Error #548

Updated by Emilio González Montaña over 13 years ago

<pre> 
 NoMethodError in BrowserController#index 

 You have a nil object when you didn't expect it! 
 You might have expected an instance of Array. 
 The error occurred while evaluating nil.split 

 RAILS_ROOT: /var/www/rsvn 
 Application Trace | Framework Trace | Full Trace 

 /var/www/rsvn/app/controllers/application_controller.rb:137:in (private method `split' called for nil:NilClass): 
   app/controllers/application_controller.rb:137:in `svn_log' 
 /var/www/rsvn/app/controllers/application_controller.rb:136:in 
   /usr/lib/ruby/1.8/rexml/element.rb:892:in `each' 
   /usr/lib/ruby/1.8/rexml/xpath.rb:53:in `each' 
   /usr/lib/ruby/1.8/rexml/element.rb:892:in `each' 
   app/controllers/application_controller.rb:136:in `svn_log' 
 /var/www/rsvn/app/controllers/browser_controller.rb:9:in 
   app/controllers/browser_controller.rb:9:in `index' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `send' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `perform_action_without_filters' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in `call_filters' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' 
 /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms' 
 /var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in `call' 
 /var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in `call' 

 Request 

 Parameters: 

 None 

 Show session dump 
 Response 

 Headers: 

 {"Content-Type"=>"", 
  "Cache-Control"=>"no-cache"} 
 </pre>

Back