System error on ticket display & transaction

I emailed a comment to a ticket this morning, and noticed that I didn’t
see anything from it. When I checked the ticket itself, I found this
error. Not sure what do to next…

error: Can’t call method “Name” on an undefined value at
/usr/lib/perl5/vendor_perl/5.8.8/RT/Transaction_Overlay.pm line 696.
context:

692: DelWatcher => sub {
693: my $self = shift;
694: my $principal = RT::Principal->new($self->CurrentUser);
695: $principal->Load($self->OldValue);
696: return $self->loc( “[_1] [_2] deleted”, $self->Field,
$principal->Object->Name);
697: },
698: Subject => sub {
699: my $self = shift;
700: return $self->loc( “Subject changed to [_1]”, $self->Data );

code stack: /usr/lib/perl5/vendor_perl/5.8.8/RT/Transaction_Overlay.pm:696
/usr/lib/perl5/vendor_perl/5.8.8/RT/Transaction_Overlay.pm:602
/usr/share/rt3/html/Ticket/Elements/ShowTransaction:54
/usr/share/rt3/html/Ticket/Elements/ShowHistory:102
/usr/share/rt3/html/Ticket/Display.html:63
/usr/share/rt3/html/autohandler:292

Can’t call method “Name” on an undefined value at
/usr/lib/perl5/vendor_perl/5.8.8/RT/Transaction_Overlay.pm line 696.

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 “Name” on
an undefined value at
/usr/lib/perl5/vendor_perl/5.8.8/RT/Transaction_Overlay.pm line 696.^J’)
called at /usr/lib/perl5/vendor_perl/5.8.8/RT/Transaction_Overlay.pm
line 696
RT::Transaction::ANON(‘RT::Transaction=HASH(0x8495f58c)’) called at
/usr/lib/perl5/vendor_perl/5.8.8/RT/Transaction_Overlay.pm line 602
RT::Transaction::BriefDescription(‘RT::Transaction=HASH(0x8495f58c)’)
called at /usr/share/rt3/html/Ticket/Elements/ShowTransaction line 54
HTML::Mason::Commands::ANON(‘Attachments’,
‘RT::Attachments=HASH(0x842a26bc)’, ‘Ticket’,
‘RT::Ticket=HASH(0x84947820)’, ‘AttachmentContent’,
‘RT::Attachments=HASH(0x83f59d54)’, ‘ShowHeaders’, undef, ‘Collapsed’,
undef, ‘Tickets’, undef, ‘AttachPath’, ‘/rt/Ticket/Attachment’,
‘UpdatePath’, ‘/rt/Ticket/Update.html’, ‘Ticket’,
‘RT::Ticket=HASH(0x84947820)’, ‘Transaction’,
‘RT::Transaction=HASH(0x8495f58c)’, ‘ShowHeaders’, undef, ‘Collapsed’,
undef, ‘RowNum’, 28, ‘ShowTitleBarCommands’, 1, ‘Attachments’,
‘ARRAY(0x840e8e24)’, ‘AttachmentContent’, ‘HASH(0x83f5b644)’,
‘LastTransaction’, 0) 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(0x840c567c)’,
‘Attachments’, ‘RT::Attachments=HASH(0x842a26bc)’, ‘Ticket’,
‘RT::Ticket=HASH(0x84947820)’, ‘AttachmentContent’,
‘RT::Attachments=HASH(0x83f59d54)’, ‘ShowHeaders’, undef, ‘Collapsed’,
undef, ‘Tickets’, undef, ‘AttachPath’, ‘/rt/Ticket/Attachment’,
‘UpdatePath’, ‘/rt/Ticket/Update.html’, ‘Ticket’,
‘RT::Ticket=HASH(0x84947820)’, ‘Transaction’,
‘RT::Transaction=HASH(0x8495f58c)’, ‘ShowHeaders’, undef, ‘Collapsed’,
undef, ‘RowNum’, 28, ‘ShowTitleBarCommands’, 1, ‘Attachments’,
‘ARRAY(0x840e8e24)’, ‘AttachmentContent’, ‘HASH(0x83f5b644)’,
‘LastTransaction’, 0) called at
/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 1256
eval {…} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm
line 1246
HTML::Mason::Request::comp(undef, undef, ‘Attachments’,
‘RT::Attachments=HASH(0x842a26bc)’, ‘Ticket’,
‘RT::Ticket=HASH(0x84947820)’, ‘AttachmentContent’,
‘RT::Attachments=HASH(0x83f59d54)’, ‘ShowHeaders’, undef, ‘Collapsed’,
undef, ‘Tickets’, undef, ‘AttachPath’, ‘/rt/Ticket/Attachment’,
‘UpdatePath’, ‘/rt/Ticket/Update.html’, ‘Ticket’,
‘RT::Ticket=HASH(0x84947820)’, ‘Transaction’,
‘RT::Transaction=HASH(0x8495f58c)’, ‘ShowHeaders’, undef, ‘Collapsed’,
undef, ‘RowNum’, 28, ‘ShowTitleBarCommands’, 1, ‘Attachments’,
‘ARRAY(0x840e8e24)’, ‘AttachmentContent’, ‘HASH(0x83f5b644)’,
‘LastTransaction’, 0) called at
/usr/share/rt3/html/Ticket/Elements/ShowHistory line 102
HTML::Mason::Commands::ANON(‘Ticket’, ‘RT::Ticket=HASH(0x84947820)’,
‘Tickets’, undef, ‘Collapsed’, undef, ‘ShowHeaders’, undef,
‘Attachments’, ‘RT::Attachments=HASH(0x842a26bc)’, ‘AttachmentContent’,
‘RT::Attachments=HASH(0x83f59d54)’) 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(0x840eb854)’,
‘Ticket’, ‘RT::Ticket=HASH(0x84947820)’, ‘Tickets’, undef, ‘Collapsed’,
undef, ‘ShowHeaders’, undef, ‘Attachments’,
‘RT::Attachments=HASH(0x842a26bc)’, ‘AttachmentContent’,
‘RT::Attachments=HASH(0x83f59d54)’) called at
/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 1256
eval {…} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm
line 1246
HTML::Mason::Request::comp(undef, undef, ‘Ticket’,
‘RT::Ticket=HASH(0x84947820)’, ‘Tickets’, undef, ‘Collapsed’, undef,
‘ShowHeaders’, undef, ‘Attachments’, ‘RT::Attachments=HASH(0x842a26bc)’,
‘AttachmentContent’, ‘RT::Attachments=HASH(0x83f59d54)’) called at
/usr/share/rt3/html/Ticket/Display.html line 63
HTML::Mason::Commands::ANON(‘id’, 3619) 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(0x83e962f8)’,
‘id’, 3619) called at
/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 1256
eval {…} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm
line 1246
HTML::Mason::Request::comp(undef, undef, undef, ‘id’, 3619) called at
/usr/share/rt3/html/autohandler line 292
HTML::Mason::Commands::ANON(‘id’, 3619) 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(0x83e2f4c4)’,
‘id’, 3619) 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 1246
HTML::Mason::Request::comp(undef, undef, undef, ‘id’, 3619) called at
/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 460
eval {…} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm
line 460
eval {…} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm
line 412
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x848ed070)’)
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(0x848ed070)’)
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(0x832e9e10)’,
‘Apache2::RequestRec=SCALAR(0x83f5c4cc)’) called at /usr/sbin/webmux.pl
line 123
eval {…} at /usr/sbin/webmux.pl line 123
RT::Mason::handler(‘Apache2::RequestRec=SCALAR(0x83f5c4cc)’) called at
-e line 0
eval {…} at -e line 0

Steve Huston - W2SRH - Unix Sysadmin, Dept. of Astrophysical Sciences
Princeton University | ICBM Address: 40.346525 -74.651285
126 Peyton Hall |“On my ship, the Rocinante, wheeling through
Princeton, NJ 08544 | the galaxies; headed for the heart of Cygnus,
(609) 258-7375 | headlong into mystery.” -Rush, ‘Cygnus X-1’

I emailed a comment to a ticket this morning, and noticed that I didn’t
see anything from it. When I checked the ticket itself, I found this
error. Not sure what do to next…

Again with the replying to myself… I’ve got to stop doing this, people
will talk.

Anyway, found my problem. I don’t know why a user I removed with
RTx::Shredder was at all attached to this ticket, but she was. I put
her back in the database and all is right in the world again.

Steve Huston - W2SRH - Unix Sysadmin, Dept. of Astrophysical Sciences
Princeton University | ICBM Address: 40.346525 -74.651285
126 Peyton Hall |“On my ship, the Rocinante, wheeling through
Princeton, NJ 08544 | the galaxies; headed for the heart of Cygnus,
(609) 258-7375 | headlong into mystery.” -Rush, ‘Cygnus X-1’

Read: Carbon60: Managed Cloud Services
If you have shredder’s backups, restore users and use shredder-0.05.
Otherwise in the above thread you can find solution.On 3/9/07, Steve Huston huston@astro.princeton.edu wrote:

On 03/09/2007 10:18 AM, Steve Huston wrote:

I emailed a comment to a ticket this morning, and noticed that I didn’t
see anything from it. When I checked the ticket itself, I found this
error. Not sure what do to next…

Again with the replying to myself… I’ve got to stop doing this, people
will talk.

Anyway, found my problem. I don’t know why a user I removed with
RTx::Shredder was at all attached to this ticket, but she was. I put
her back in the database and all is right in the world again.


Steve Huston - W2SRH - Unix Sysadmin, Dept. of Astrophysical Sciences
Princeton University | ICBM Address: 40.346525 -74.651285
126 Peyton Hall |“On my ship, the Rocinante, wheeling through
Princeton, NJ 08544 | the galaxies; headed for the heart of Cygnus,
(609) 258-7375 | headlong into mystery.” -Rush, ‘Cygnus X-1’


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.