anoyetta / ACT.Hojoring

Advanced Combat Tracker の FFXIV向けプラグインです。トリガ、TTSの拡張、HUDの拡張など。
BSD 3-Clause "New" or "Revised" License
287 stars 68 forks source link

Unhandled Exception error #345

Closed Navish97 closed 10 months ago

Navish97 commented 2 years ago

Updated to the latest Hojoring version a couple hours ago and got an "Unhandled Exception" error. Tried anything from downgrading the ACT Plugin to an earlier version, deleting the /anoyetta/ACT folder, doing a clean plugin install, etc. Is the current version incompatible with the most recent ACT Plugin versions 2.6.2.3 and 2.6.1 or is there a fix to this?


System.InvalidOperationException - The calling thread must be STA, because many UI components require this.
   ved System.Windows.Input.InputManager..ctor()
   ved System.Windows.Input.InputManager.GetCurrentInputManagerImpl()
   ved System.Windows.Input.KeyboardNavigation..ctor()
   ved System.Windows.FrameworkElement.FrameworkServices..ctor()
   ved System.Windows.FrameworkElement.EnsureFrameworkServices()
   ved System.Windows.FrameworkElement..ctor()
   ved System.Windows.Controls.Control..ctor()
   ved System.Windows.Window..ctor()
   ved FFXIV.Framework.WPF.Views.ModernMessageBox..ctor()
   ved FFXIV.Framework.WPF.Views.ModernMessageBox.ShowDialog(String message, String caption, MessageBoxButton button, Exception ex)
   ved ACT.SpecialSpellTimer.PluginCore.<InitPluginCore>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   ved System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   ved System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   ved System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   ved System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   ved System.Threading.ThreadPoolWorkQueue.Dispatch()

System.Windows.Input.InputManager, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35```
wbonbon commented 2 years ago

Are you using ACTWebSocket? Delete ACTWebSocket. Hojoring and ACTWebSocket cannot be used at the same time.

ACTWebSocket is no longer supported. Remove ACTWebSocket as an alternative feature is implemented in ngld/OverlayPlugin/WSServer.

ghost commented 2 years ago

Thank you - I had the same error, and this fixed it for me