[Catalyst] Strange error

Jonathan Rockway jon at jrock.us
Fri Sep 15 17:47:56 CEST 2006

I didn't see a reply to this, so could you please run your app in the
debugger and give us a backtrace?  Is this a reproduceable bug, or
random?  If reproduceable, how does one produce the bug?  If not, any
other details about when this occurs (output from myapp_server.pl
running in debug mode would help). Are you using mod_perl?  If so, are
you using mpm_worker?  (If not mpm_worker, which mpm?)  Does the problem
occur with myapp_server?  Does it occur with fastcgi?

As a user of CPANTS, I notice that reloading the page often makes the
"please come back later" message go away, so I think there's some
thread-safety issue or race condition going on.  The fact that your
server is dying means something is very very wrong with your app :)

Finally, any chance you could enable Debug mode on the real CPANTS site?
 Having that information available to me would help me learn about the
problem.  (I don't want to setup a full CPANTS production environment
and CPAN mirror unless I have to :)

Jonathan Rockway

Thomas Klausner wrote:
> Hi!
> As you might know, cpants.perl.org is running on Catalyst (with
> DBIx::Class as an ORM). As you also might have noticed, it's not running
> very stabel. Quite often, requests will cause errors (that sometimes
> even take down the Apache Child process...)
> Unfortunantly, I cannot find the problem, as the error message is a bit
> cryptic:
> [error] Caught exception in
> Module::CPANTS::Site::Controller::Dist->_DISPATCH "Can't call method
> "execute" on an undefined value at /usr/share/perl5/Catalyst/Action.pm
> line 14."
> [error] Caught exception in Module::CPANTS::Site->_DISPATCH "Can't call
> method "execute" on an undefined value at
> /usr/share/perl5/Catalyst/Action.pm line 14."
> I would very much appreciate any hints on where I should start
> digging...
> If somebody wants to join digging, the source code is available from
>   http://search.cpan.org/~domm/Module-CPANTS-Site/
> (version 0.62 will be soon available)

More information about the Catalyst mailing list