System error

error:  Can't call method "attr" on an undefined value at D:\Web_Server\host\web\ready.shkola.info\_cap.htm line 117.
context: 
... 
113:  my $comp = $self;
114:  # $nav = [$comp];
115:  if($comp->name ne 'index.htm') {
116:  $comp = $m->fetch_comp($comp->dir_path.'/index.htm');
117:  unshift @$nav, [defined $comp->attr('jump')?$comp->attr('jump'):$comp->dir_path, $comp->attr('title'), $comp->attr('nav_title')];
118:  }
119:  while(($comp->attr('top') != 1) && (--$cnt > 0)) {
120:  $comp = $m->fetch_comp($comp->dir_path.'/../index.htm');
121:  unshift @$nav, [defined $comp->attr('jump')?$comp->attr('jump'):$comp->dir_path, $comp->attr('title'), $comp->attr('nav_title')];
... 
code stack:  D:\Web_Server\host\web\ready.shkola.info\_cap.htm:117
D:\Web_Server\host\web\ready.shkola.info\autohandler:38
D:\web_server\Perl\site\lib\HTML\Mason\Component.pm:254
D:\Web_Server\host\web\ready.shkola.info\autohandler:20
D:\web_server\Perl\site\lib\HTML\Mason\Component.pm:254
D:\Web_Server\host\web\ready.shkola.info\autohandler:207
raw error






























Can't call method "attr" on an undefined value at D:\Web_Server\host\web\ready.shkola.info\_cap.htm line 117.


Trace begun at D:\web_server\Perl\site\lib\HTML\Mason\Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "attr" on an undefined value at D:\Web_Server\host\web\ready.shkola.info\_cap.htm line 117.^J') called at D:\Web_Server\host\web\ready.shkola.info\_cap.htm line 117
HTML::Mason::Commands::__ANON__('sdb', 'Portal=HASH(0x31777784)', 'self', 'HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'err', 'ARRAY(0x2f9d1bb0)', 'user', undef, 'debug', 0) called at D:\web_server\Perl\site\lib\HTML\Mason\Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1bb85f70)', 'sdb', 'Portal=HASH(0x31777784)', 'self', 'HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'err', 'ARRAY(0x2f9d1bb0)', 'user', undef, 'debug', 0) called at D:\web_server\Perl\site\lib\HTML\Mason\Request.pm line 1262
eval {...} at D:\web_server\Perl\site\lib\HTML\Mason\Request.pm line 1252
HTML::Mason::Request::comp(undef, undef, 'sdb', 'Portal=HASH(0x31777784)', 'self', 'HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'err', 'ARRAY(0x2f9d1bb0)', 'user', undef, 'debug', 0) called at D:\Web_Server\host\web\ready.shkola.info\autohandler line 38
HTML::Mason::Commands::__ANON__('sdb', 'Portal=HASH(0x31777784)', 'err', 'ARRAY(0x2f9d1bb0)', 'self', 'HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'debug', 0, 'user', undef) called at D:\web_server\Perl\site\lib\HTML\Mason\Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x2a9563ec)', 'sdb', 'Portal=HASH(0x31777784)', 'err', 'ARRAY(0x2f9d1bb0)', 'self', 'HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'debug', 0, 'user', undef) called at D:\web_server\Perl\site\lib\HTML\Mason\Request.pm line 1262
eval {...} at D:\web_server\Perl\site\lib\HTML\Mason\Request.pm line 1252
HTML::Mason::Request::comp(undef, undef, undef, 'sdb', 'Portal=HASH(0x31777784)', 'err', 'ARRAY(0x2f9d1bb0)', 'self', 'HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'debug', 0, 'user', undef) called at D:\web_server\Perl\site\lib\HTML\Mason\Component.pm line 254
HTML::Mason::Component::call_method('HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'cap', 'sdb', 'Portal=HASH(0x31777784)', 'err', 'ARRAY(0x2f9d1bb0)', 'self', 'HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'debug', 0, 'user', undef) called at D:\Web_Server\host\web\ready.shkola.info\autohandler line 20
HTML::Mason::Commands::__ANON__('sdb', 'Portal=HASH(0x31777784)', 'self', 'HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'err', 'ARRAY(0x2f9d1bb0)', 'user', undef, 'debug', 0) called at D:\web_server\Perl\site\lib\HTML\Mason\Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x32fac2e0)', 'sdb', 'Portal=HASH(0x31777784)', 'self', 'HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'err', 'ARRAY(0x2f9d1bb0)', 'user', undef, 'debug', 0) called at D:\web_server\Perl\site\lib\HTML\Mason\Request.pm line 1262
eval {...} at D:\web_server\Perl\site\lib\HTML\Mason\Request.pm line 1252
HTML::Mason::Request::comp(undef, undef, undef, 'sdb', 'Portal=HASH(0x31777784)', 'self', 'HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'err', 'ARRAY(0x2f9d1bb0)', 'user', undef, 'debug', 0) called at D:\web_server\Perl\site\lib\HTML\Mason\Component.pm line 254
HTML::Mason::Component::call_method('HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'main', 'sdb', 'Portal=HASH(0x31777784)', 'self', 'HTML::Mason::Component::FileBased=HASH(0x2ae4df3c)', 'err', 'ARRAY(0x2f9d1bb0)', 'user', undef, 'debug', 0) called at D:\Web_Server\host\web\ready.shkola.info\autohandler line 207
HTML::Mason::Commands::__ANON__ at D:\web_server\Perl\site\lib\HTML\Mason\Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x32fac3d0)') called at D:\web_server\Perl\site\lib\HTML\Mason\Request.pm line 1257
eval {...} at D:\web_server\Perl\site\lib\HTML\Mason\Request.pm line 1252
HTML::Mason::Request::comp(undef, undef, undef) called at D:\web_server\Perl\site\lib\HTML\Mason\Request.pm line 466
eval {...} at D:\web_server\Perl\site\lib\HTML\Mason\Request.pm line 466
eval {...} at D:\web_server\Perl\site\lib\HTML\Mason\Request.pm line 418
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x2c774908)') called at D:\web_server\Perl\site\lib\HTML\Mason\ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x2c774908)') called at D:\web_server\Perl\site\lib\HTML\Mason\ApacheHandler.pm line 826
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x1bdfd764)', 'Apache2::RequestRec=SCALAR(0x1031ef48)') called at D:\Web_Server\host\web\ready.shkola.info\_include\ApacheHandler_ReadyShkolaInfo.pm line 25
ApacheHandler_ReadyShkolaInfo::handler('Apache2::RequestRec=SCALAR(0x1031ef48)') called at -e line 0
eval {...} at -e line 0