Unnknown exception

Bug reports.
arun_volam
Posts: 17
Joined: Fri Jul 09, 2010 1:40 pm

Unnknown exception

Post by arun_volam » Fri Jul 16, 2010 1:11 pm

Hi ,

when i was adding test cases to one solution i am get error. what is this error and what i have to do.

Ranorex Studio Version : 2.3.1.8466
.NET Version : 2.0.50727.3603
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : English (United States) (en-US)
Working Set Memory : 203236kb
GC Heap Memory : 522517kb

Exception thrown:
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
at System.Convert.ToBase64String(Byte[] inArray, Int32 offset, Int32 length, Base64FormattingOptions options)
at System.Convert.ToBase64String(Byte[] inArray, Base64FormattingOptions options)
at Ranorex.Core.ValueConverter.ToString(Object value)
at Ranorex.Core.Repository.RepositoryEntry.GetXmlNode(XmlNode parent)
at Ranorex.Core.Repository.RepositoryItem.GetXmlNode(XmlNode parent)
at Ranorex.Core.Repository.RepositoryFolder.GetXmlNode(XmlNode parent)
at Ranorex.Core.Repository.RootedRepositoryFolder.GetXmlNode(XmlNode parent)
at Ranorex.Core.Repository.RepositoryAppFolder.GetXmlNode(XmlNode parent)
at Ranorex.Core.Repository.ElementRepository.ToXmlNode()
at Ranorex.Core.Repository.ElementRepository.ToXmlString()
at Ranorex.Controls.RepositoryEditor.<.ctor>b__0(ElementRepository repo)
at Ranorex.Controls.UndoStack`2.UpdateState(T obj)
at Ranorex.Controls.RepositoryEditor.set_Repository(ElementRepository value)
at Ranorex.Controls.ItemRecorder.repositoryEditor_RepositoryChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Ranorex.Controls.RepositoryEditor.OnRepositoryChanged(Boolean doUpdate, Boolean updateUndo)
at Ranorex.Controls.RepositoryEditor.InternExternButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.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.1.8466], [RxObjectRepository 2.3.1.8466], [RxRecorder 2.3.1.8466], [Workflow Foundation Designer 2.3.1.8466], [ElementTree 2.3.1.8466]
Workbench.ActiveContent: Ranorex.Addins.RecorderPrimaryViewContent
ProjectService.OpenSolution: [Solution: FileName=C:\Ranorex_VL\EZPrintsLibrary\EZPrintsLibrary.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: EZPrintsLibrary]

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

Re: Unnknown exception

Post by Support Team » Fri Jul 16, 2010 1:13 pm

Hi,

Please update to the latest version of Ranorex (2.3.3). We improved our memory management.

Regards,
Peter
Ranorex Support Team
.
Image