System error

error:  Can't call method "Subdivision" on an undefined value at /usr/local/idx/apache2/htdocs.cook/print/rnt line 193.
context: 
... 
189:  if ($t eq 'rnt') {
190:  use IDX::CMLS::Property;
191:  #$obj = $pkg->lookup({ id => $id });
192:  $obj = IDX::CMLS::Property->plookup({ id => $id, t => 'rnt' });
193:  $sub = $obj->Subdivision;
194:  } else {
195:  $m->redirect($siteobj->FIRM_SEARCH_URL());
196:  }
197:  $sub = '' if $sub eq 'None';
... 
code stack:  /usr/local/idx/apache2/htdocs.cook/print/rnt:193
/usr/local/idx/apache2/htdocs.cook/print/dhandler:1
raw error






























Can't call method "Subdivision" on an undefined value at /usr/local/idx/apache2/htdocs.cook/print/rnt line 193.


Trace begun at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "Subdivision" on an undefined value at /usr/local/idx/apache2/htdocs.cook/print/rnt line 193.^J') called at /usr/local/idx/apache2/htdocs.cook/print/rnt line 193
HTML::Mason::Commands::__ANON__('t', 'rnt', 'id', 1447897) called at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xabb4980)', 't', 'rnt', 'id', 1447897) called at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 't', 'rnt', 'id', 1447897) called at /usr/local/idx/apache2/htdocs.cook/print/dhandler line 1
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa09d0b0)') called at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa0d9b10)') called at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa0d9b10)') called at /usr/local/lib/perl5/site_perl/5.28.3/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x877d378)', 'Apache2::RequestRec=SCALAR(0xa259ac8)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0xa259ac8)') called at -e line 0
eval {...} at -e line 0