NullReferenceException when using a timeout

Bug reports.
deepblue
Posts: 6
Joined: Fri Jul 02, 2010 11:24 am

NullReferenceException when using a timeout

Post by deepblue » Fri Jul 02, 2010 11:26 am

Hi guys,
I just encountered this exception after adding a timeout in the recorder:

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 Kingdom) (en-GB)
Current UI language : en-US
Working Set Memory : 108792kb
GC Heap Memory : 19904kb

Exception thrown:
System.NullReferenceException: Object reference not set to an instance of an object.
at Ranorex.Addins.RecorderControl.<>c__DisplayClass2.<itemRecorder_SelectedItemsChanged>b__0()

---- 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: Ranorex.Addins.RecorderPrimaryViewContent
ProjectService.OpenSolution: [Solution: FileName=C:\Testing\DTGUI\DTGUI.rxsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: DTGUI]

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

Re: NullReferenceException when using a timeout

Post by Support Team » Fri Jul 02, 2010 1:23 pm

Hi,

We tried to reproduce your error without success. Please can you post us the exact steps to reproduce this error.

Thanks in advance.
Regards,
Peter
Ranorex Support Team
.
Image