[Mongrel] How to get a decent stack trace?

Zed A. Shaw zedshaw at zedshaw.com
Thu Oct 12 19:25:36 EDT 2006

On Thu, 12 Oct 2006 21:57:23 +0200
Andreas Korth <andreas.korth at gmx.net> wrote:

> Hi,
> I just gave Mongrel a try on my Rails app. After running  
> 'mongrel_rails start' everything seems fine. Yet, when I start a  
> request I get the following error message on the console:
> ERROR: You have a nil object when you didn't expect it!
> The error occured while evaluating nil.readpartial

Hmm, that should happen.  What version of Mongrel and Ruby.  Also, try running your mongrel then do:

killall -USR1 mongrel_rails

When you do this it toggles "USR1 Debugging" which dumps more stack traces and information.

Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.

More information about the Mongrel-users mailing list