Page 1 of 1

ranorex studio crash after undo

Posted: Wed Aug 11, 2010 7:54 am
by hobli
Hi,

Just encounter a crash during editing, after a undo. Below is the details error msg:
Ranorex Studio Version : 2.3.2.8802
.NET Version : 2.0.50727.3053
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : English (United States) (en-US)
Working Set Memory : 106656kb
GC Heap Memory : 27999kb

Exception thrown:
System.InvalidOperationException: No undo group should be open at this point
at ICSharpCode.TextEditor.Undo.UndoStack.AssertNoUndoGroupOpen()
at ICSharpCode.TextEditor.Undo.UndoStack.Undo()
at ICSharpCode.TextEditor.TextEditorControl.Undo()
at ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBindingWrapper.Undo()
at ICSharpCode.SharpDevelop.Commands.Undo.Run()
at ICSharpCode.Core.WinForms.ToolBarCommand.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.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.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)

---- Recent log messages:
Failed to append recent log messages.
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at ICSharpCode.SharpDevelop.Sda.LogMessageRecorder.AppendRecentLogMessages(StringBuilder sb, ILog log)
at ICSharpCode.SharpDevelop.Sda.ExceptionBox.getClipboardString()

---- Post-error application state information:
Installed 3rd party AddIns: [RanorexLogViewer 2.3.2.8802], [RxObjectRepository 2.3.2.8802], [RxRecorder 2.3.2.8802], [Workflow Foundation Designer 2.3.2.8802], [ElementTree 2.3.2.8802]
Workbench.ActiveContent: [TextEditorDisplayBindingWrapper D:\z0021c4y\development\eBusiness\eBiz1.0\automation\Scripts\scriptLib\modPrjLib.vb]
ProjectService.OpenSolution: [Solution: FileName=D:\z0021c4y\development\testProject\testProject.rxsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [VBNetProject: testProject]

Re: ranorex studio crash after undo

Posted: Wed Aug 11, 2010 10:19 am
by Support Team
Hi,

Thanks for posting the bug. This bug occurs in Sharp Develop Studio (Ranorex is based on it). We will merge the new Sharp Develop release in a future release of Ranorex and this bug should be solved.

Regards,
Peter
Ranorex Team