You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Crash] System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.AppMenu.Registrar was not provided by any .service files) #964
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.AppMenu.Registrar was not provided by any .service files)
---> Tmds.DBus.Protocol.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.AppMenu.Registrar was not provided by any .service files
at Tmds.DBus.Protocol.DBusConnection.MyValueTaskSource`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at Tmds.DBus.Protocol.DBusConnection.CallMethodAsync(MessageBuffer message)
at Tmds.DBus.Protocol.Connection.CallMethodAsync(MessageBuffer message)
--- End of inner exception stack trace ---
Category: Task
File: 1200prc_0.05mm.encrypted.ctb [Version: 5] [Class: CTBEncryptedFile]
Machine date time: 20/12/2024 14:51:51
UTC date time: 20/12/2024 14:51:51
How to reproduce
I struggle to reproduce it, so suspect it may be some sort of a race. When I got this exception I had just reloaded a file and went straight into "Edit print parameters". It works fine now, but on DBus I can still see calls to com.canonical.AppMenu.Registrar and errors in response:
method call time=1734709363.187768 sender=:1.302 -> destination=com.canonical.AppMenu.Registrar serial=295 path=/com/canonical/AppMenu/Registrar; interface=com.canonical.AppMenu.Registrar; member=RegisterWindow
uint32 41943155
object path "/net/avaloniaui/dbusmenu/1032ada03730481484f5810ae4363f30"
error time=1734709363.187791 sender=org.freedesktop.DBus -> destination=:1.302 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=295
string "The name com.canonical.AppMenu.Registrar was not provided by any .service files"
so I'm suspecting that the problem is that for some reason the exception was not caught at that time.