GNOME Bugzilla – Bug 709376
NullReferenceException causes a warning when closing banshee
Last modified: 2013-10-03 17:28:39 UTC
When closing banshee via menu Media->Quit at the moment when Banshee is playing an audio file, I've had this exception happen many times: [1 Debug 18:01:59.906] TrackInfoDisplay RenderAnimation: 32.00 FPS [1 Debug 18:02:01.216] Creating Pango.Layout, configuring Cairo.Context [1 Debug 18:02:02.529] Creating Pango.Layout, configuring Cairo.Context [1 Debug 18:02:02.548] Service disposed (CoverArtService) [1 Debug 18:02:02.550] Service disposed (GnomeService) [1 Debug 18:02:02.554] Service disposed (DvdService) [1 Debug 18:02:02.556] Service disposed (AudioCdService) [1 Debug 18:02:02.558] Service disposed (NotificationAreaService) [1 Debug 18:02:02.567] Service disposed (PodcastService) [1 Debug 18:02:02.572] Service disposed (DaapService) [1 Debug 18:02:02.572] Service disposed (AmazonMp3DownloaderService) [1 Debug 18:02:02.575] Service disposed (MultimediaKeysService) [1 Debug 18:02:02.594] Service disposed (EmusicService) [1 Debug 18:02:02.596] Service disposed (DapService) [1 Debug 18:02:02.597] Service disposed (BpmService) [1 Debug 18:02:02.597] Service disposed (GStreamerCoreService) [1 Debug 18:02:02.607] Service disposed (NereidPlayerInterface) [1 Debug 18:02:02.607] Service disposed (BookmarksService) [1 Debug 18:02:02.607] Service disposed (CollectionIndexerService) [1 Debug 18:02:02.608] Service disposed (HardwareManager) [1 Debug 18:02:02.609] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL [1 Debug 18:02:02.619] Player state change: Playing -> Idle [1 Debug 18:02:02.622] (libbanshee:player) bp_destroy: disposed player [1 Debug 18:02:02.622] Service disposed (PlayerEngine) [1 Warn 18:02:02.643] Service disposal (SourceManager) threw an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.FileSystemQueue') at Banshee.FileSystemQueue.FileSystemQueueSource.Dispose () [0x0002d] in /home/knocte/Documents/Code/banshee3UPSTREAM/src/Extensions/Banshee.FileSystemQueue/Banshee.FileSystemQueue/FileSystemQueueSource.cs:213 at Banshee.Sources.SourceManager.RemoveSource (Banshee.Sources.Source source, Boolean recursivelyDispose) [0x00153] in /home/knocte/Documents/Code/banshee3UPSTREAM/src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs:243 at Banshee.Sources.SourceManager.Dispose () [0x0006f] in /home/knocte/Documents/Code/banshee3UPSTREAM/src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs:110 at Banshee.ServiceStack.ServiceManager.Shutdown () [0x00024] in /home/knocte/Documents/Code/banshee3UPSTREAM/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:297 [1 Debug 18:02:02.643] Service disposed (Network) [1 Debug 18:02:02.645] Service disposed (DbConnection)
Fixed in master (https://git.gnome.org/browse/banshee/commit/?id=7ecc2fe6feac10f48293db7b52c46ea6a35cfb85) and stable-2.6 and gtk2 branches.