Opened 13 years ago
Closed 13 years ago
#1725 closed defect (fixed)
Maestro 3.1 - Turning outbound requests window off causes requests to fail
Reported by: | jbirch | Owned by: | jng |
---|---|---|---|
Priority: | low | Milestone: | Maestro-3.1 |
Component: | Maestro | Version: | |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
This is a weird one...
I got tired of seeing all the HTTP requests scroll by, and turned off the outbound requests window. After doing this, requests like OpenWithXmlEditorCommand time out after waiting for a long time (completely hanging Maestro in the process) with the following exception:
[20 Jun 2011 11:11:02]: Run command Maestro.Base.Commands.SiteExplorer.OpenWithXmlEditorCommand [20 Jun 2011 11:15:45]: [20 Jun 2011 11:15:45]: System.ComponentModel.InvalidAsynchronousStateException: An error occurred invoking the method. The destination thread no longer exists. at System.Windows.Forms.Control.WaitForWaitHandle(WaitHandle waitHandle) at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) at System.Windows.Forms.Control.Invoke(Delegate method) at Maestro.Base.UI.OutboundRequestViewer.OnRequestDispatched(Object sender, RequestEventArgs e) in d:\Workspace\maestro-3.0\Maestro.Base\UI\OutboundRequestViewer.cs:line 67 at OSGeo.MapGuide.MaestroAPI.PlatformConnectionBase.OnRequestDispatched(String data) in d:\Workspace\maestro-3.0\OSGeo.MapGuide.MaestroAPI\PlatformConnectionBase.cs:line 377 at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.LogResponse(HttpWebResponse resp) in d:\Workspace\maestro-3.0\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line 530 at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.OpenRead(String req) in d:\Workspace\maestro-3.0\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line 1235 at OSGeo.MapGuide.MaestroAPI.HttpServerConnection.GetResourceXmlData(String resourceID) in d:\Workspace\maestro-3.0\OSGeo.MapGuide.MaestroAPI.Http\HttpServerConnection.cs:line 413 at OSGeo.MapGuide.MaestroAPI.PlatformConnectionBase.GetResource(String resourceID) in d:\Workspace\maestro-3.0\OSGeo.MapGuide.MaestroAPI\PlatformConnectionBase.cs:line 397 at Maestro.Base.Services.OpenResourceManager.Open(String resourceId, IServerConnection conn, Boolean useXmlEditor, ISiteExplorer siteExp) in d:\Workspace\maestro-3.0\Maestro.Base\Services\OpenResourceManager.cs:line 201 [20 Jun 2011 11:15:45]: Stack trace of last error log: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at ICSharpCode.Core.MessageService.ShowError(Exception ex, String message) at ICSharpCode.Core.MessageService.ShowError(Exception ex) at Maestro.Base.Services.OpenResourceManager.Open(String resourceId, IServerConnection conn, Boolean useXmlEditor, ISiteExplorer siteExp) in d:\Workspace\maestro-3.0\Maestro.Base\Services\OpenResourceManager.cs:line 207 at Maestro.Base.Commands.SiteExplorer.OpenWithXmlEditorCommand.Run() in d:\Workspace\maestro-3.0\Maestro.Base\Commands\SiteExplorer\OpenWithXmlEditorCommand.cs:line 67 at ICSharpCode.Core.WinForms.MenuCommand.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at Maestro.Program.Main() in d:\Workspace\maestro-3.0\Maestro\Program.cs:line 124 [20 Jun 2011 11:15:45]: Loaded assembly: fqclximj
Note:
See TracTickets
for help on using tickets.
Fixed r5937