Bug 207399 - media-sound/last-exit needs dev-dotnet/dbus-glib-sharp at runtime
Bug#: 207399 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: steev@gentoo.org Reported By: mrc_timer@users.sourceforge.net
Component: Ebuilds
URL: 
Summary: media-sound/last-exit needs dev-dotnet/dbus-glib-sharp at runtime
Keywords:  InCVS
Status Whiteboard: 
Opened: 2008-01-25 16:41 0000
Description:   Opened: 2008-01-25 16:41 0000
last-exit builds without dbus-glib-sharp, however it fails to run with the
following error message:

Unhandled Exception: System.Exception: Unable to open the system message bus.
---> System.NullReferenceException: Object reference not set to an instance of
an object
  at NDesk.DBus.Signature.TypeToDType (System.Type type) [0x00000] 
  at NDesk.DBus.Signature.TypeToDType (System.Type type) [0x00000] 
  at NDesk.DBus.MessageWriter.Write (System.Type type, System.Object val)
[0x00000] 
  at NDesk.DBus.MessageWriter.WriteStruct (System.Type type, System.Object val)
[0x00000] 
  at NDesk.DBus.Message.WriteHeader () [0x00000] 
  at NDesk.DBus.Connection.Send (NDesk.DBus.Message msg) [0x00000] 
  at NDesk.DBus.Connection.SendWithReply (NDesk.DBus.Message msg) [0x00000] 
  at NDesk.DBus.Connection.SendWithReplyAndBlock (NDesk.DBus.Message msg)
[0x00000] 
  at NDesk.DBus.BusObject.Invoke (System.Reflection.MethodBase methodBase,
System.String methodName, System.Object[] inArgs, System.Object[]& outArgs,
System.Object& retVal, System.Exception& exception) [0x00000] 
  at NDesk.DBus.DProxy.Invoke (IMessage message) [0x00000] 
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
(System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception&
exc, System.Object[]& out_args) [0x00000] --- End of inner exception stack
trace ---

  at NDesk.DBus.Bus.get_System () [0x00000] 
  at NDesk.DBus.BusG.Init () [0x00000] 
  at LastExit.Driver.Main (System.String[] args) [0x00000]

When built with dbus-glib-sharp already merged, last-exit works properly.

------- Comment #1 From Steev Klimaszewski 2008-02-03 01:36:23 0000 -------
Which version is this?

------- Comment #2 From Marc Vinyals 2008-02-03 13:12:23 0000 -------
last-exit is both 4.0 and 5.0.
dbus is 1.1.4
dbus-glib is 0.74
dbus-sharp is 0.6.0
dbus-glib-sharp is 0.4.1
mono is 1.2.6-r1

------- Comment #3 From Steev Klimaszewski 2008-02-14 05:41:40 0000 -------
Just committed this fix.  Thanks for reporting, sorry it took so long.