System error

error:  could not find league. bad league_hnd? products sport is xc at /home/ec2-user/DACore/League.pm line 86.
context: 
... 
82:  my $sdb = $class_obj->{sport_db};
83: 
84:  my $self = $sdb->select("select $cols from league where league_hnd=?", $league_hnd);
85: 
86:  $self = $self->[0] or die "could not find league. bad league_hnd? $league_hnd sport is $class_obj->{sport}";
87: 
88:  $self->{sport_db} = $sdb;
89:  $self->{user_hnd} = $class_obj->{user_hnd};
90:  $self->{league_hnd} = $league_hnd;
... 
code stack:  /home/ec2-user/DACore/League.pm:86
/home/ec2-user/DABackend/Exchange.pm:6222
/home/ec2-user/DAFrontEnd/Modules/BackendConnector.pm:53
/home/ec2-user/DAFrontEnd/Modules/Getter.pm:293
/home/ec2-user/DAFrontEnd/Modules/Getter.pm:264
/home/ec2-user/DAFrontEnd/comps/LeaguePage:123
/home/ec2-user/DAFrontEnd/leagues/dhandler:2
/home/ec2-user/DAFrontEnd/autohandler:101
raw error






























could not find league.  bad league_hnd?  products sport is xc at /home/ec2-user/DACore/League.pm line 86.


Trace begun at /usr/local/share/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('could not find league.  bad league_hnd?  products sport is xc at /home/ec2-user/DACore/League.pm line 86.^J') called at /home/ec2-user/DACore/League.pm line 86
League::get('League', 'HASH(0xc401e08)', 'products') called at /home/ec2-user/DABackend/Exchange.pm line 6222
Exchange::get_league('Exchange', 'BackendEnvelope=HASH(0xbc04d20)') called at /home/ec2-user/DAFrontEnd/Modules/BackendConnector.pm line 53
BackendConnector::raw_connect_da('BackendConnector', 'Exchange', 'get_league', 'sport', 'xc', 'league_hnd', 'products', 'include_teams', 1) called at /home/ec2-user/DAFrontEnd/Modules/Getter.pm line 293
Getter::get_attribute('Getter=HASH(0xc3060a0)', 'get_league', 'sport', 'xc', 'league_hnd', 'products', 'include_teams', 1) called at /home/ec2-user/DAFrontEnd/Modules/Getter.pm line 264
Getter::AUTOLOAD('Getter=HASH(0xc3060a0)', 'sport', 'xc', 'league_hnd', 'products', 'include_teams', 1) called at /home/ec2-user/DAFrontEnd/comps/LeaguePage line 123
HTML::Mason::Commands::__ANON__('sport', 'xc', 'league_hnd', 'products') called at /usr/local/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xc236778)', 'sport', 'xc', 'league_hnd', 'products') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'sport', 'xc', 'league_hnd', 'products') called at /home/ec2-user/DAFrontEnd/leagues/dhandler line 2
HTML::Mason::Commands::__ANON__('error_message', '', 'autohandler_cache', 'CHI::Driver::Memcached__WITH__CHI::Driver::Role::Universal=HASH(0xbcffbb8)') called at /usr/local/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xc2c1d08)', 'error_message', '', 'autohandler_cache', 'CHI::Driver::Memcached__WITH__CHI::Driver::Role::Universal=HASH(0xbcffbb8)') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'error_message', '', 'autohandler_cache', 'CHI::Driver::Memcached__WITH__CHI::Driver::Role::Universal=HASH(0xbcffbb8)') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::PSGI=HASH(0xc30a498)', 'error_message', '', 'autohandler_cache', 'CHI::Driver::Memcached__WITH__CHI::Driver::Role::Universal=HASH(0xbcffbb8)') called at /home/ec2-user/DAFrontEnd/autohandler line 101
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xafd64b0)') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1297
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::PSGI=HASH(0xc30a498)') called at /usr/local/share/perl5/HTML/Mason/PSGIHandler.pm line 96
eval {...} at /usr/local/share/perl5/HTML/Mason/PSGIHandler.pm line 96
HTML::Mason::Request::PSGI::exec('HTML::Mason::Request::PSGI=HASH(0xc30a498)') called at /usr/local/share/perl5/HTML/Mason/Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef) called at /usr/local/share/perl5/HTML/Mason/PSGIHandler.pm line 59
eval {...} at /usr/local/share/perl5/HTML/Mason/PSGIHandler.pm line 59
HTML::Mason::PSGIHandler::invoke_mason('HTML::Mason::PSGIHandler=HASH(0x184e318)', 'HASH(0x18132e0)', 'HASH(0xc2aa858)') called at /usr/local/share/perl5/HTML/Mason/PSGIHandler.pm line 48
HTML::Mason::PSGIHandler::handle_psgi('HTML::Mason::PSGIHandler=HASH(0x184e318)', 'HASH(0xc2c80c8)') called at /da-front-app.psgi line 34
Plack::Sandbox::_2fda_2dfront_2dapp_2epsgi::__ANON__('HASH(0xc2c80c8)') called at /usr/local/share/perl5/Plack/Util.pm line 145
eval {...} at /usr/local/share/perl5/Plack/Util.pm line 145
Plack::Util::run_app('CODE(0x10d9528)', 'HASH(0xc2c80c8)') called at /usr/local/share/perl5/Starman/Server.pm line 195
Starman::Server::dispatch_request('Starman::Server=HASH(0x1836798)', 'HASH(0xc2c80c8)') called at /usr/local/share/perl5/Starman/Server.pm line 298
Starman::Server::process_request('Starman::Server=HASH(0x1836798)', 'Net::Server::Proto::TCP=GLOB(0xbcb15a8)') called at /usr/local/share/perl5/Net/Server.pm line 72
Net::Server::run_client_connection('Starman::Server=HASH(0x1836798)') called at /usr/local/share/perl5/Net/Server/PreFork.pm line 225
eval {...} at /usr/local/share/perl5/Net/Server/PreFork.pm line 225
Net::Server::PreFork::run_child('Starman::Server=HASH(0x1836798)') called at /usr/local/share/perl5/Net/Server/PreFork.pm line 183
Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x1836798)', 1) called at /usr/local/share/perl5/Net/Server/PreFork.pm line 373
Net::Server::PreFork::coordinate_children('Starman::Server=HASH(0x1836798)') called at /usr/local/share/perl5/Net/Server/PreFork.pm line 327
Net::Server::PreFork::run_parent('Starman::Server=HASH(0x1836798)') called at /usr/local/share/perl5/Starman/Server.pm line 164
Starman::Server::run_parent('Starman::Server=HASH(0x1836798)') called at /usr/local/share/perl5/Net/Server/PreFork.pm line 109
Net::Server::PreFork::loop('Starman::Server=HASH(0x1836798)') called at /usr/local/share/perl5/Net/Server.pm line 58
Net::Server::run('Starman::Server=HASH(0x1836798)', 'port', 'ARRAY(0x1e430b0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 4, 'min_spare_servers', 3, 'max_spare_servers', 3, 'max_servers', 4, 'max_requests', 1000, 'user', 0, 'group', '0 0 0', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/home/ec2-user/starman_errors.log') called at /usr/local/share/perl5/Starman/Server.pm line 94
Starman::Server::run('Starman::Server=HASH(0x1836798)', 'CODE(0x10d9528)', 'HASH(0x1ee0428)') called at /usr/local/share/perl5/Plack/Handler/Starman.pm line 25
Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x10d5710)', 'CODE(0x10d9528)') called at /usr/local/share/perl5/Plack/Loader.pm line 84
Plack::Loader::run('Plack::Loader=HASH(0xe7ddd8)', 'Plack::Handler::Starman=HASH(0x10d5710)') called at /usr/local/share/perl5/Plack/Runner.pm line 277
Plack::Runner::run('Plack::Runner=HASH(0xe60c20)') called at /usr/local/bin/starman line 38