GNOME Bugzilla – Bug 558486
Object reference not set to an instance of an object
Last modified: 2008-10-30 03:11:28 UTC
Please describe the problem: Banshee gives the error "Problem with Player Engine / Object reference not set to an instance of an object" when any file is played. Problem ocurs in 1.3.3 and 1.3.2, not 1.2.*. gstreamer 0.10.21-42.pm2 on openSUSE 11.0 GNOME using PulseAudio as preferred sound system. Steps to reproduce: 1. Install Banshee 1.3.2 or 1.3.3 2. Play any file 3. Error "Problem with Player Engine / Object reference not set to an instance of an object" and terminal output shown below Actual results: Expected results: Does this happen every time? Other information: [Info 22:59:59.619] Running Banshee 1.3.3 System.DllNotFoundException: libglib-2.0.dll at (wrapper managed-to-native) Banshee.Base.Localization:g_get_language_names () at Banshee.Base.Localization.GetLanguageNames () [0x00000] at Banshee.Base.Localization.get_Languages () [0x00000] at Banshee.Base.Localization.get_XmlLanguages () [0x00000] at Banshee.Base.Localization.SelectSingleNode (System.Xml.XmlNode parent, System.String query) [0x00000] at Banshee.MediaProfiles.Profile..ctor (Banshee.MediaProfiles.MediaProfileManager manager, System.Xml.XmlNode node) [0x00000] at Banshee.MediaProfiles.MediaProfileManager.LoadProfiles (System.Xml.XmlNode node) [0x00000] System.DllNotFoundException: libglib-2.0.dll at (wrapper managed-to-native) Banshee.Base.Localization:g_get_language_names () at Banshee.Base.Localization.GetLanguageNames () [0x00000] at Banshee.Base.Localization.get_Languages () [0x00000] at Banshee.Base.Localization.get_XmlLanguages () [0x00000] at Banshee.Base.Localization.SelectSingleNode (System.Xml.XmlNode parent, System.String query) [0x00000] at Banshee.MediaProfiles.Profile..ctor (Banshee.MediaProfiles.MediaProfileManager manager, System.Xml.XmlNode node) [0x00000] at Banshee.MediaProfiles.MediaProfileManager.LoadProfiles (System.Xml.XmlNode node) [0x00000] System.DllNotFoundException: libglib-2.0.dll at (wrapper managed-to-native) Banshee.Base.Localization:g_get_language_names () at Banshee.Base.Localization.GetLanguageNames () [0x00000] at Banshee.Base.Localization.get_Languages () [0x00000] at Banshee.Base.Localization.get_XmlLanguages () [0x00000] at Banshee.Base.Localization.SelectSingleNode (System.Xml.XmlNode parent, System.String query) [0x00000] at Banshee.MediaProfiles.Profile..ctor (Banshee.MediaProfiles.MediaProfileManager manager, System.Xml.XmlNode node) [0x00000] at Banshee.MediaProfiles.MediaProfileManager.LoadProfiles (System.Xml.XmlNode node) [0x00000] System.DllNotFoundException: libglib-2.0.dll at (wrapper managed-to-native) Banshee.Base.Localization:g_get_language_names () at Banshee.Base.Localization.GetLanguageNames () [0x00000] at Banshee.Base.Localization.get_Languages () [0x00000] at Banshee.Base.Localization.get_XmlLanguages () [0x00000] at Banshee.Base.Localization.SelectSingleNode (System.Xml.XmlNode parent, System.String query) [0x00000] at Banshee.MediaProfiles.Profile..ctor (Banshee.MediaProfiles.MediaProfileManager manager, System.Xml.XmlNode node) [0x00000] at Banshee.MediaProfiles.MediaProfileManager.LoadProfiles (System.Xml.XmlNode node) [0x00000] System.DllNotFoundException: libglib-2.0.dll at (wrapper managed-to-native) Banshee.Base.Localization:g_get_language_names () at Banshee.Base.Localization.GetLanguageNames () [0x00000] at Banshee.Base.Localization.get_Languages () [0x00000] at Banshee.Base.Localization.get_XmlLanguages () [0x00000] at Banshee.Base.Localization.SelectSingleNode (System.Xml.XmlNode parent, System.String query) [0x00000] at Banshee.MediaProfiles.Profile..ctor (Banshee.MediaProfiles.MediaProfileManager manager, System.Xml.XmlNode node) [0x00000] at Banshee.MediaProfiles.MediaProfileManager.LoadProfiles (System.Xml.XmlNode node) [0x00000] System.DllNotFoundException: libglib-2.0.dll at (wrapper managed-to-native) Banshee.Base.Localization:g_get_language_names () at Banshee.Base.Localization.GetLanguageNames () [0x00000] at Banshee.Base.Localization.get_Languages () [0x00000] at Banshee.Base.Localization.get_XmlLanguages () [0x00000] at Banshee.Base.Localization.SelectSingleNode (System.Xml.XmlNode parent, System.String query) [0x00000] at Banshee.MediaProfiles.Profile..ctor (Banshee.MediaProfiles.MediaProfileManager manager, System.Xml.XmlNode node) [0x00000] at Banshee.MediaProfiles.MediaProfileManager.LoadProfiles (System.Xml.XmlNode node) [0x00000] System.DllNotFoundException: libglib-2.0.dll at (wrapper managed-to-native) Banshee.Base.Localization:g_get_language_names () at Banshee.Base.Localization.GetLanguageNames () [0x00000] at Banshee.Base.Localization.get_Languages () [0x00000] at Banshee.Base.Localization.get_XmlLanguages () [0x00000] at Banshee.Base.Localization.SelectSingleNode (System.Xml.XmlNode parent, System.String query) [0x00000] at Banshee.MediaProfiles.Profile..ctor (Banshee.MediaProfiles.MediaProfileManager manager, System.Xml.XmlNode node) [0x00000] at Banshee.MediaProfiles.MediaProfileManager.LoadProfiles (System.Xml.XmlNode node) [0x00000] [Warn 23:00:00.500] Service `Banshee.MediaEngine.TranscoderService' not started: libglib-2.0.dll [Warn 23:00:00.502] Caught an exception - libglib-2.0.dll (in `Banshee.Unix') at (wrapper managed-to-native) Banshee.IO.Unix.Directory:g_mkdir_with_parents (intptr,int) at Banshee.IO.Unix.Directory.Create (System.String directory) [0x00000] at Banshee.IO.Directory.Create (System.String directory) [0x00000] at Banshee.MediaEngine.TranscoderService..ctor () [0x00000] at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] [Info 23:00:01.491] All services are started 1.460251s [Info 23:00:02.392] nereid Client Started [Warn 23:00:03.040] Caught an exception - libglib-2.0.dll (in `Banshee.Core') at (wrapper managed-to-native) Banshee.Base.SafeUri:g_filename_to_uri (intptr,intptr,intptr) at Banshee.Base.SafeUri.FilenameToUri (System.String localPath) [0x00000] at Banshee.Base.SafeUri..ctor (System.String uri) [0x00000] at Banshee.Dap.Mtp.MtpSource..cctor () [0x00000] An exception was thrown by the type initializer for Banshee.Dap.Mtp.MtpSource (in `mscorlib') at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] Exception has been thrown by the target of an invocation. (in `mscorlib') at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] at System.Activator.CreateInstance (System.Type type) [0x00000] at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] at Banshee.Dap.DapService.FindDeviceSource (IDevice device) [0x00000] [Warn 23:00:03.051] Caught an exception - libglib-2.0.dll (in `Banshee.Core') at (wrapper managed-to-native) Banshee.Base.SafeUri:g_filename_to_uri (intptr,intptr,intptr) at Banshee.Base.SafeUri.FilenameToUri (System.String localPath) [0x00000] at Banshee.Base.SafeUri..ctor (System.String uri) [0x00000] at Banshee.Dap.Mtp.MtpSource..cctor () [0x00000] An exception was thrown by the type initializer for Banshee.Dap.Mtp.MtpSource (in `mscorlib') at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] Exception has been thrown by the target of an invocation. (in `mscorlib') at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] at System.Activator.CreateInstance (System.Type type) [0x00000] at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] at Banshee.Dap.DapService.FindDeviceSource (IDevice device) [0x00000] [Warn 23:00:03.054] Caught an exception - libglib-2.0.dll (in `Banshee.Core') at (wrapper managed-to-native) Banshee.Base.SafeUri:g_filename_to_uri (intptr,intptr,intptr) at Banshee.Base.SafeUri.FilenameToUri (System.String localPath) [0x00000] at Banshee.Base.SafeUri..ctor (System.String uri) [0x00000] at Banshee.Dap.Mtp.MtpSource..cctor () [0x00000] An exception was thrown by the type initializer for Banshee.Dap.Mtp.MtpSource (in `mscorlib') at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] Exception has been thrown by the target of an invocation. (in `mscorlib') at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] at System.Activator.CreateInstance (System.Type type) [0x00000] at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] at Banshee.Dap.DapService.FindDeviceSource (IDevice device) [0x00000] [Warn 23:00:05.999] Caught an exception - Object reference not set to an instance of an object (in `Banshee.Services') at Banshee.MediaEngine.PlayerEngineService.FindSupportingEngine (Banshee.Base.SafeUri uri) [0x00000] at Banshee.MediaEngine.PlayerEngineService.OpenCheck (System.Object o) [0x00000] at Banshee.MediaEngine.PlayerEngineService.OpenPlay (Banshee.Collection.TrackInfo track, Boolean play) [0x00000] [Error 23:00:05.999] Problem with Player Engine - Object reference not set to an instance of an object
Oh, I didn't make it explicit but I obviously already have libglib-2.0 installed.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 557868 ***