chicks/sugarcrm

I am getting following error

Opened this issue · 0 comments

/home/vivek/.rvm/gems/ruby-1.9.2-p290/bundler/gems/sugarcrm-252045673069/lib/sugarcrm/session.rb:31:in from_hash': You have a nil object when you didn't expect it! (NoMethodError) You might have expected an instance of Array. The error occurred while evaluating nil.[] from /home/vivek/Documents/newcrm/sugar_on_rails_basic/config/initializers/sugarcrm.rb:4:in<top (required)>'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:235:in load' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:235:inblock in load'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in block in load_dependency' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:innew_constants_in'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in load_dependency' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:235:inload'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/engine.rb:201:in block (2 levels) in <class:Engine>' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/engine.rb:200:ineach'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/engine.rb:200:in block in <class:Engine>' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/initializable.rb:25:ininstance_exec'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/initializable.rb:25:in run' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/initializable.rb:50:inblock in run_initializers'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/initializable.rb:49:in each' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/initializable.rb:49:inrun_initializers'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/application.rb:134:in initialize!' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/application.rb:77:inmethod_missing'
from /home/vivek/Documents/newcrm/sugar_on_rails_basic/config/environment.rb:5:in <top (required)>' from /home/vivek/Documents/newcrm/sugar_on_rails_basic/config.ru:3:inrequire'
from /home/vivek/Documents/newcrm/sugar_on_rails_basic/config.ru:3:in block in <main>' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.1/lib/rack/builder.rb:46:ininstance_eval'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.1/lib/rack/builder.rb:46:in initialize' from /home/vivek/Documents/newcrm/sugar_on_rails_basic/config.ru:1:innew'
from /home/vivek/Documents/newcrm/sugar_on_rails_basic/config.ru:1:in <main>' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.1/lib/rack/builder.rb:35:ineval'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.1/lib/rack/builder.rb:35:in parse_file' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.1/lib/rack/server.rb:162:inapp'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.1/lib/rack/server.rb:248:in wrapped_app' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.2.1/lib/rack/server.rb:213:instart'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/commands/server.rb:65:in start' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/commands.rb:30:inblock in <top (required)>'
from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/commands.rb:27:in tap' from /home/vivek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/commands.rb:27:in<top (required)>'
from script/rails:6:in require' from script/rails:6:in

'