crash, null reference exception when attempting to playback.

Bug reports.
guy
Posts: 1
Joined: Wed Apr 01, 2009 8:58 pm

crash, null reference exception when attempting to playback.

Post by guy » Wed Apr 01, 2009 9:06 pm

Ranorex Studio Version : 2.0.1.5691
.NET Version : 2.0.50727.3082
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : English (United States) (en-US)
Working Set Memory : 52972kb
GC Heap Memory : 25313kb

Exception thrown:
System.NullReferenceException: Object reference not set to an instance of an object.
at ICSharpCode.SharpDevelop.OpenedFile.SaveToDisk()
at ICSharpCode.SharpDevelop.FileServiceOpenedFile.SaveToDisk()
at Ranorex.Addins.RecorderPrimaryViewContent.<.ctor>b__0(Object , EventArgs )
at Ranorex.Controls.ItemRecorder.PlayAll()
at Ranorex.Controls.ItemRecorder.imageButtonPlay_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
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.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.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, Enabled=True, Action=Enable], [RxObjectRepository, Enabled=True, Action=Enable], [RxRecorder, Enabled=True, Action=Enable], [Workflow Foundation Designer, Enabled=True, Action=Enable], [ElementTree, Enabled=True, Action=Enable]
Workbench.ActiveContent: Ranorex.Addins.RecorderPrimaryViewContent
ProjectService.OpenSolution: [Solution: FileName=C:\source\OCC\src\test\Ranorex\OCC_Dialog_Automation.rxsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: OCC_Dialog_Automation]

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Post by Support Team » Thu Apr 02, 2009 8:57 am

Could you send to support a copy of the project so that i can try to identify the source of the problem?

Ron
Ranorex Support Team