Hi guys,
One of our users had a crash when he went to open quote entry, and again when he tried order entry (not sure if from menu, favorite, or recents link). It worked after an Epicor restart, but I’m curious what the error message means, and root cause of the crash?
I’m learning as much as possible about trouble shooting, since random things happen all the time.
Thanks!
Here’s the message he received:
Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
Application Error
Exception caught in: System.Windows.Forms
Error Detail
============
Message: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
Program: System.Windows.Forms.dll
Method: MarshaledInvoke
Client Stack Trace
==================
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
at IceShell.WinformsManager.ShowWinForm(WinformApp winBaseApp, Boolean reActivate)
at IceShell.WinformApp..ctor(Object appData, Shell shellApp, BaseApp callingApp, Boolean isSelected)
at IceShell.Shell.LoadWinApp(String key, String addl, Object appData, BaseApp callingApp, Boolean isSelected)
at IceShell.WinformsManager.DisplayWinFormBaseApp(IStackableForm form, BaseApp callingApp, Object winAppData, Boolean isSelected)
at IceShell.WinformsManager.LaunchWinFormHostApp(BaseApp callingApp, DataRow menuRow, Boolean isSelected, String companyID, String appserverUrl, XmlDocument shortcutDoc, String plantID, Object lfo)
at IceShell.Tile.openLink(String linkType, String path, String company, String appserver, Object lfo)
at IceShell.Tile.handleLinkTileClick(Object sender, InputEventArgs e)
at IceShell.Tile.tileClicked(Object sender, InputEventArgs e)
at IceShell.Tile.Click(InputEventArgs e)
at IceShell.Tile.Tile_Click(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)