[rt-users] Weird error
John Arends
jarends at illinois.edu
Thu May 14 18:32:10 EDT 2009
I've never seen this before, upon logging into RT the error I am
pasting below. It only occurs when I change a user's username to
prv.username/ad. It's kind of a strange way of naming an account, but
it allows me to use a custom authentication tool. Never had a problem
with this until now.
Any ideas?
System error
error: Can't call method "Attributes" on an undefined value at /usr/
share/rt3/html/Elements/ShowSearch line 65.
context:
...
61: my $query_link_url = 'Search/Results.html';
62:
63: if ($SavedSearch) {
64: my ( $container_object, $search_id ) =
_parse_saved_search($SavedSearch);
65: $search = $container_object->Attributes->WithId($search_id);
66: unless ( $search->Id && ref( $SearchArg = $search->Content ) eq
'HASH' ) {
67: $m->out("Saved Search $SavedSearch not found");
68: return;
69: }
...
code stack: /usr/share/rt3/html/Elements/ShowSearch:65
/usr/share/rt3/html/Elements/MyRT:94
/usr/share/rt3/html/index.html:81
/usr/share/rt3/html/autohandler:291
raw error
Can't call method "Attributes" on an undefined value at /usr/share/rt3/
html/Elements/ShowSearch line 65.
Trace begun at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/
Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method
"Attributes" on an undefined value at /usr/share/rt3/html/Elements/
ShowSearch line 65.^J') called at /usr/share/rt3/html/Elements/
ShowSearch line 65
HTML::Mason::Commands::__ANON__('SavedSearch', 'RT::User-104-
SavedSearch-176', 'Override', 'HASH(0xb0d3980)') called at /usr/lib/
perl5/vendor_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML
::Mason
::Component::run('HTML::Mason::Component::FileBased=HASH(0xac76508)',
'SavedSearch', 'RT::User-104-SavedSearch-176', 'Override',
'HASH(0xb0d3980)') called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/
Mason/Request.pm line 1251
eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm
line 1245
HTML::Mason::Request::comp(undef, undef, 'SavedSearch', 'RT::User-104-
SavedSearch-176', 'Override', 'HASH(0xb0d3980)') called at /usr/share/
rt3/html/Elements/MyRT line 94
HTML::Mason::Commands::__ANON__('HASH(0xb0be15c)') called at /usr/
share/rt3/html/Elements/MyRT line 52
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/vendor_perl/5.8.8/
HTML/Mason/Component.pm line 135
HTML
::Mason
::Component::run('HTML::Mason::Component::FileBased=HASH(0xac63bfc)')
called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line
1251
eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm
line 1245
HTML::Mason::Request::comp(undef, undef) called at /usr/share/rt3/html/
index.html line 81
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/vendor_perl/5.8.8/
HTML/Mason/Component.pm line 135
HTML
::Mason
::Component::run('HTML::Mason::Component::FileBased=HASH(0xaabdb5c)')
called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line
1251
eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm
line 1245
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/
rt3/html/autohandler line 291
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/vendor_perl/5.8.8/
HTML/Mason/Component.pm line 135
HTML
::Mason
::Component::run('HTML::Mason::Component::FileBased=HASH(0xaaf8240)')
called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line
1246
eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm
line 1245
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/
perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 459
eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm
line 459
eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm
line 411
HTML
::Mason
::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xb0c17ec)')
called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm
line 168
HTML
::Mason
::Request
::ApacheHandler
::exec('HTML::Mason::Request::ApacheHandler=HASH(0xb0c17ec)') called
at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 826
HTML
::Mason
::ApacheHandler
::handle_request('HTML::Mason::ApacheHandler=HASH(0x9ffc518)',
'Apache2::RequestRec=SCALAR(0xb0d7474)') called at /usr/sbin/webmux.pl
line 125
eval {...} at /usr/sbin/webmux.pl line 125
RT::Mason::handler('Apache2::RequestRec=SCALAR(0xb0d7474)') called at -
e line 0
eval {...} at -e line 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090514/ab7ee97a/attachment.htm>
More information about the rt-users
mailing list