Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Error in log when running as a service #1

Open
boomerang opened this Issue Nov 17, 2010 · 0 comments

Comments

Projects
None yet
1 participant

I get this error in log when i start a simple rails app as a windows service. This do not happen when i start from the console.

I run ruby 1.8.7 from rubyinstaller.org
mongrel version 1.1.5 and mongrel_service version 0.4.beta3

Error calling Dispatcher.dispatch #<NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.[]>
D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/cgi.rb:108:in send_cookies' D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/cgi.rb:136:inout'
D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/http_response.rb:65:in start' D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/cgi.rb:135:inout'
D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/rails.rb:81:in process' D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:159:inprocess_client'
D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:158:in each' D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:158:inprocess_client'
D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in run' D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:ininitialize'
D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:in new' D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:285:inrun'
D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:268:in initialize' D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:268:innew'
D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel.rb:268:in run' D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:282:inrun'
D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:281:in each' D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/configurator.rb:281:inrun'
D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:128:in run' D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/../lib/mongrel/command.rb:212:inrun'
D:/svn/B360/tools/gems_187/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:281
D:/svn/B360/tools/ruby_187/bin/mongrel_rails:19:in `load'
D:/svn/B360/tools/ruby_187/bin/mongrel_rails:19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment