System error

error:  could not find standard_event. bad hnd? 0 at /usr/local/apache/htdocs/sportrunner/lib/Event.pm line 40.
context: 
... 
36:  my $sdb = $self->{sport_db};
37:  my $standard_event_hnd = $args{standard_event_hnd};
38: 
39:  my $event = $sdb->select("select * from standard_event where standard_event_hnd=?", $standard_event_hnd);
40:  $event = $event->[0] || die "could not find standard_event. bad hnd? $standard_event_hnd";
41: 
42:  foreach my $key (keys %$event) {
43:  $self->{$key} = $event->{$key};
44:  }
... 
code stack:  /usr/local/apache/htdocs/sportrunner/lib/Event.pm:40
/usr/local/apache/htdocs/sportrunner/lib/Result/swimming.pm:286
/usr/local/apache/htdocs/sportrunner/SOAPLibs2/Exchange.pm:4427
/usr/local/apache/htdocs/mason/Modules/SOAPInterface2.pm:83
/usr/local/apache/htdocs/mason/Modules/Getter.pm:239
/usr/local/apache/htdocs/mason/Modules/Getter.pm:210
/usr/local/apache/htdocs/mason/DirectAthletics/event_results.html:71
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:830
/usr/local/apache/htdocs/mason/DirectAthletics/event_results.html:68
/usr/local/apache/htdocs/mason/DirectAthletics/results/dhandler:14
/usr/local/apache/htdocs/mason/DirectAthletics/autohandler:118
raw error






























could not find standard_event.  bad hnd? 0 at /usr/local/apache/htdocs/sportrunner/lib/Event.pm line 40.


Trace begun at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('could not find standard_event.  bad hnd? 0 at /usr/local/apache/htdocs/sportrunner/lib/Event.pm line 40.^J') called at /usr/local/apache/htdocs/sportrunner/lib/Event.pm line 40
Event::get('Event', 'HASH(0x104d08b0)', 'standard_event_hnd', 0) called at /usr/local/apache/htdocs/sportrunner/lib/Result/swimming.pm line 286
Result::swimming::get_event_results('HASH(0x1050dd10)', 'event_hnd', 523372, 'meet_hnd', 5875) called at /usr/local/apache/htdocs/sportrunner/SOAPLibs2/Exchange.pm line 4427
Exchange::get_event_results('Exchange', 'FakeEnvelope=HASH(0x10569ad0)') called at /usr/local/apache/htdocs/mason/Modules/SOAPInterface2.pm line 83
SOAPInterface2::raw_connect_da('SOAPInterface2', 'Exchange', 'get_event_results', 'event_hnd', 523372, 'meet_hnd', 5875, 'sport', 'swimming') called at /usr/local/apache/htdocs/mason/Modules/Getter.pm line 239
Getter::get_attribute('Getter=HASH(0x1054cc80)', 'get_event_results', 'event_hnd', 523372, 'sport', 'swimming', 'meet_hnd', 5875) called at /usr/local/apache/htdocs/mason/Modules/Getter.pm line 210
Getter::AUTOLOAD('Getter=HASH(0x1054cc80)', 'meet_hnd', 5875, 'event_hnd', 523372, 'sport', 'swimming') called at /usr/local/apache/htdocs/mason/DirectAthletics/event_results.html line 71
HTML::Mason::Commands::__ANON__('sport', 'swimming', 'meet_hnd', 5875, 'event_hnd', 523372, 'error_message', '', 'athlete_hnd', 753135) called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x103dba60)', 'sport', 'swimming', 'meet_hnd', 5875, 'event_hnd', 523372, 'error_message', '', 'athlete_hnd', 753135) called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 901
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 900
HTML::Mason::Request::call_self('HTML::Mason::Request::ApacheHandler=HASH(0xfe87db0)', 'SCALAR(0xc799240)', 'ARRAY(0xc799280)', 'SCALAR(0xc799260)', 'CACHE_SELF') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 830
HTML::Mason::Request::cache_self('HTML::Mason::Request::ApacheHandler=HASH(0xfe87db0)', 'key', 'swimming_5875_523372_753135_', 'expires_in', '24 hours', 'busy_lock', '30 sec') called at /usr/local/apache/htdocs/mason/DirectAthletics/event_results.html line 68
HTML::Mason::Commands::__ANON__('sport', 'swimming', 'meet_hnd', 5875, 'event_hnd', 523372, 'error_message', '', 'athlete_hnd', 753135) called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x103dba60)', 'sport', 'swimming', 'meet_hnd', 5875, 'event_hnd', 523372, 'error_message', '', 'athlete_hnd', 753135) called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1278
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, 'sport', 'swimming', 'meet_hnd', 5875, 'event_hnd', 523372, 'error_message', '', 'athlete_hnd', 753135) called at /usr/local/apache/htdocs/mason/DirectAthletics/results/dhandler line 14
HTML::Mason::Commands::__ANON__('athlete_hnd', 753135, 'error_message', '') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xcc41710)', 'athlete_hnd', 753135, 'error_message', '') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1278
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef, 'athlete_hnd', 753135, 'error_message', '') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 937
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0xfe87db0)', 'error_message', '') called at /usr/local/apache/htdocs/mason/DirectAthletics/autohandler line 118
HTML::Mason::Commands::__ANON__('athlete_hnd', 753135) called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x103b6980)', 'athlete_hnd', 753135) called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1273
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef, 'athlete_hnd', 753135) called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 419
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xfe87db0)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xfe87db0)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xcc3eb60)', 'Apache=SCALAR(0xd22e5a0)') called at (eval 203) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache=SCALAR(0xd22e5a0)') called at /dev/null line 0
eval {...} at /dev/null line 0