GNOME Bugzilla – Bug 639032
NRE in LastFmStreaming causes warning
Last modified: 2011-01-12 20:08:21 UTC
Although this doesn't make Banshee crash, because the exception is simply logged, a NRE is always a bug: [1 Warn 02:55:26.004] Error Loading Last.fm Station - System.NullReferenceException: Object reference not set to an instance of an object at Banshee.LastfmStreaming.Radio.StationSource.set_Type (Banshee.LastfmStreaming.Radio.StationType value) [0x00007] in /home/knocte/Documentos/banshee/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming/StationSource.cs:95 at Banshee.LastfmStreaming.Radio.StationSource..ctor (Banshee.Lastfm.LastfmSource lastfm, Int32 dbId, System.String name, System.String type, System.String arg, Int32 playCount) [0x00026] in /home/knocte/Documentos/banshee/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming/StationSource.cs:123 at Banshee.LastfmStreaming.Radio.StationSource.LoadAll (Banshee.Lastfm.LastfmSource lastfm, System.String creator) [0x0002c] in /home/knocte/Documentos/banshee/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming/StationSource.cs:568
This exception was triggered by having a "Loved" Last.fm station in the database, which is not supported anymore, since it was discontinued by Last.fm I've just committed a fix that removes those stations from the database : http://git.gnome.org/browse/banshee/commit/?id=aa86f5c8