Bug During Tutorial

Bug reports.
cstodgell
Posts: 1
Joined: Fri Nov 14, 2008 9:01 pm

Bug During Tutorial

Post by cstodgell » Fri Nov 14, 2008 9:04 pm

I was following the steps outlined in your tutorial for Version 2.0 found at:

http://www.ranorex.com/support/user-gui ... order.html

After step 9 exception was thrown :(

Ranorex Studio Version : 2.0.0.4593
.NET Version : 2.0.50727.1433
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 3
Current culture : English (Canada) (en-CA)
Current UI language : en-US
Working Set Memory : 60012kb
GC Heap Memory : 41864kb

Exception thrown:
System.ArgumentNullException: Value cannot be null.
Parameter name: context
at Debugger.Expressions.Expression.Evaluate(StackFrame context)
at Debugger.Expressions.Expression.Evaluate(Process context)
at Debugger.AddIn.TreeModel.ValueNode.Create(Expression expression)
at ICSharpCode.SharpDevelop.Services.DebugeeExceptionForm.Show(Process process, String title, String message, Bitmap icon, Boolean canContinue)
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: ICSharpCode.SharpDevelop.Gui.CompilerMessageView
ProjectService.OpenSolution: [Solution: FileName=\\sbcma150\cstodgell$\RanorexStudio Projects\CalcTest\CalcTest.rxsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: CalcTest]

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 » Mon Nov 17, 2008 1:01 pm

Hi,

At first view it seems to me that debugging the project causes the exception.
Have you tried to rebuild (Build | Rebuild Solution) your project before starting the executable with the 'Play' button? Can you reproduce this situation?

regards,

Christoph
Ranorex Support Team