Error during converting from C# to VB .Net

Bug reports.
Thor
Posts: 4
Joined: Thu Nov 12, 2009 2:39 pm

Error during converting from C# to VB .Net

Post by Thor » Thu Nov 12, 2009 2:43 pm

Hello! I'm considering chosing Ranorex as my company's tool for software testing, and have downloaded the trial version. I've done the calculator example from the help file, and I was looking around on the drop down menus when I found Project -> Convert -> Convert from C# to VB .Net. As we are using Visual Basic this looked like a nice feature, so I clicked it, but then got this error message:

Ranorex Studio Version : 2.1.4.6779
.NET Version : 2.0.50727.4927
OS Version : Microsoft Windows NT 6.1.7600.0
Current culture : Norwegian, Bokmål (Norway) (nb-NO)
Current UI language : en-US
Running under WOW6432, processor architecture: AMD64
Working Set Memory : 181956kb
GC Heap Memory : 23361kb

Exception thrown:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index
at System.Windows.Forms.TreeNodeCollection.get_Item(Int32 index)
at ICSharpCode.SharpDevelop.Project.ProjectBrowserControl.get_RootNode()
at ICSharpCode.SharpDevelop.Project.ProjectBrowserPanel.get_RootNode()
at ICSharpCode.SharpDevelop.Project.Converter.LanguageConverter.Run()
at ICSharpCode.Core.WinForms.MenuCommand.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
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.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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:\Users\ERLENDG.INTERN\Documents\RanorexStudio Projects\Kalkulator2\Kalkulator2.rxsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: Kalkulator2]

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

Re: Error during converting from C# to VB .Net

Post by Support Team » Fri Nov 13, 2009 12:19 pm

Thank you for reporting the bug. We will have it fixed in the next maintenance release.

Regards,
Ron
Ranorex Team
.
Image