[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: 调用线程必须为 STA,因为许多 UI 组件都需要。
at System.Windows.Input.InputManager..ctor()
at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()
at Eto.Wpf.Forms.KeyboardHandler.get_Modifiers() in D:\BuildAgent\work\dujour\src4\DotNetSDK\Eto\src\Eto.Wpf\Forms\KeyboardHandler.cs:line 136
at Grasshopper2.UI.Tooltip.Frame.TimerOnElapsed(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
— End of stack trace from previous location —
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
[END ERROR]
Hi Alan,
Please run SystemInfo in your Rhino command line and post the results. Further context of how you ran into the error would be helpful as well. Thanks!