Skip to content

[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. (Type Variant can not be retrieved as #1058

@azalanono

Description

@azalanono

System

UVtools v5.1.7 X64
Operative system: openSUSE Leap 15.5 X64
Graphic card: nVidiaGeForce 8200
Processor: AMD Phenom(tm) 9650 Quad-Core Processor
Processor cores: 4
Memory RAM: 7.14 / 7.75 GB
Runtime: linux-x64
Framework: .NET 9.0.8
AvaloniaUI: 11.3.3
OpenCV: 4.11.0

Path:       /tmp/.mount_UVtoolQhd01H/usr/bin/
Executable: /tmp/.mount_UVtoolQhd01H/usr/bin/UVtools

Printer and Slicer

  • Printer:
  • Slicer:

Description of the bug

This new version of UV-Tools crashes on startup and shows below error(s).

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. (Type Variant can not be retrieved as Array/Struct.)
 ---> System.InvalidOperationException: Type Variant can not be retrieved as Array/Struct.
   at Tmds.DBus.Protocol.VariantValue.ThrowCannotRetrieveAs(String from, IEnumerable`1 to)
   at Tmds.DBus.Protocol.VariantValue.ThrowCannotRetrieveAs(VariantValueType from, VariantValueType[] to)
   at Tmds.DBus.Protocol.VariantValue.GetItem(Int32 i)
   at Avalonia.FreeDesktop.DBusPlatformSettings.ToAccentColor(VariantValue value)
   at Avalonia.FreeDesktop.DBusPlatformSettings.TryGetAccentColorAsync()
   at Avalonia.FreeDesktop.DBusPlatformSettings.TryGetInitialValuesAsync()
   --- End of inner exception stack trace ---
Category: Task
File: UVtools_demo_file.sl1s  [Version: 0] [Class: SL1File]

Machine date time: 17.08.2025 08:18:00
       UTC date time: 17.08.2025 06:18:00

How to reproduce

I downloaded the AppImage, set it to executable, and attempted to start it.

Files

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions