[rt-users] Can t locate object method "new" via package "RTx::AssetTracker::Assets"

Gianfranco Samuele - Araknos Srl g.samuele at araknos.it
Wed Feb 25 04:58:36 EST 2009


Jesse Vincent wrote:
> 
> 
> On Wed, Oct 08, 2008 at 11:42:45AM -0400, Todd Chapman wrote:
>> Stefan,
>>
>> I have never seen that error. Are you running mod_perl or fastcgi?
> 
> That looks like the old problem we had with serialized records in the
> session and fresh server processes that had never had the classes
> loaded/initialized. a more recent SB makes it better, generally
> 
>> -Todd
>>
>> On Wed, Oct 8, 2008 at 9:26 AM, Stefan Maier <maier at idowa.de> wrote:
>>
>>> Hi,
>>>
>>> we're having some sporadic system errors on RT/AssetTracker. Every once
>>> in a while when browsing assets we get (typed from a screenshot so it
>>> might contain spelling errors, source is unmodified though):
>>>
>>> error:      Can't locate object method "new" via package
>>> "RTx::AssetTracker::Assets" at
>>> /opt/rt3/local/html/AssetTracker/Search/Results.html line 91
>>> context:    ...
>>>            87: </div>
>>>            88: <%INIT>
>>>            89: my($title, $assetcount);
>>>            90: $session{'i'}++;
>>>            91: $session{'assets'} =
>>> RTx::AssetTracker::Assets->new($session{'CurrentUser'});
>>>            92: $session{'assets'}->FromSQL($Query) if ($Query);
>>>            93: $session{'assets'}->OrderBy(FIELD => $OrderBy, ORDER =>
>>> $Order);
>>>            94:
>>>            95:
>>>            ...
>>> code stack: /opt/rt3/local/html/AssetTracker/Search/Results.html:91
>>>            /opt/rt3/share/html/autohandler:291
>>>
>>>
>>> This only happens on one machine, running Windows XP and Firefox3.
>>>
>>> Thanks in advance,
>>>
>>> --
>>> Mit freundlichen Grüßen
>>>
>>> Stefan Maier
>>>
>>> ==========================================================
>>> Straubinger Tagblatt
>>> EDV-Abteilung Straubing           FON:   +49 9421 940 256
>>> Ludwigsplatz 30                   FAX:   +49 9421 940 6236
>>> D-94315 Straubing
>>> http://www.idowa.de               Email: maier at idowa.de
>>> ==========================================================
>>>  Zeitungsgruppe Straubinger Tagblatt / Landshuter Zeitung
>>>       Cl. Attenkofer'sche Buch- und Kunstdruckerei
>>>             Verlagsbuchhandlung Straubing KG
>>>     Registergericht: Amtsgericht Straubing, HRA 1118
>>> ==========================================================
>>>
>>> _______________________________________________
>>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>>
>>> Community help: http://wiki.bestpractical.com
>>> Commercial support: sales at bestpractical.com
>>>
>>>
>>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>>> Buy a copy at http://rtbook.bestpractical.com
>>>
> 
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> Community help: http://wiki.bestpractical.com
>> Commercial support: sales at bestpractical.com
>>
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
>> Buy a copy at http://rtbook.bestpractical.com
> 

Hi,
we're having some sporadic system errors on RT/AssetTracker. Every once
in a while when browsing assets we get:

error:   Can't locate object method "new" via package
"RTx::AssetTracker::Assets" at
/opt/rt3/local/html/AssetTracker/Search/Results.html line 91.
>
> context:         ...
> 87:      </div>
> 88:      <%INIT>
> 89:      my ($title, $assetcount);
> 90:      $session{'i'}++;
> 91:      $session{'assets'} =
RTx::AssetTracker::Assets->new($session{'CurrentUser'}) ;
> 92:      $session{'assets'}->FromSQL($Query) if ($Query);
> 93:      $session{'assets'}->OrderBy(FIELD => $OrderBy, ORDER => $Order);
> 94:
> 95:
> ...
> code stack:      /opt/rt3/local/html/AssetTracker/Search/Results.html:91
> /opt/rt3/local/html/autohandler:173
>

We are using RT 3.6.0 At 1.2.3 mod perl 2 and db postgresql vers 8.1 and
  here there are the modules that we use:


Perl v5.8.8 under linux
  Apache2::Const v2.000002;
  Apache2::Log v2.000002;
  Apache2::Module v2.000002;
  Apache2::RequestIO v2.000002;
  Apache2::RequestRec v2.000002;
  Apache2::RequestUtil v2.000002;
  Apache2::Response v2.000002;
  Apache2::ServerUtil v2.000002;
  Apache2::Status v4.00;
  Apache::DBI v1.07;
  Apache::Session v1.81;
  Apache::Session::Generate::MD5 v2.1;
  Apache::Session::Lock::Null v1.01;
  Apache::Session::Postgres v1.01;
  Apache::Session::Serialize::Base64 v1.00;
  Apache::Session::Store::DBI v1.02;
  Apache::Session::Store::Postgres v1.03;
  APR v0.009000;
  APR::Pool v0.009000;
  APR::Table v0.009000;
  Authen::Smb v0.91;
  AutoLoader v5.60;
  base v2.07;
  Benchmark v1.07;
  bytes v1.02;
  Cache::Simple::TimedExpiry v0.26;
  Carp v1.04;
  CGI v3.15;
  CGI::Cookie v1.26;
  CGI::Util v1.5;
  Class::Container v0.12;
  Class::Data::Inheritable v0.04;
  Class::ReturnValue v0.53;
  Clone v0.18;
  constant v1.05;
  Convert::ASN1 v0.20;
  Cwd v3.12;
  Data::Dumper v2.121_08;
  Date::Format v2.22;
  Date::Parse v2.27;
  DBD::Pg v1.49;
  DBD::Sponge v11.10;
  DBI v1.53;
  DBIx::SearchBuilder v1.54;
  DBIx::SearchBuilder::Union v0;
  DBIx::SearchBuilder::Unique v0.01;
  Devel::StackTrace v1.11;
  Devel::StackTraceFrame v0.6;
  Digest::base v1.00;
  Digest::MD5 v2.36;
  DynaLoader v1.04;
  Encode v2.12;
  Encode::Alias v2.04;
  Encode::Config v2.01;
  Encode::Encoding v2.02;
  Encode::Guess v2.00;
  Encode::Unicode v2.02;
  Errno v1.0901;
  Exception::Class v1.21;
  Exception::Class::Base v1.2;
  Exporter v5.58;
  Exporter::Heavy v5.58;
  Fcntl v1.05;
  fields v2.03;
  File::Basename v2.74;
  File::Glob v1.05;
  File::Path v1.08;
  File::Spec v3.12;
  File::Spec::Functions v1.3;
  File::Spec::Unix v1.5;
  File::Temp v0.16;
  FileHandle v2.01;
  HTML::Element v3.16;
  HTML::Entities v1.35;
  HTML::Formatter v2.04;
  HTML::FormatText v2.04;
  HTML::Mason v1.35;
  HTML::Mason::ApacheHandler v1.69;
  HTML::Mason::Exception v1.1;
  HTML::Mason::Exception::Abort v1.1;
  HTML::Mason::Exception::Compilation v1.1;
  HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
  HTML::Mason::Exception::Compiler v1.1;
  HTML::Mason::Exception::Decline v1.1;
  HTML::Mason::Exception::Params v1.1;
  HTML::Mason::Exception::Syntax v1.1;
  HTML::Mason::Exception::System v1.1;
  HTML::Mason::Exception::TopLevelNotFound v1.1;
  HTML::Mason::Exception::VirtualMethod v1.1;
  HTML::Mason::Exceptions v1.43;
  HTML::Parser v3.55;
  HTML::Scrubber v0.08;
  HTML::Tagset v3.10;
  HTML::TreeBuilder v3.13;
  I18N::LangTags v0.35;
  I18N::LangTags::Detect v1.03;
  integer v1.00;
  IO v1.22;
  IO::File v1.13;
  IO::Handle v1.25;
  IO::InnerFile v2.110;
  IO::Lines v2.110;
  IO::Scalar v2.110;
  IO::ScalarArray v2.110;
  IO::Seekable v1.1;
  IO::Select v1.17;
  IO::Socket v1.29;
  IO::Socket::INET v1.29;
  IO::Socket::UNIX v1.22;
  IO::Wrap v2.110;
  IO::WrapTie v2.110;
  IPC::Open2 v1.02;
  IPC::Open3 v1.02;
  lib v0.5565;
  List::Util v1.18;
  Locale::Maketext v1.09;
  Locale::Maketext::Fuzzy v0.02;
  Locale::Maketext::Lexicon v0.62;
  Locale::Maketext::Lexicon::Gettext v0.15;
  Log::Dispatch v2.11;
  Log::Dispatch::Base v1.09;
  Log::Dispatch::File v1.22;
  Log::Dispatch::Output v1.26;
  Log::Dispatch::Screen v1.17;
  Log::Dispatch::Syslog v1.18;
  Mail::Address v1.74;
  Mail::Field v1.74;
  Mail::Field::AddrList v1.74;
  Mail::Field::Date v1.74;
  Mail::Header v1.74;
  Mail::Internet v1.74;
  MIME::Base64 v3.07;
  MIME::Body v5.420;
  MIME::Decoder v5.420;
  MIME::Decoder::NBit v5.420;
  MIME::Entity v5.420;
  MIME::Field::ContDisp v5.420;
  MIME::Field::ConTraEnc v5.420;
  MIME::Field::ContType v5.420;
  MIME::Field::ParamVal v5.420;
  MIME::Head v5.420;
  MIME::Parser v5.420;
  MIME::QuotedPrint v3.07;
  MIME::Tools v5.420;
  MIME::Words v5.420;
  mod_perl v2.000002;
  mod_perl2 v2.000002;
  ModPerl::Const v2.000002;
  Module::Versions::Report v1.05;
  Net::LDAP v0.33;
  Net::LDAP::ASN v0.03;
  Net::LDAP::Bind v1.02;
  Net::LDAP::Constant v0.04;
  Net::LDAP::Entry v0.22;
  Net::LDAP::Filter v0.14;
  Net::LDAP::Message v1.08;
  Net::LDAP::Search v0.10;
  Net::LDAP::Util v0.10;
  overload v1.04;
  Params::Validate v0.77;
  POSIX v1.09;
  re v0.05;
  Regexp::Common v2.120;
  Regexp::Common::delimited v2.104;
  RT::Araknos::TicketTemplates v0.11;
  RT::FM v2.2.0RC3;
  RT::Interface::Email v1.02;
  RTx::AssetTracker v0.0.0;
  Scalar::Util v1.18;
  SelectSaver v1.01;
  Socket v1.78;
  Storable v2.15;
  strict v1.03;
  Symbol v1.06;
  Sys::Syslog v0.13;
  Text::Autoformat v1.13;
  Text::Quoted v2.05;
  Text::Reform v1.11;
  Text::Tabs v2005.0824;
  Text::Template v1.44;
  Text::Wrapper v1.000;
  Tie::Hash v1.02;
  Time::HiRes v1.86;
  Time::JulianDay v2003.1125;
  Time::Local v1.11;
  Time::ParseDate v2003.1126;
  Time::Timezone v2003.0211;
  Time::Zone v2.22;
  UNIVERSAL v1.01;
  URI v1.35;
  URI::Escape v3.28;
  URI::URL v5.03;
  URI::WithBase v2.19;
  utf8 v1.06;
  vars v1.01;
  Want v0.09;
  warnings v1.05;
  warnings::register v1.01;
  XSLoader v0.06;

 Thaks in advance for any help,
 Regards


Gianfranco Samuele
System
g.samuele at araknos.it
********************
Araknos Srl - http://www.araknos.it/
Bologna (Italy) - V. P.Miliani 7a 40132
tel. +39-051-403001 fax +39-051-4144154
_____________________________________________________________________

Questo messaggio di posta elettronica contiene informazioni di carattere
confidenziale rivolte esclusivamente al destinatario sopra indicato. E'
vietato l'uso, la diffusione, distribuzione o riproduzione da parte di
ogni altra persona. Nel caso aveste ricevuto questo messaggio di posta
elettronica per errore, siete pregati di segnalarlo immediatamente al
mittente e distruggere quanto ricevuto (compresi i file allegati) senza
farne copia. Grazie.

This e-mail transmission may contain legally privileged and/or
confidential information. Please do not read it if you are not the
intended recipient(S). Any use, distribution, reproduction or disclosure
by any other person is strictly prohibited. If you have received this
e-mail in error, please notify the sender and destroy the original
transmission and its attachments without reading or saving it in any
manner. Thank you.
______________________________________________________________________


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3665 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090225/70c88427/attachment.bin>


More information about the rt-users mailing list