Every time I load reports into puppet-dashboard I get tons of  
nil:NilClass errors on every page. Here is an example stack trace. Has  
anybody encountered this before? (puppet 0.25.1 with puppet-dashboard  
checked out today).

undefined method `with_indifferent_access' for nil:NilClass

Extracted source (around line #9):

6:   %li
7:     %span.sparkline= Status.runtime.join(', ')
8:     %strong== #{"%0.2f" % Status.runtime.last}s
9:     Run Time
10: %div{:style => 'text-align: right;'}
11:   = link_to "Status Report »", status_path, :class => 'button'

Trace of template inclusion: app/views/shared/_global_nav.html.haml,  
app/views/layouts/secondary_primary.haml

RAILS_ROOT: /home/brady/puppet-dashboard



/home/brady/puppet-dashboard/app/models/report.rb:25:in `metrics'
/home/brady/puppet-dashboard/app/models/status.rb:47:in `runtime'
/home/brady/puppet-dashboard/app/models/status.rb:47:in `map'
/home/brady/puppet-dashboard/app/models/status.rb:47:in `runtime'
/home/brady/puppet-dashboard/app/views/statuses/_overview.html.haml: 
9:in  
` 
_run_haml_app47views47statuses47_overview46html46haml_locals_object_overview 
'
/home/brady/puppet-dashboard/app/views/shared/_global_nav.html.haml: 
13:in  
` 
_run_haml_app47views47shared47_global_nav46html46haml_locals_global_nav_object 
'
/home/brady/puppet-dashboard/app/views/layouts/secondary_primary.haml: 
18:in `_run_haml_app47views47layouts47secondary_primary46haml'

--

You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.


Reply via email to