Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous "undefined method `delete' for nil:NilClass" log entry #2

Open
PavelKovalets opened this issue Jul 26, 2013 · 1 comment
Assignees

Comments

@PavelKovalets
Copy link

Hi, I'm using dea_ng, installed with the help of Installation package. But when I'm trying to resolve some issues there is a log message in
c:\IronFoundry\log\dea_ng files that appears every few minutes:

{"timestamp":1374840708.354184,"message":"varz error #<NoMethodError: undefined method delete' for nil:NilClass> C:/Ruby193/lib/ruby/gems/1.9.1/bundler/gems/vcap-common-01eddc88406b/lib/vcap/component.rb:104:in updated_varz'\nC:/Ruby193/lib/ruby/gems/1.9.1/bundler/gems/vcap-common-01eddc88406b/lib/vcap/component.rb:23:in call'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib/rack/builder.rb:138:in call'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib/rack/urlmap.rb:65:in block in call'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in each'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in call'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/rack-1.5.2/lib/rack/auth/basic.rb:25:in call'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:81:in block in pre_process'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in catch'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in pre_process'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:54:in process'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:39:in receive_data'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run_machine'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run'\ndea_winsvc.rb:40:in service_main'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-service-0.8.0/lib/win32/daemon.rb:300:in mainloop'\nC:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-service-0.8.0/lib/win32/daemon.rb:202:in mainloop'\ndea_winsvc.rb:69:in

'","log_level":"error","source":"Dea::Bootstrap","data":{},"thread_id":7166220,"fiber_id":21242760,"process_id":2180,"file":"C","lineno":0,"method":"26"}

It floods my log file and I cannot read it. How can I fix that?

@ghost ghost assigned lukebakken Jul 26, 2013
@ghost ghost assigned SaintGimp Aug 23, 2013
@HailongWen
Copy link

I ran into the same problem as yours, also using the installation package.
The reason is that ruby tries to execute a "tasklist" command to fetch the PID for dea_ng, but gets nothing returned (in fact, the "tasklist" is not executed at all. I don't know why.)
The newest codes have fixed this problem. So you should try the "install by scratch" way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants