Crash at "Project -> Add -> Add Existing..."

Bug reports.
Posts: 1
Joined: Wed Sep 09, 2009 8:52 am

Crash at "Project -> Add -> Add Existing..."

Post by armkri » Wed Sep 09, 2009 8:57 am

The following crash happens when clicking on Project -> Add -> Add Existing Item...
This crash is reproducible!

Ranorex Studio Version :
.NET Version : 2.0.50727.3082
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : German (Austria) (de-AT)
Current UI language : de-DE
Working Set Memory : 91700kb
GC Heap Memory : 18587kb

Exception thrown:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei ICSharpCode.SharpDevelop.Project.Commands.AddExistingItemsToProject.Run()
bei ICSharpCode.Core.WinForms.MenuCommand.OnClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
bei System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
bei System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

---- Recent log messages:
Failed to append recent log messages.
System.InvalidOperationException: Die Sequenz enthält keine Elemente.
bei System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
bei ICSharpCode.SharpDevelop.Sda.LogMessageRecorder.AppendRecentLogMessages(StringBuilder sb, ILog log)
bei 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: ClassDiagramAddin.ClassDiagramViewContent
ProjectService.OpenSolution: [Solution: FileName=C:\Dokumente und Einstellungen\akrieg\Eigene Dateien\RanorexStudio Projects\IFM_GUI_Tests\IFM_GUI_Tests.rxsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: IFM_GUI_Tests]

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

Re: Crash at "Project -> Add -> Add Existing..."

Post by Support Team » Wed Sep 09, 2009 9:46 am

Hi armkri,
it seems to happen when starting studio and the project browser tab insn`t visible at the first time.
We will fix it until next release!
Thank you for helping us to improve Ranorex.

Best regards,
Support TEam