[rt-users] Error with MakeClicky

Pierre Legendre pierre.legendre at yandex.com
Thu Jul 16 04:55:01 EDT 2015


Moreover, when we try to load the bogus comment (https://<hostname>/rt/RTIR/Display.html?id=369?id=369#txn-2475), we have the following error in interface "Could not load ticket 369?id=369) and these errors in logs : 


[21601] [Thu Jul 16 08:50:39 2015] [debug]: Tried to load a bogus ticket id: '369?id=369' (/opt/rt4/sbin/../lib/RT/Ticket.pm:139)
[21601] [Thu Jul 16 08:50:39 2015] [error]: Could not load ticket 369?id=369 (/opt/rt4/share/html/Elements/Error:78)
[21601] [Thu Jul 16 08:50:39 2015] [debug]: Tried to load a bogus ticket id: '369?id=369' (/opt/rt4/sbin/../lib/RT/Ticket.pm:139)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in concatenation (.) or string at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 153. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:153)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in hash element at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 165. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:165)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in numeric ne (!=) at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 172. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:171)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in hash element at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 179. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:179)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in numeric ne (!=) at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 186. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:185)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in concatenation (.) or string at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 194. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:194)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in concatenation (.) or string at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 195. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:195)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in concatenation (.) or string at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 197. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:197)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in concatenation (.) or string at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 198. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:198)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value in numeric eq (==) at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 202. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:202)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value in numeric ne (!=) at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 207. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:202)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in concatenation (.) or string at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 208. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:202)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $type in string eq at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 216. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:216)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in concatenation (.) or string at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 226. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:226)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in concatenation (.) or string at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 234. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:233)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in concatenation (.) or string at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 279. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:278)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in concatenation (.) or string at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 286. (/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged:286)
[21601] [Thu Jul 16 08:50:39 2015] [debug]: Tried to load a bogus ticket id: '' (/opt/rt4/sbin/../lib/RT/Ticket.pm:139)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in hash element at /opt/rt4/sbin/../lib/RT/Ticket.pm line 1954. (/opt/rt4/sbin/../lib/RT/Ticket.pm:1954)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $_[3] in join or string at (eval 528) line 2. ((eval 528):2)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $_[3] in join or string at (eval 528) line 2. ((eval 528):2)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $value in substitution (s///) at /opt/rt4/sbin/../lib/RT/Tickets.pm line 2756. (/opt/rt4/sbin/../lib/RT/Tickets.pm:2756)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $value in substitution (s///) at /opt/rt4/sbin/../lib/RT/Tickets.pm line 2756. (/opt/rt4/sbin/../lib/RT/Tickets.pm:2756)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value in concatenation (.) or string at /opt/rt4/sbin/../lib/RT/Tickets.pm line 2789. (/opt/rt4/sbin/../lib/RT/Tickets.pm:2789)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value in concatenation (.) or string at /opt/rt4/sbin/../lib/RT/Tickets.pm line 2789. (/opt/rt4/sbin/../lib/RT/Tickets.pm:2789)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: DBD::Pg::st execute failed: ERROR:  invalid input syntax for integer: ""
LINE 1: ...(main.Type = 'ticket') AND ( ( main.EffectiveId = '' )  AND ...
                                                             ^ at /usr/local/share/perl5/DBIx/SearchBuilder/Handle.pm line 586. (/usr/local/share/perl5/DBIx/SearchBuilder/Handle.pm:586)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: RT::Handle=HASH(0x7210ec0) couldn't execute the query 'SELECT main.* FROM Tickets main  WHERE (main.Status != 'deleted') AND (main.Type = 'ticket') AND ( ( main.EffectiveId = '' )  AND  ( main.id != '' ) ) ' at /usr/local/share/perl5/DBIx/SearchBuilder/Handle.pm line 599.
        DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x7210ec0)', 'SELECT main.* FROM Tickets main  WHERE (main.Status != \'dele...') called at /usr/local/share/perl5/DBIx/SearchBuilder.pm line 239
        DBIx::SearchBuilder::_DoSearch('RT::Tickets=HASH(0x9feec08)') called at /opt/rt4/sbin/../lib/RT/SearchBuilder.pm line 986
        RT::SearchBuilder::_DoSearch('RT::Tickets=HASH(0x9feec08)') called at /opt/rt4/sbin/../lib/RT/Tickets.pm line 2416
        RT::Tickets::_DoSearch('RT::Tickets=HASH(0x9feec08)') called at /usr/local/share/perl5/DBIx/SearchBuilder.pm line 507
        DBIx::SearchBuilder::Next('RT::Tickets=HASH(0x9feec08)') called at /opt/rt4/sbin/../lib/RT/Tickets.pm line 2388
        RT::Tickets::Next('RT::Tickets=HASH(0x9feec08)') called at /opt/rt4/sbin/../lib/RT/Tickets.pm line 2350
        RT::Tickets::ItemsArrayRef('RT::Tickets=HASH(0x9feec08)') called at /opt/rt4/sbin/../lib/RT/Ticket.pm line 1968
        RT::Ticket::Merged('RT::Ticket=HASH(0xa0cde20)') called at /opt/rt4/sbin/../lib/RT/User.pm line 1891
        RT::User::HasBookmark('RT::User=HASH(0x9fdf8c8)', 'RT::Ticket=HASH(0xa0cde20)') called at /opt/rt4/share/html/Ticket/Elements/Bookmark line 57
        HTML::Mason::Commands::__ANON__('id', undef) called at /usr/local/share/perl5/HTML/Mason/Component.pm line 135
        HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x74ad990)', 'id', undef) called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1302
        eval {...} called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1292
        HTML::Mason::Request::comp(undef, undef, undef, 'id', undef) called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1355
        HTML::Mason::Request::scomp('RT::Interface::Web::Request=HASH(0xa07b7a0)', '/Ticket/Elements/Bookmark', 'id', undef) called at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/Tabs/Privileged line 292
        HTML::Mason::Commands::__ANON__('Path', '/RTIR/Display.html') called at /usr/local/share/perl5/HTML/Mason/Component.pm line 135
        HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7450330)', 'Path', '/RTIR/Display.html') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1297
        eval {...} called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1292
        HTML::Mason::Request::comp(undef, undef, 'Path', '/RTIR/Display.html') called at /opt/rt4/sbin/../lib/RT/Interface/Web/Request.pm line 138
        RT::Interface::Web::Request::callback('RT::Interface::Web::Request=HASH(0xa07b7a0)', 'CallbackName', 'Privileged', 'Path', '/RTIR/Display.html') called at /opt/rt4/share/html/Elements/Tabs line 939
        HTML::Mason::Commands::__ANON__() called at /opt/rt4/share/html/Elements/Tabs line 997
        HTML::Mason::Commands::__ANON__() called at /usr/local/share/perl5/HTML/Mason/Component.pm line 135
        HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x73d6680)') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1302
        eval {...} called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1292
        HTML::Mason::Request::comp(undef, undef) called at /opt/rt4/share/html/Elements/Error line 52
        HTML::Mason::Commands::__ANON__('Why', 'Could not load ticket 369?id=369') called at /usr/local/share/perl5/HTML/Mason/Component.pm line 135
        HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa084cb8)', 'Why', 'Could not load ticket 369?id=369') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1302
        eval {...} called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1292
        HTML::Mason::Request::comp(undef, undef, 'Why', 'Could not load ticket 369?id=369') called at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 1979
        HTML::Mason::Commands::Abort('Could not load ticket 369?id=369') called at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 2228
        HTML::Mason::Commands::LoadTicket('369?id=369') called at /opt/rt4/local/plugins/RT-IR/html/RTIR/Display.html line 162
        HTML::Mason::Commands::__ANON__('id', '369?id=369') called at /usr/local/share/perl5/HTML/Mason/Component.pm line 135
        HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x725b490)', 'id', '369?id=369') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1302
        eval {...} called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1292
        HTML::Mason::Request::comp(undef, undef, undef, 'id', '369?id=369') called at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 681
        RT::Interface::Web::ShowRequestedPage('HASH(0xa07b7b8)') called at /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 369
        RT::Interface::Web::HandleRequest('HASH(0xa07b7b8)') called at /opt/rt4/share/html/autohandler line 53
        HTML::Mason::Commands::__ANON__('id', '369?id=369') called at /usr/local/share/perl5/HTML/Mason/Component.pm line 135
        HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x72703f8)', 'id', '369?id=369') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1297
        eval {...} called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1292
        HTML::Mason::Request::comp(undef, undef, undef, 'id', '369?id=369') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 481
        eval {...} called at /usr/local/share/perl5/HTML/Mason/Request.pm line 481
        eval {...} called at /usr/local/share/perl5/HTML/Mason/Request.pm line 433
        HTML::Mason::Request::exec('RT::Interface::Web::Request=HASH(0xa07b7a0)') called at /usr/local/share/perl5/HTML/Mason/PSGIHandler.pm line 96
        eval {...} called at /usr/local/share/perl5/HTML/Mason/PSGIHandler.pm line 96
        HTML::Mason::Request::PSGI::exec('RT::Interface::Web::Request=HASH(0xa07b7a0)') called at /usr/local/share/perl5/HTML/Mason/Interp.pm line 342
        HTML::Mason::Interp::exec(undef, undef, 'id', '369?id=369') called at /usr/local/share/perl5/HTML/Mason/PSGIHandler.pm line 59
        eval {...} called at /usr/local/share/perl5/HTML/Mason/PSGIHandler.pm line 59
        HTML::Mason::PSGIHandler::invoke_mason('HTML::Mason::PSGIHandler::Streamy=HASH(0x71a4ce0)', 'HASH(0xa08cba0)', 'HASH(0xa0890b8)') called at /usr/local/share/perl5/HTML/Mason/PSGIHandler/Streamy.pm line 52
        HTML::Mason::PSGIHandler::Streamy::__ANON__('CODE(0xa0ba718)') called at /opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm line 310
        RT::Interface::Web::Handler::__ANON__('CODE(0xa0ba718)') called at /usr/local/share/perl5/Plack/Util.pm line 339
        Plack::Util::__ANON__('CODE(0xa0afa70)') called at /usr/local/share/perl5/Plack/Handler/FCGI.pm line 145
        Plack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0x71e4f18)', 'CODE(0x71c5770)') called at /usr/local/share/perl5/Plack/Loader.pm line 84
        Plack::Loader::run('Plack::Loader=HASH(0x71b9ba8)', 'Plack::Handler::FCGI=HASH(0x71e4f18)') called at /usr/local/share/perl5/Plack/Runner.pm line 277
        Plack::Runner::run('RT::PlackRunner=HASH(0x168a5c0)') called at /opt/rt4/sbin/../lib/RT/PlackRunner.pm line 141
        eval {...} called at /opt/rt4/sbin/../lib/RT/PlackRunner.pm line 141
        RT::PlackRunner::run('RT::PlackRunner=HASH(0x168a5c0)') called at /opt/rt4/sbin/rt-server.fcgi line 162 (/usr/share/perl5/vendor_perl/Carp.pm:103)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in hash element at /opt/rt4/sbin/../lib/RT/Ticket.pm line 1967. (/opt/rt4/sbin/../lib/RT/Ticket.pm:1968)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $_ in hash element at /opt/rt4/sbin/../lib/RT/User.pm line 1896. (/opt/rt4/sbin/../lib/RT/User.pm:1896)
[21601] [Thu Jul 16 08:50:39 2015] [warning]: Use of uninitialized value $id in concatenation (.) or string at /opt/rt4/share/html/Ticket/Elements/Bookmark line 65. (/opt/rt4/share/html/Ticket/Elements/Bookmark:65)




16.07.2015, 11:46, "Pierre Legendre" <pierre.legendre at yandex.com>:
>  Hi all,
>
>  We use RT 4.2.11 IR 3.2 on Centos with Postgresql 9.3.
>
>  When we create a ticket or comment/answer a ticket, we have sometimes the following error :
>
>  Jul 13 16:13:42 rtir.intra RT[10560]: [10560] Can't call method "id" on an undefined value at /opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/MakeClicky/Default line 115.
>  Stack:
>  [/opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/MakeClicky/Default:115]
>  [/opt/rt4/share/html/Elements/ShowMessageStanza:61]
>  [/opt/rt4/share/html/Elements/ShowTransactionAttachments:252]
>  [/opt/rt4/share/html/Elements/ShowTransactionAttachments:81]
>  [/opt/rt4/share/html/Elements/ShowTransaction:72]
>  [/opt/rt4/share/html/Elements/ShowHistory:121]
>  [/opt/rt4/share/html/Helpers/TicketHistory:48]
>  [/opt/rt4/share/html/Helpers/autohandler:51]
>  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:681]
>  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:369]
>  [/opt/rt4/share/html/autohandler:53]
>
>  The content of the message is saved in database but is not displayed in the web interface. Instead, we have the error : "An internal RT error has occurred. Your administrator can find more details in RT's log files.".
>
>  How can I fix this error?
>
>  Thank you in advance!!
>
>  Pierre



More information about the rt-users mailing list