Hi

I am using RT 3.8.8.
From time to time, I see the following errors in rt.log

[Fri Apr 15 07:48:06 2011] [info]: Successful login for xxxxx from 00.000.000.00 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:430) [Fri Apr 15 07:48:42 2011] [error]: Scrip IsApplicable 298 died. - Can't call method "Type" on an undefined value at /opt/rt3/bin/../lib/RT/Scrip_Overlay.pm line 399 during global destruction. (/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:417) [Fri Apr 15 07:48:42 2011] [error]: Scrip IsApplicable 290 died. - Can't call method "Type" on an undefined value at /opt/rt3/bin/../lib/RT/Scrip_Overlay.pm line 399 during global destruction. (/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:417) [Fri Apr 15 07:48:42 2011] [error]: Scrip IsApplicable 205 died. - Can't call method "Type" on an undefined value at /opt/rt3/bin/../lib/RT/Scrip_Overlay.pm line 399 during global destruction. (/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:417) [Fri Apr 15 07:48:42 2011] [error]: Scrip IsApplicable 282 died. - Can't call method "Type" on an undefined value at /opt/rt3/bin/../lib/RT/Scrip_Overlay.pm line 399 during global destruction. (/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:417) [Fri Apr 15 07:48:42 2011] [error]: Scrip IsApplicable 200 died. - Can't call method "Type" on an undefined value at /opt/rt3/bin/../lib/RT/Scrip_Overlay.pm line 399 during global destruction. (/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:417) [Fri Apr 15 07:48:42 2011] [error]: Scrip IsApplicable 187 died. - Can't call method "Type" on an undefined value at /opt/rt3/bin/../lib/RT/Scrip_Overlay.pm line 399 during global destruction. (/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:417) [Fri Apr 15 07:48:42 2011] [error]: Scrip IsApplicable 178 died. - Can't call method "Type" on an undefined value at /opt/rt3/bin/../lib/RT/Scrip_Overlay.pm line 399 during global destruction. (/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:417) [Fri Apr 15 07:48:42 2011] [error]: Scrip IsApplicable 168 died. - Can't call method "Type" on an undefined value at /opt/rt3/bin/../lib/RT/Scrip_Overlay.pm line 399 during global destruction. (/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:417) [Fri Apr 15 07:48:54 2011] [info]: Successful login for yyyyy from 00.000.000.00 (/opt/rt3/bin/../lib/RT/Interface/Web.pm:430)

All these scripts have in common that they are Stage=TransactionBatch

If I look inside Scrip_Overlay.pm, I see
397         foreach my $TransactionObj ( @Transactions ) {
398 # in TxnBatch stage we can select scrips that are not applicable to all txns
399             my $txn_type = $TransactionObj->Type;

so it looks as if I have an undefined value in @Transactions !?!?

I log all transactions in rt.log and I have not been able to find any triggering condition.

Does anyone understand what is happening ?
How do I start debugging this ?

Thanks
Gerard

Reply via email to