Unhandled exception in V2 RC1

Bug reports.
dharrison_ch
Posts: 2
Joined: Wed Jan 28, 2009 4:12 pm
Location: SwissRe, Zurich, Switzerland

Unhandled exception in V2 RC1

Post by dharrison_ch » Wed Jan 28, 2009 4:15 pm

Hi Team,
saw this unhandled exception today...
---------------------------------------------------------

Ranorex Studio Version : 2.0.0.5219
.NET Version : 2.0.50727.3053
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 2
Current culture : German (Switzerland) (de-CH)
Current UI language : en-US
Working Set Memory : 68852kb
GC Heap Memory : 19667kb

Exception thrown:
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at Debugger.Thread.GetStackTrace(String formatSymbols, String formatNoSymbols)
at ICSharpCode.SharpDevelop.Services.WindowsDebugger.debuggedProcess_ExceptionThrown(Object sender, ExceptionEventArgs e)
at Debugger.Process.OnExceptionThrown(ExceptionEventArgs e)
at Debugger.Process.RaisePausedEvents()
at Debugger.Interop.MTA2STA.<>c__DisplayClass3.<EnqueueCall>b__0()
at Debugger.Interop.MTA2STA.PerformCall()
at Debugger.Interop.MTA2STA.PerformAllCalls()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

---- 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:
Workbench.ActiveContent: [TextEditorDisplayBindingWrapper W:\BGPC-Projects\RF\01 - RF SDC 2007\04 QA\01 SDC 2008\03 SDC 2.0\2.0.3.17\2.0.3.17\files\SDCV2RanorexConsoleApp\Program.cs]
ProjectService.OpenSolution: [Solution: FileName=W:\BGPC-Projects\RF\01 - RF SDC 2007\04 QA\01 SDC 2008\03 SDC 2.0\2.0.3.17\2.0.3.17\files\SDCV2RanorexConsoleApp.rxsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: SDCV2RanorexConsoleApp]


---------------------------------------------------------
regards
dharrison_ch
QA/Test Manager

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 » Wed Jan 28, 2009 5:07 pm

Thx for reporting this error. This is a bug in Ranorex RC1 and will be fixed in the next Ranorex release.

Regards,
Alex
Ranorex Support Team

anujakulkarni
Posts: 29
Joined: Wed Jan 07, 2009 1:15 pm

Post by anujakulkarni » Tue Feb 10, 2009 2:34 pm

Hi,

Go the same exception today.

Ranorex Studio Version : 2.0.0.5219
.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
Terminal Server Session
Working Set Memory : 89884kb
GC Heap Memory : 24426kb

Exception thrown:
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at Debugger.Thread.GetStackTrace(String formatSymbols, String formatNoSymbols)
at ICSharpCode.SharpDevelop.Services.WindowsDebugger.debuggedProcess_ExceptionThrown(Object sender, ExceptionEventArgs e)
at Debugger.Process.OnExceptionThrown(ExceptionEventArgs e)
at Debugger.Process.RaisePausedEvents()
at Debugger.Interop.MTA2STA.<>c__DisplayClass3.<EnqueueCall>b__0()
at Debugger.Interop.MTA2STA.PerformCall()
at Debugger.Interop.MTA2STA.PerformAllCalls()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

---- 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:
Workbench.ActiveContent: [TextEditorDisplayBindingWrapper D:\Projects\ACS\Ranorex Projects\ACBS2201\ACBS2201\Program.cs]
ProjectService.OpenSolution: [Solution: FileName=D:\Projects\ACS\Ranorex Projects\ACBS2201\ACBS2201.rxsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: ACBS2201]

Is it fixed in the latest build?

Cheers,

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 » Tue Feb 10, 2009 3:02 pm

Yes, it's fixed in the V2.0 release.

Regards,
Alex
Ranorex Support Team