[ubuntu-mono] [Bug 1770797] [NEW] Docky can not start after adding "Session Manager" of Docklet.

ichro furuya 1770797 at bugs.launchpad.net
Sat May 12 05:48:07 UTC 2018


Public bug reported:

Xubuntu 18.04 (Japanese environment)

Kernel version: 4.15.0.20
Docky: 2.2.1.1-1

In "Docky" application, there is a problem that Docky can not start
after adding "Session Manager" of Docklet.

---

[Procedure]

1. Install "Docky" using "Software" application.

2. Start "Terminal".

3. Start "Docky".
$ docky

4. The dock will start and the dock will be displayed.
(We deleted all doclets for clarity)

5. Left click the blue "Docky" icon on the left side of the dock.

6. Select the "Docklet" tab.

7. Click "Session Manager" and click "+" to add it.

8. The dock suddenly ended. The display of the dock has disappeared.

9. Close the "Terminal" window.

10. Start "Terminal".

11. Start "Docky".
$ docky

[Info  18:07:54.145] Docky version: 2.2.1.1 Release
[Info  18:07:54.165] Kernel version: 4.15.0.20
[Info  18:07:54.166] CLR version: 4.0.30319.42000
[Error 18:07:54.472] [SystemService] Could not initialize power manager dbus: 'Could not load type 'Docky.Services.SystemService\+IUPowerProxy' from assembly 'DBus.Proxies, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' because it is implements the inaccessible interface 'Docky.Services.SystemService+IUPower'.'
[Info  18:07:54.475] [SystemService]   at System.Reflection.Emit.TypeBuilder.CreateTypeInfo () [0x002dc] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Reflection.Emit.TypeBuilder.CreateType () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
  at DBus.TypeImplementer.GetImplementation (System.Type declType) [0x000e3] in <91cfe10d2aa049c9af550645dbbec075>:0 
  at DBus.BusObject.GetObject (DBus.Connection conn, System.String bus_name, DBus.ObjectPath object_path, System.Type declType) [0x00001] in <91cfe10d2aa049c9af550645dbbec075>:0 
  at DBus.Connection.GetObject (System.Type type, System.String bus_name, DBus.ObjectPath path) [0x0002b] in <91cfe10d2aa049c9af550645dbbec075>:0 
  at DBus.Connection.GetObject[T] (System.String bus_name, DBus.ObjectPath path) [0x00001] in <91cfe10d2aa049c9af550645dbbec075>:0 
  at Docky.Services.SystemService.InitializeBattery () [0x00030] in <7cbfebdf01bd437fb1e0b3e770f0dbae>:0 
[Error 18:07:54.485] [SystemService] Could not initialize Network Manager dbus: 'Could not load type 'Docky.Services.SystemService\+INetworkManagerProxy' from assembly 'DBus.Proxies, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' because it is implements the inaccessible interface 'Docky.Services.SystemService+INetworkManager'.'
[Info  18:07:54.486] [SystemService]   at System.Reflection.Emit.TypeBuilder.CreateTypeInfo () [0x002dc] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Reflection.Emit.TypeBuilder.CreateType () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
  at DBus.TypeImplementer.GetImplementation (System.Type declType) [0x000e3] in <91cfe10d2aa049c9af550645dbbec075>:0 
  at DBus.BusObject.GetObject (DBus.Connection conn, System.String bus_name, DBus.ObjectPath object_path, System.Type declType) [0x00001] in <91cfe10d2aa049c9af550645dbbec075>:0 
  at DBus.Connection.GetObject (System.Type type, System.String bus_name, DBus.ObjectPath path) [0x0002b] in <91cfe10d2aa049c9af550645dbbec075>:0 
  at DBus.Connection.GetObject[T] (System.String bus_name, DBus.ObjectPath path) [0x00001] in <91cfe10d2aa049c9af550645dbbec075>:0 
  at Docky.Services.SystemService.InitializeNetworkManager () [0x0005c] in <7cbfebdf01bd437fb1e0b3e770f0dbae>:0 
[Info  18:07:54.510] [ThemeService] Setting theme: Classic
[Warn  18:07:54.545] [DesktopItemService] Could not find remap file '/home/ubn/.local/share/docky/remaps.ini'!
[Info  18:07:54.761] [DockServices] Dock services initialized.

--- here ---

[Info  18:07:55.292] [PluginManager] Loaded "Session Manager".
[Error 18:07:55.300] [SystemService] Could not initialize needed dbus service: 'Could not load type 'SessionManager.SystemManager\+IUPowerProxy' from assembly 'DBus.Proxies, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' because it is implements the inaccessible interface 'SessionManager.SystemManager+IUPower'.'
[Info  18:07:55.301] [SystemService]   at System.Reflection.Emit.TypeBuilder.CreateTypeInfo () [0x002dc] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Reflection.Emit.TypeBuilder.CreateType () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
  at DBus.TypeImplementer.GetImplementation (System.Type declType) [0x000e3] in <91cfe10d2aa049c9af550645dbbec075>:0 
  at DBus.BusObject.GetObject (DBus.Connection conn, System.String bus_name, DBus.ObjectPath object_path, System.Type declType) [0x00001] in <91cfe10d2aa049c9af550645dbbec075>:0 
  at DBus.Connection.GetObject (System.Type type, System.String bus_name, DBus.ObjectPath path) [0x0002b] in <91cfe10d2aa049c9af550645dbbec075>:0 
  at DBus.Connection.GetObject[T] (System.String bus_name, DBus.ObjectPath path) [0x00001] in <91cfe10d2aa049c9af550645dbbec075>:0 
  at SessionManager.SystemManager.Initialize () [0x00034] in <a99f59716bf0487ab522af531b59f357>:0 
Error while getting object for node in path '/Docky/ItemProvider'.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Docky.Items.ProxyDockItem.ItemChanged () [0x000a5] in <61dc700a9b4c4d68a69ef8ddc302e70b>:0 
  at Docky.Items.ProxyDockItem..ctor (Docky.Items.AbstractDockItemProvider provider, Docky.Services.Prefs.IPreferences prefs) [0x00078] in <61dc700a9b4c4d68a69ef8ddc302e70b>:0 
  at SessionManager.SessionManagerItem..ctor () [0x00011] in <a99f59716bf0487ab522af531b59f357>:0 
  at SessionManager.SessionManagerItemProvider..ctor () [0x00006] in <a99f59716bf0487ab522af531b59f357>:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <8f2c484307284b51944a1a13a14c0266>:0 
   --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00019] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000ca] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x0001a] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x0002a] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00040] in <8f2c484307284b51944a1a13a14c0266>:0 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
  at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00006] in <986f8be547534289b2a0232bc26702be>:0 
  at Mono.Addins.InstanceExtensionNode.GetInstance () [0x0000b] in <986f8be547534289b2a0232bc26702be>:0 
  at Mono.Addins.InstanceExtensionNode.GetInstance (System.Type expectedType) [0x00000] in <986f8be547534289b2a0232bc26702be>:0 
  at Mono.Addins.ExtensionNode.GetChildObjectsInternal (System.Type arrayElementType, System.Boolean reuseCachedInstance) [0x0005e] in <986f8be547534289b2a0232bc26702be>:0 
Cairo.Surface is leaking, programmer is missing a call to Dispose
Set MONO_CAIRO_DEBUG_DISPOSE to track allocation traces
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NullReferenceException: Object reference not set to an instance of an object
  at Docky.Items.ProxyDockItem.get_Square () [0x00000] in <61dc700a9b4c4d68a69ef8ddc302e70b>:0 
  at Docky.Items.AbstractDockItem.<QueueRedraw>m__0 () [0x00000] in <61dc700a9b4c4d68a69ef8ddc302e70b>:0 
  at GLib.Idle+IdleProxy.Handler (System.IntPtr data) [0x0003c] in <5a439e0caae7469886e7119d9f6bc621>:0 
  at GLib.ExceptionManager.RaiseUnhandledException (System.Exception e, System.Boolean is_terminal) [0x00000] in <5a439e0caae7469886e7119d9f6bc621>:0 
  at GLib.Idle+IdleProxy.Handler (System.IntPtr data) [0x00000] in <5a439e0caae7469886e7119d9f6bc621>:0 
  at Gtk.Application.gtk_main () [0x00000] in <7a41aae9f05e45b7b5a8cedfab67f8ff>:0 
  at Gtk.Application.Run () [0x00000] in <7a41aae9f05e45b7b5a8cedfab67f8ff>:0 
  at Docky.Docky.Main (System.String[] args) [0x00000] in <6e113a4aefbd4f84854c12dc39ca4cf5>:0 

$

12. "Docky" did not start, it ended.
The terminal has returned to usable state.

---

[Procedure to recover]

1. Modify the Docky definition file from the "Terminal" application.

$ sudo mousepad /home/User-Name/.local/share/docky/plugins/addin-
db-001/config.xml

Correct the following lines.
 <Addin id="Docky.SessionManager,1.0" enabled="True" />
↓
 <Addin id="Docky.SessionManager,1.0" enabled="False" />

2. Save and overwrite.

3. Start Docky from the "Terminal" application.

$ docky

4. The dock will be displayed.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: docky 2.2.1.1-1
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat May 12 14:31:06 2018
InstallationDate: Installed on 2018-05-10 (2 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
SourcePackage: docky
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: docky (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to docky in Ubuntu.
https://bugs.launchpad.net/bugs/1770797

Title:
  Docky can not start after adding "Session Manager" of Docklet.

Status in docky package in Ubuntu:
  New

Bug description:
  Xubuntu 18.04 (Japanese environment)

  Kernel version: 4.15.0.20
  Docky: 2.2.1.1-1

  In "Docky" application, there is a problem that Docky can not start
  after adding "Session Manager" of Docklet.

  ---

  [Procedure]

  1. Install "Docky" using "Software" application.

  2. Start "Terminal".

  3. Start "Docky".
  $ docky

  4. The dock will start and the dock will be displayed.
  (We deleted all doclets for clarity)

  5. Left click the blue "Docky" icon on the left side of the dock.

  6. Select the "Docklet" tab.

  7. Click "Session Manager" and click "+" to add it.

  8. The dock suddenly ended. The display of the dock has disappeared.

  9. Close the "Terminal" window.

  10. Start "Terminal".

  11. Start "Docky".
  $ docky

  [Info  18:07:54.145] Docky version: 2.2.1.1 Release
  [Info  18:07:54.165] Kernel version: 4.15.0.20
  [Info  18:07:54.166] CLR version: 4.0.30319.42000
  [Error 18:07:54.472] [SystemService] Could not initialize power manager dbus: 'Could not load type 'Docky.Services.SystemService\+IUPowerProxy' from assembly 'DBus.Proxies, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' because it is implements the inaccessible interface 'Docky.Services.SystemService+IUPower'.'
  [Info  18:07:54.475] [SystemService]   at System.Reflection.Emit.TypeBuilder.CreateTypeInfo () [0x002dc] in <8f2c484307284b51944a1a13a14c0266>:0 
    at System.Reflection.Emit.TypeBuilder.CreateType () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
    at DBus.TypeImplementer.GetImplementation (System.Type declType) [0x000e3] in <91cfe10d2aa049c9af550645dbbec075>:0 
    at DBus.BusObject.GetObject (DBus.Connection conn, System.String bus_name, DBus.ObjectPath object_path, System.Type declType) [0x00001] in <91cfe10d2aa049c9af550645dbbec075>:0 
    at DBus.Connection.GetObject (System.Type type, System.String bus_name, DBus.ObjectPath path) [0x0002b] in <91cfe10d2aa049c9af550645dbbec075>:0 
    at DBus.Connection.GetObject[T] (System.String bus_name, DBus.ObjectPath path) [0x00001] in <91cfe10d2aa049c9af550645dbbec075>:0 
    at Docky.Services.SystemService.InitializeBattery () [0x00030] in <7cbfebdf01bd437fb1e0b3e770f0dbae>:0 
  [Error 18:07:54.485] [SystemService] Could not initialize Network Manager dbus: 'Could not load type 'Docky.Services.SystemService\+INetworkManagerProxy' from assembly 'DBus.Proxies, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' because it is implements the inaccessible interface 'Docky.Services.SystemService+INetworkManager'.'
  [Info  18:07:54.486] [SystemService]   at System.Reflection.Emit.TypeBuilder.CreateTypeInfo () [0x002dc] in <8f2c484307284b51944a1a13a14c0266>:0 
    at System.Reflection.Emit.TypeBuilder.CreateType () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
    at DBus.TypeImplementer.GetImplementation (System.Type declType) [0x000e3] in <91cfe10d2aa049c9af550645dbbec075>:0 
    at DBus.BusObject.GetObject (DBus.Connection conn, System.String bus_name, DBus.ObjectPath object_path, System.Type declType) [0x00001] in <91cfe10d2aa049c9af550645dbbec075>:0 
    at DBus.Connection.GetObject (System.Type type, System.String bus_name, DBus.ObjectPath path) [0x0002b] in <91cfe10d2aa049c9af550645dbbec075>:0 
    at DBus.Connection.GetObject[T] (System.String bus_name, DBus.ObjectPath path) [0x00001] in <91cfe10d2aa049c9af550645dbbec075>:0 
    at Docky.Services.SystemService.InitializeNetworkManager () [0x0005c] in <7cbfebdf01bd437fb1e0b3e770f0dbae>:0 
  [Info  18:07:54.510] [ThemeService] Setting theme: Classic
  [Warn  18:07:54.545] [DesktopItemService] Could not find remap file '/home/ubn/.local/share/docky/remaps.ini'!
  [Info  18:07:54.761] [DockServices] Dock services initialized.

  --- here ---

  [Info  18:07:55.292] [PluginManager] Loaded "Session Manager".
  [Error 18:07:55.300] [SystemService] Could not initialize needed dbus service: 'Could not load type 'SessionManager.SystemManager\+IUPowerProxy' from assembly 'DBus.Proxies, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' because it is implements the inaccessible interface 'SessionManager.SystemManager+IUPower'.'
  [Info  18:07:55.301] [SystemService]   at System.Reflection.Emit.TypeBuilder.CreateTypeInfo () [0x002dc] in <8f2c484307284b51944a1a13a14c0266>:0 
    at System.Reflection.Emit.TypeBuilder.CreateType () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
    at DBus.TypeImplementer.GetImplementation (System.Type declType) [0x000e3] in <91cfe10d2aa049c9af550645dbbec075>:0 
    at DBus.BusObject.GetObject (DBus.Connection conn, System.String bus_name, DBus.ObjectPath object_path, System.Type declType) [0x00001] in <91cfe10d2aa049c9af550645dbbec075>:0 
    at DBus.Connection.GetObject (System.Type type, System.String bus_name, DBus.ObjectPath path) [0x0002b] in <91cfe10d2aa049c9af550645dbbec075>:0 
    at DBus.Connection.GetObject[T] (System.String bus_name, DBus.ObjectPath path) [0x00001] in <91cfe10d2aa049c9af550645dbbec075>:0 
    at SessionManager.SystemManager.Initialize () [0x00034] in <a99f59716bf0487ab522af531b59f357>:0 
  Error while getting object for node in path '/Docky/ItemProvider'.
  System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at Docky.Items.ProxyDockItem.ItemChanged () [0x000a5] in <61dc700a9b4c4d68a69ef8ddc302e70b>:0 
    at Docky.Items.ProxyDockItem..ctor (Docky.Items.AbstractDockItemProvider provider, Docky.Services.Prefs.IPreferences prefs) [0x00078] in <61dc700a9b4c4d68a69ef8ddc302e70b>:0 
    at SessionManager.SessionManagerItem..ctor () [0x00011] in <a99f59716bf0487ab522af531b59f357>:0 
    at SessionManager.SessionManagerItemProvider..ctor () [0x00006] in <a99f59716bf0487ab522af531b59f357>:0 
    at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <8f2c484307284b51944a1a13a14c0266>:0 
     --- End of inner exception stack trace ---
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00019] in <8f2c484307284b51944a1a13a14c0266>:0 
    at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000ca] in <8f2c484307284b51944a1a13a14c0266>:0 
    at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x0001a] in <8f2c484307284b51944a1a13a14c0266>:0 
    at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x0002a] in <8f2c484307284b51944a1a13a14c0266>:0 
    at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00040] in <8f2c484307284b51944a1a13a14c0266>:0 
    at System.Activator.CreateInstance (System.Type type) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 
    at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00006] in <986f8be547534289b2a0232bc26702be>:0 
    at Mono.Addins.InstanceExtensionNode.GetInstance () [0x0000b] in <986f8be547534289b2a0232bc26702be>:0 
    at Mono.Addins.InstanceExtensionNode.GetInstance (System.Type expectedType) [0x00000] in <986f8be547534289b2a0232bc26702be>:0 
    at Mono.Addins.ExtensionNode.GetChildObjectsInternal (System.Type arrayElementType, System.Boolean reuseCachedInstance) [0x0005e] in <986f8be547534289b2a0232bc26702be>:0 
  Cairo.Surface is leaking, programmer is missing a call to Dispose
  Set MONO_CAIRO_DEBUG_DISPOSE to track allocation traces
  Exception in Gtk# callback delegate
    Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
  System.NullReferenceException: Object reference not set to an instance of an object
    at Docky.Items.ProxyDockItem.get_Square () [0x00000] in <61dc700a9b4c4d68a69ef8ddc302e70b>:0 
    at Docky.Items.AbstractDockItem.<QueueRedraw>m__0 () [0x00000] in <61dc700a9b4c4d68a69ef8ddc302e70b>:0 
    at GLib.Idle+IdleProxy.Handler (System.IntPtr data) [0x0003c] in <5a439e0caae7469886e7119d9f6bc621>:0 
    at GLib.ExceptionManager.RaiseUnhandledException (System.Exception e, System.Boolean is_terminal) [0x00000] in <5a439e0caae7469886e7119d9f6bc621>:0 
    at GLib.Idle+IdleProxy.Handler (System.IntPtr data) [0x00000] in <5a439e0caae7469886e7119d9f6bc621>:0 
    at Gtk.Application.gtk_main () [0x00000] in <7a41aae9f05e45b7b5a8cedfab67f8ff>:0 
    at Gtk.Application.Run () [0x00000] in <7a41aae9f05e45b7b5a8cedfab67f8ff>:0 
    at Docky.Docky.Main (System.String[] args) [0x00000] in <6e113a4aefbd4f84854c12dc39ca4cf5>:0 

  $

  12. "Docky" did not start, it ended.
  The terminal has returned to usable state.

  ---

  [Procedure to recover]

  1. Modify the Docky definition file from the "Terminal" application.

  $ sudo mousepad /home/User-Name/.local/share/docky/plugins/addin-
  db-001/config.xml

  Correct the following lines.
   <Addin id="Docky.SessionManager,1.0" enabled="True" />
  ↓
   <Addin id="Docky.SessionManager,1.0" enabled="False" />

  2. Save and overwrite.

  3. Start Docky from the "Terminal" application.

  $ docky

  4. The dock will be displayed.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: docky 2.2.1.1-1
  ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
  Uname: Linux 4.15.0-20-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sat May 12 14:31:06 2018
  InstallationDate: Installed on 2018-05-10 (2 days ago)
  InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  PackageArchitecture: all
  SourcePackage: docky
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docky/+bug/1770797/+subscriptions




More information about the Ubuntu-mono mailing list