ACT.Hojoring icon indicating copy to clipboard operation
ACT.Hojoring copied to clipboard

Unhandled Exception error

Open Navish97 opened this issue 4 years ago • 2 comments

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```

Navish97 avatar Dec 06 '21 14:12 Navish97

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.

wbonbon avatar Dec 07 '21 20:12 wbonbon

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

ghost avatar Dec 08 '21 06:12 ghost