System error

error:  Can't call method "get_article_id" on an undefined value at /home/smartnews/SmartNews/sources/comps/www/ajax/users/activity.html line 244.
context: 
... 
240:  my $badges = $objects->{'SmartNews::Badge::Badge'};
241: 
242:  my %badges_articles;
243:  if ( $badges && scalar( keys %{$badges}) ) {
244:  my $badges_articles = SmartNews::Content::Article->DM()->get_multi( id => [map { $_->get_article_id() } grep { $_->get_article_id() } values %{$badges} ] );
245:  %badges_articles = map { $_->get_id() => $_ } @{$badges_articles};
246:  }
247:  my ($comments, $commented_objects, %commented_articles) = ([], {}, ());
248:  my %articles_by_item;
... 
code stack:  /home/smartnews/SmartNews/sources/comps/www/ajax/users/activity.html:244
/home/smartnews/SmartNews/sources/comps/www/profile/profile.html:126
/home/smartnews/SmartNews/sources/comps/www/profile/dhandler:1
/home/smartnews/SmartNews/sources/comps/www/autohandler:1
raw error






























Can't call method "get_article_id" on an undefined value at /home/smartnews/SmartNews/sources/comps/www/ajax/users/activity.html line 244.


Trace begun at /usr/local/share/perl/5.10.1/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "get_article_id" on an undefined value at /home/smartnews/SmartNews/sources/comps/www/ajax/users/activity.html line 244.^J') called at /home/smartnews/SmartNews/sources/comps/www/ajax/users/activity.html line 244
HTML::Mason::Commands::__ANON__('user', 'SmartNews::User::User=HASH(0x6a9dc48)') called at /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x644c9a0)', 'user', 'SmartNews::User::User=HASH(0x6a9dc48)') called at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'user', 'SmartNews::User::User=HASH(0x6a9dc48)') called at /home/smartnews/SmartNews/sources/comps/www/profile/profile.html line 126
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x64bd198)') called at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /home/smartnews/SmartNews/sources/comps/www/profile/dhandler line 1
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x5fc8310)') called at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /home/smartnews/SmartNews/sources/comps/www/autohandler line 1
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x5d36000)') called at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1297
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7078730)') called at /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7078730)') called at /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7ff23e278b48)', 'Apache=SCALAR(0x5dd3758)') called at /home/smartnews/MakeIdea/lib/MakeIdea/BK/Core/handler.pl line 72
eval {...} at /home/smartnews/MakeIdea/lib/MakeIdea/BK/Core/handler.pl line 69
MakeIdea::BK::Core::Handler::Mason::handler('Apache=SCALAR(0x5dd3758)') called at /dev/null line 0
eval {...} at /dev/null line 0