SystemStackError

SystemStackError in GreyController#grey_search
stack level too deep

can anybody please enlighten me on this one…any possible way to
troubleshoot?
thanks,

MSN id: [email protected]

It’s most often because you have a series of methods which are calling
each other circularly, i.e. method_a calls method_b which calls
method_a which then calls method_b… and so on. Eventually the stack
(which stores the context at each point a new method is entered) runs
out of space.

Can you find anything like that anywhere in your code?

  • james

James A. wrote:

On 7/12/06, Mikki W [email protected] wrote:


Posted via http://www.ruby-forum.com/.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

This can also be sometimes caused by a syntax error .e.g redirect_to
:login instead of redirect_to :action => “login”

this is the error I get:
SystemStackError#greybox_search
stack level too deep
this is the class I have defined, where the error is being indicated:
def videos(*criteria)
videos[‘videos’][‘video’].collect { |video| Video.new(video[‘id’]) }
end

any help guys…thanks,

MSN id: [email protected]

Chris T wrote:

James A. wrote:

On 7/12/06, Mikki W [email protected] wrote:


Posted via http://www.ruby-forum.com/.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

This can also be sometimes caused by a syntax error .e.g redirect_to
:login instead of redirect_to :action => “login”

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs