NullReferenceException when using a timeout

Bug reports.
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 :
.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], [RxObjectRepository], [RxRecorder], [Workflow Foundation Designer], [ElementTree]
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: 12169
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: NullReferenceException when using a timeout

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


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

Thanks in advance.
Ranorex Support Team