Ranorex Studio crashes after change in Repository

Bug reports.
Posts: 1
Joined: Fri Feb 26, 2010 8:58 am

Ranorex Studio crashes after change in Repository

Post by saichinger » Fri Feb 26, 2010 9:08 am

What I did:
Changed Propery UseEnsureVisible in e Form and all Subelements of the form in the repository.
After change I dragged the error-window in the screen from left to right.

Ranorex Studio Version :
.NET Version : 2.0.50727.3053
OS Version : Microsoft Windows NT 6.0.6001 Service Pack 1
Current culture : German (Austria) (de-AT)
Current UI language : en-US
Running under WOW6432, processor architecture: AMD64
Terminal Server Session
Working Set Memory : 166396kb
GC Heap Memory : 44313kb

Exception thrown:
System.InvalidOperationException: Invalid Content: ActiveContent must be one of the visible contents, or null if there is no visible content.
at WeifenLuo.WinFormsUI.Docking.DockPane.set_ActiveContent(IDockContent value)
at WeifenLuo.WinFormsUI.Docking.DockPane.ValidateActiveContent()
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.SetDockState(Boolean isHidden, DockState visibleState, DockPane oldPane)
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.set_IsHidden(Boolean value)
at WeifenLuo.WinFormsUI.Docking.DockPane.CloseContent(IDockContent content)
at WeifenLuo.WinFormsUI.Docking.DockPane.CloseActiveContent()
at WeifenLuo.WinFormsUI.Docking.VS2005DockPaneCaption.Close_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.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], [RxObjectRepository], [RxRecorder], [Workflow Foundation Designer], [ElementTree]
Workbench.ActiveContent: ICSharpCode.SharpDevelop.Gui.PropertyPad
ProjectService.OpenSolution: [Solution: FileName=C:\Users\viesaidev\Documents\Autotesting\SalesInProgress\SalesImport.rxsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: SalesImport]

User avatar
Support Team
Site Admin
Site Admin
Posts: 12169
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Ranorex Studio crashes after change in Repository

Post by Support Team » Mon Mar 01, 2010 1:21 pm

That`s a known issue in the current Ranorex version. It`s a bug in the Sharpdevelop core code. It will be fixed in the next Ranorex version.

Best regards,
Ranorex Team