System error

error:  Can't call method "id" on an undefined value at /home/www/www.walls.nl/web/exposities/dhandler line 6.
context: 
... 
2:  my $arg = $m->dhandler_arg;
3: 
4:  if ($arg =~ m#^(\d+)/(\d+)\.html$#) {
5:  my $expo = Walls::Expositie->retrieve($1);
6:  $m->comp("/link", href => "/exposities/" . $expo->id . ".html", name => "Terug naar de expositie <i>" . $expo->titel . "</i>");
7:  $m->print("<br>");
8:  $m->comp("/comp/kunstenaar", id => $2);
9:  return;
10:  }
... 
code stack:  /home/www/www.walls.nl/web/exposities/dhandler:6
/home/www/www.walls.nl/web/exposities/autohandler:8
/home/www/www.walls.nl/web/autohandler:16
raw error






























Can't call method "id" on an undefined value at /home/www/www.walls.nl/web/exposities/dhandler line 6.


Trace begun at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "id" on an undefined value at /home/www/www.walls.nl/web/exposities/dhandler line 6.^J') called at /home/www/www.walls.nl/web/exposities/dhandler line 6
HTML::Mason::Commands::__ANON__ at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x23434c0)') called at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Request.pm line 1074
eval {...} at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('Bs4::ApacheRequest=HASH(0x2790228)') called at /home/www/www.walls.nl/web/exposities/autohandler line 8
HTML::Mason::Commands::__ANON__ at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2350178)') called at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Request.pm line 1074
eval {...} at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('Bs4::ApacheRequest=HASH(0x2790228)') called at /home/www/www.walls.nl/web/autohandler line 16
HTML::Mason::Commands::__ANON__ at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x231e6e0)') called at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Request.pm line 1069
eval {...} at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Request.pm line 338
eval {...} at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Request.pm line 338
eval {...} at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('Bs4::ApacheRequest=HASH(0x2790228)') called at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/ApacheHandler.pm line 134
eval {...} at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('Bs4::ApacheRequest=HASH(0x2790228)') called at /home/tty/perlkit/root/lib/site_perl/5.10.1/HTML/Mason/ApacheHandler.pm line 827
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x1890b38)', 'Apache=SCALAR(0x25e8768)') called at /home/tty/bs4.2/Lib/Bs4/ApacheHandler.pm line 47
Bs4::ApacheHandler::handler('Apache=SCALAR(0x25e8768)') called at /dev/null line 0
eval {...} at /dev/null line 0