Bug 2489 - Browsing to "statistics" page crashes SlimServer
: Browsing to "statistics" page crashes SlimServer
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 6.2.1
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-04 02:04 UTC by alex_m74
Modified: 2008-09-15 14:37 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alex_m74 2005-11-04 02:04:50 UTC
I've recently been having problems when trying to browse the "statistics" page
on SlimServer. Firefox comes up with an error "The document contains no data",
and the SlimServer process itself (running as a service, Windows 2003 Server)
has crashed.

The application event log has the following error message:
Can't locate object method "playCount" via package
"Class::DBI::Object::Has::Been::Deleted" at /PerlApp/Slim/Web/History.pm line 38.

This problem started after I added a 2nd SqueezeBox2 to my home network, though
it doesn't mean the 2nd device is the reason it's happening...

Thanks,
Alex
Comment 1 KDF 2005-11-04 09:06:23 UTC
i am not seeing this crash, but adding this line before History.pm line 38
should avoid it:

next unless (blessed($track) && blessed($track) ne
'Class::DBI::Object::Has::Been::Deleted')
		
Comment 2 Dan Sully 2005-11-04 09:45:11 UTC
Fixed in change 5031