[Rt-devel] Problem with 3.5.2

Billy Dunn bdunn at bdunn.com
Wed Aug 3 10:12:28 EDT 2005


I have upgraded to 3.5.2 and I'm having a strange error on the home  
page just under "RT at a Glance".  I can't find any information about  
this one after hours and hours of searching.  Has anyone seen this?

------------------------------------------------------------------------ 
-----------

System error
error:      Can't call method "Content" on an undefined value at /opt/ 
rt3/share/html/Elements/MyRT line 76.
context:
...
72:
73:      unless (exists $session{'my_rt_portlets'}) {
74:      my ($d_portlets) = RT::System->new($session{'CurrentUser'})- 
 >Attributes->Named('HomepageSettings');
75:      my $user = $session{'CurrentUser'}->UserObj;
76:      $session{'my_rt_portlets'} = $user->Preferences 
('HomepageSettings', $d_portlets->Content);
77:      }
78:
79:      my $portlets = $session{'my_rt_portlets'};
80:
...
code stack:      /opt/rt3/share/html/Elements/MyRT:76
/opt/rt3/share/html/index.html:81
/opt/rt3/share/html/autohandler:248





raw error

Can't call method "Content" on an undefined value at /opt/rt3/share/ 
html/Elements/MyRT line 76.


Trace begun at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/ 
Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method  
"Content" on an undefined value at /opt/rt3/share/html/Elements/MyRT  
line 76.^J') called at /opt/rt3/share/html/Elements/MyRT line 76
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/vendor_perl/5.8.5/ 
HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH 
(0x9d2ae84)') called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/ 
Request.pm line 1074
eval {...}('HTML::Mason::Component::FileBased=HASH(0x9d2ae84)')  
called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Request.pm line  
1068
HTML::Mason::Request::comp(undef, undef) called at /opt/rt3/share/ 
html/index.html line 81
HTML::Mason::Commands::__ANON__('pass', 'walkonwater', 'user',  
'bdunn', 'pass', 'walkonwater', 'user', 'bdunn') called at /usr/lib/ 
perl5/vendor_perl/5.8.5/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH 
(0x9e0a47c)', 'pass', 'walkonwater', 'user', 'bdunn', 'pass',  
'walkonwater', 'user', 'bdunn') called at /usr/lib/perl5/vendor_perl/ 
5.8.5/HTML/Mason/Request.pm line 1074
eval {...}('HTML::Mason::Component::FileBased=HASH(0x9e0a47c)',  
'pass', 'walkonwater', 'user', 'bdunn', 'pass', 'walkonwater',  
'user', 'bdunn') called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/ 
Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'pass', 'walkonwater',  
'user', 'bdunn', 'pass', 'walkonwater', 'user', 'bdunn') called at / 
usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next 
('HTML::Mason::Request::ApacheHandler=HASH(0x9e0b60c)', 'pass',  
'walkonwater', 'user', 'bdunn') called at /opt/rt3/share/html/ 
autohandler line 248
HTML::Mason::Commands::__ANON__('pass', 'walkonwater', 'user',  
'bdunn') called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/ 
Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH 
(0x98a450c)', 'pass', 'walkonwater', 'user', 'bdunn') called at /usr/ 
lib/perl5/vendor_perl/5.8.5/HTML/Mason/Request.pm line 1069
eval {...}('HTML::Mason::Component::FileBased=HASH(0x98a450c)',  
'pass', 'walkonwater', 'user', 'bdunn') called at /usr/lib/perl5/ 
vendor_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef, 'pass',  
'walkonwater', 'user', 'bdunn') called at /usr/lib/perl5/vendor_perl/ 
5.8.5/HTML/Mason/Request.pm line 338
eval {...}(undef, undef, undef, 'pass', 'walkonwater', 'user',  
'bdunn') called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/ 
Request.pm line 338
eval {...}(undef, undef, undef, 'pass', 'walkonwater', 'user',  
'bdunn') called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/ 
Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH 
(0x9e0b60c)') called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/ 
ApacheHandler.pm line 134
eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x9e0b60c)')  
called at /usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/ 
ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec 
('HTML::Mason::Request::ApacheHandler=HASH(0x9e0b60c)') called at / 
usr/lib/perl5/vendor_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 827
HTML::Mason::ApacheHandler::handle_request 
('HTML::Mason::ApacheHandler=HASH(0x91eb30c)', 'Apache=SCALAR 
(0x9d08744)') called at /opt/rt3/bin/webmux.pl line 127
eval {...}('HTML::Mason::ApacheHandler=HASH(0x91eb30c)',  
'Apache=SCALAR(0x9d08744)') called at /opt/rt3/bin/webmux.pl line 127
eval {...}('HTML::Mason::ApacheHandler=HASH(0x91eb30c)',  
'Apache=SCALAR(0x9d08744)') called at /dev/null line 0





More information about the Rt-devel mailing list