Unhandled exception popup

Bug reports.
syuhada
Posts: 28
Joined: Mon Sep 20, 2010 7:56 am

Unhandled exception popup

Post by syuhada » Wed Feb 16, 2011 6:34 am

Ranorex Studio Version : 2.3.8.10854
.NET Version : 2.0.50727.3615
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : English (United States) (en-US)
Working Set Memory : 577824kb
GC Heap Memory : 265709kb

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.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength)
at System.Text.StringBuilder.Append(Char value)
at Ranorex.Core.FastXml.XmlNode.PrintNode(StringBuilder text, XmlNode node, String indent)
at Ranorex.Core.FastXml.XmlNode.PrintNode(StringBuilder text, XmlNode node, String indent)
at Ranorex.Core.FastXml.XmlNode.PrintNode(StringBuilder text, XmlNode node, String indent)
at Ranorex.Core.FastXml.XmlNode.PrintNode(StringBuilder text, XmlNode node, String indent)
at Ranorex.Core.FastXml.XmlNode.PrintNode(StringBuilder text, XmlNode node, String indent)
at Ranorex.Core.FastXml.XmlNode.ToXmlString()
at Ranorex.Core.Repository.ElementRepository.CreateMemento()
at Ranorex.Core.Repository.ElementRepository.ComputeChangeStateHash()
at Ranorex.Core.Repository.ElementRepository.get_IsDirty()
at Ranorex.Controls.ItemRecorder.get_IsDirty()
at Ranorex.Controls.ItemRecorder.OnRecordingChanged(Boolean updateUndo)
at Ranorex.Controls.ItemRecorder.UpdateListFromRecordTable(Boolean causeOnRecordingChanged)
at Ranorex.Controls.ItemRecorder.lvItems_DoubleClick(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
at System.Windows.Forms.ListView.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: [RxLogViewer 2.3.8.10854], [RxObjectRepository 2.3.8.10854], [RxRecorder 2.3.8.10854], [Workflow Foundation Designer 2.3.8.10854], [ElementTree 2.3.8.10854]
Workbench.ActiveContent: Ranorex.Addins.RecorderPrimaryViewContent
ProjectService.OpenSolution: [Solution: FileName=T:\IntegrationTest\InfrastudioQA\InfrastudioQA.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: InfraStudioQA.BasicTest.Sequencer]

Description:
This exception occurs when add/edit recording to old solution.I have thousands of recordings.

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

Re: Unhandled exception popup

Post by Support Team » Wed Feb 16, 2011 7:46 am

Hi,

First thank you for posting the bug. Would it be possible to post us a short description how we can reproduce this memory exception? Are you working with Image Based Automation and you have a lot of images inside the repository?

Regards,
Peter
Ranorex Team
.
Image

syuhada
Posts: 28
Joined: Mon Sep 20, 2010 7:56 am

Re: Unhandled exception popup

Post by syuhada » Thu Feb 17, 2011 8:16 am

This exception occurs when i editing my old recording. I have a few recording that have image inside . Sometimes this exception also happen on my project that have no image based record.

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

Re: Unhandled exception popup

Post by Support Team » Thu Feb 17, 2011 10:10 am

Hi,

Please post me the filesize (Mega Byte) of your Repository and Recordings. How many images are inside the Repository? Maybe it is possible to send or post us the project?

Thanks in advance.

Regards,
Peter
Ranorex Team
.
Image