Pane bug

Bug reports.
cool-RR
Posts: 4
Joined: Wed Mar 24, 2010 3:51 pm

Pane bug

Post by cool-RR » Sun Apr 04, 2010 10:47 am

This happened while playing with the panes, docking and undocking them:

Ranorex Studio Version : 2.2.2.7850
.NET Version : 2.0.50727.3053
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : Hebrew (Israel) (he-IL)
Current UI language : en-US
Working Set Memory : 91540kb
GC Heap Memory : 19239kb

Unhandled exception terminated the workbench
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_Pane(DockPane value)
at WeifenLuo.WinFormsUI.Docking.DockPane.SetVisibleContentsToPane(DockPane pane, IDockContent activeContent)
at WeifenLuo.WinFormsUI.Docking.DockPane.DockTo(INestedPanesContainer container, DockPane previousPane, DockAlignment alignment, Double proportion)
at WeifenLuo.WinFormsUI.Docking.FloatWindow.MergeNestedPanes(VisibleNestedPaneCollection nestedPanesFrom, NestedPaneCollection nestedPanesTo, DockPane prevPane, DockAlignment alignment, Double proportion)
at WeifenLuo.WinFormsUI.Docking.FloatWindow.DockTo(DockPanel panel, DockStyle dockStyle)
at WeifenLuo.WinFormsUI.Docking.DockPanel.DockDragHandler.EndDrag(Boolean abort)
at WeifenLuo.WinFormsUI.Docking.DockPanel.DockDragHandler.OnEndDrag(Boolean abort)
at WeifenLuo.WinFormsUI.Docking.DockPanel.DragHandlerBase.EndDrag(Boolean abort)
at WeifenLuo.WinFormsUI.Docking.DockPanel.DragHandlerBase.System.Windows.Forms.IMessageFilter.PreFilterMessage(Message& m)
at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(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 ICSharpCode.SharpDevelop.Commands.StartWorkbenchCommand.Run(IList`1 fileList)
at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)

---- 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.2.2.7850], [RxObjectRepository 2.2.2.7850], [RxRecorder 2.2.2.7850], [Workflow Foundation Designer 2.2.2.7850], [ElementTree 2.2.2.7850]
ProjectService.OpenSolution: <null>
ProjectService.CurrentProject: <null>

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Pane bug

Post by Support Team » Tue Apr 06, 2010 12:10 pm

Hi,

thanks for posting the bug. This bug will be fixed in Ranorex 2.3.

Regards,
Peter
Ranorex Support Team
.
Image