chicks / sugarcrm

A ruby based REST Client for SugarCRM
MIT License
90 stars 64 forks source link

I am getting following error #114

Open vivek2007 opened 8 years ago

vivek2007 commented 8 years ago

parse_connection_pool_options': 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.delete from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/sugarcrm-0.9.18/lib/sugarcrm/session.rb:30:infrom_hash' from /home/vivek/Documents/newcrm/sugar_on_rails_basic/config/initializers/sugarcrm.rb:6:in <top (required)>' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:235:inload' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:235:in block in load' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:inblock in load_dependency' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in new_constants_in' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:inload_dependency' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:235:in load' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/engine.rb:201:inblock (2 levels) in class:Engine' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/engine.rb:200:in each' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/engine.rb:200:inblock in class:Engine' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/initializable.rb:25:in instance_exec' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/initializable.rb:25:inrun' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/initializable.rb:50:in block in run_initializers' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/initializable.rb:49:ineach' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/initializable.rb:49:in run_initializers' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/application.rb:134:ininitialize!' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/application.rb:77:in method_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:in require' from /home/vivek/Documents/newcrm/sugar_on_rails_basic/config.ru:3:inblock in

' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/rack-1.2.8/lib/rack/builder.rb:46:in instance_eval' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/rack-1.2.8/lib/rack/builder.rb:46:ininitialize' from /home/vivek/Documents/newcrm/sugar_on_rails_basic/config.ru:1:in new' from /home/vivek/Documents/newcrm/sugar_on_rails_basic/config.ru:1:in
' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/rack-1.2.8/lib/rack/builder.rb:35:in eval' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/rack-1.2.8/lib/rack/builder.rb:35:inparse_file' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/rack-1.2.8/lib/rack/server.rb:162:in app' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/rack-1.2.8/lib/rack/server.rb:253:inwrapped_app' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/rack-1.2.8/lib/rack/server.rb:204:in start' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/commands/server.rb:65:instart' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/commands.rb:30:in block in <top (required)>' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/commands.rb:27:intap' from /home/vivek/.rvm/gems/ruby-1.9.3-p551@sugarcrmtwo/gems/railties-3.0.0/lib/rails/commands.rb:27:in <top (required)>' from script/rails:6:inrequire' from script/rails:6:in `
'