dorkbox / SystemTray

Cross-platform SystemTray support for Swing/AWT, macOS, GtkStatusIcon, and AppIndicator on Java 8+
Other
430 stars 58 forks source link

ErrorCode: 0x80004005 #122

Closed CampeloMarcos closed 1 year ago

CampeloMarcos commented 4 years ago

Hello,

I need to start my application with the windows service. I am using apache daemeon to create this service. However I get the following error: 2020-05-06 12: 24: 58.734 ERROR 16940 --- [main] dorkbox.systemTray.SystemTray: Error showing tray. ErrorCode: 0x80004005 [Unspecified error] 2020-05-06 12: 24: 58.736 ERROR 16940 --- [main] dorkbox.systemTray.SystemTray: Error setting the image for the tray. ErrorCode: 0x80004005 [Unspecified error] 2020-05-06 12: 24: 58.740 INFO 16940 --- [main] dorkbox.systemTray.SystemTray: Successfully loaded 2020-05-06 12: 24: 58.756 ERROR 16940 --- [main] dorkbox.systemTray.SystemTray: Error setting the image for the tray. ErrorCode: 0x80004005 [Unspecified error] 2020-05-06 12: 24: 58.757 WARN 16940 --- [main] dorkbox.systemTray.SystemTray: Please disable tooltips, as they are not consistent across all platforms and tray types.

Note: running .jar with a double click, SystemTray is loaded normally.

dorkbox commented 3 years ago

I'm not sure what is causing this issue, but if there is a fix, I'm interested in what that is.