Ranorex crashes with Unhandled exception
Posted: Thu Feb 28, 2013 8:15 am
SystemInfo:
Ranorex Version: 4.0.2.21666
OS: Windwos server 2008 R2 Standard with SP1 64 bit
Application: GpiRanorexUiTest.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at System.Collections.Generic.GenericArraySortHelper`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].BinarySearch(System.__Canon[], Int32, Int32, System.__Canon, System.Collections.Generic.IComparer`1<System.__Canon>)
at System.Array.BinarySearch[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon[], Int32, Int32, System.__Canon, System.Collections.Generic.IComparer`1<System.__Canon>)
at System.Collections.Generic.SortedList`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].IndexOfKey(System.__Canon)
at System.Collections.Generic.SortedList`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ContainsKey(System.__Canon)
at Ranorex.Core.GlueRuleExecutionState.IsSkipped(Ranorex.Core.LineageGlueRule)
at Ranorex.Core.ElementEngine.ApplyGlueRules(Ranorex.Core.Element, Ranorex.Core.GlueRuleExecutionState)
at Ranorex.Core.ElementEngine.ApplyGlueRules(Ranorex.Core.Element, Ranorex.Core.GlueRuleExecutionState)
at Ranorex.Core.ElementEngine.ApplyGlueRules(Ranorex.Core.Element)
at Ranorex.Core.Element.GetChildren(Ranorex.Core.CacheSession)
at Ranorex.Core.Element.get_Children()
at Ranorex.Core.RxPath.collectAxis(Ranorex.Core.Path.LocationStep, Ranorex.Core.Path.Axis, Ranorex.Core.Element, System.Collections.Generic.IList`1<Ranorex.Core.Element>, Boolean)
at Ranorex.Core.RxPath.ApplyInternal(Ranorex.Core.RxPath, Ranorex.Core.Element, Ranorex.Duration, Boolean)
at Ranorex.Core.Element.TryFindInternal(Ranorex.Core.RxPath, Ranorex.Duration, Boolean, System.Collections.Generic.IList`1<Ranorex.Core.Element> ByRef)
at Ranorex.Core.Repository.RepoItemInfo.Find[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Boolean, Boolean)
at Ranorex.Core.Repository.RepoItemInfo.CreateAdapter[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Boolean)
at Ranorex.Core.Repository.RepoItemInfo.Exists[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon ByRef)
at Ranorex.Core.Repository.RepoItemInfo.Exists()
at GpiRanorexUiTest.Keywords.GenericSteps.GetGpiExceptionDetail()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
Ranorex Version: 4.0.2.21666
OS: Windwos server 2008 R2 Standard with SP1 64 bit
Application: GpiRanorexUiTest.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at System.Collections.Generic.GenericArraySortHelper`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].BinarySearch(System.__Canon[], Int32, Int32, System.__Canon, System.Collections.Generic.IComparer`1<System.__Canon>)
at System.Array.BinarySearch[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon[], Int32, Int32, System.__Canon, System.Collections.Generic.IComparer`1<System.__Canon>)
at System.Collections.Generic.SortedList`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].IndexOfKey(System.__Canon)
at System.Collections.Generic.SortedList`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ContainsKey(System.__Canon)
at Ranorex.Core.GlueRuleExecutionState.IsSkipped(Ranorex.Core.LineageGlueRule)
at Ranorex.Core.ElementEngine.ApplyGlueRules(Ranorex.Core.Element, Ranorex.Core.GlueRuleExecutionState)
at Ranorex.Core.ElementEngine.ApplyGlueRules(Ranorex.Core.Element, Ranorex.Core.GlueRuleExecutionState)
at Ranorex.Core.ElementEngine.ApplyGlueRules(Ranorex.Core.Element)
at Ranorex.Core.Element.GetChildren(Ranorex.Core.CacheSession)
at Ranorex.Core.Element.get_Children()
at Ranorex.Core.RxPath.collectAxis(Ranorex.Core.Path.LocationStep, Ranorex.Core.Path.Axis, Ranorex.Core.Element, System.Collections.Generic.IList`1<Ranorex.Core.Element>, Boolean)
at Ranorex.Core.RxPath.ApplyInternal(Ranorex.Core.RxPath, Ranorex.Core.Element, Ranorex.Duration, Boolean)
at Ranorex.Core.Element.TryFindInternal(Ranorex.Core.RxPath, Ranorex.Duration, Boolean, System.Collections.Generic.IList`1<Ranorex.Core.Element> ByRef)
at Ranorex.Core.Repository.RepoItemInfo.Find[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Boolean, Boolean)
at Ranorex.Core.Repository.RepoItemInfo.CreateAdapter[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](Boolean)
at Ranorex.Core.Repository.RepoItemInfo.Exists[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon ByRef)
at Ranorex.Core.Repository.RepoItemInfo.Exists()
at GpiRanorexUiTest.Keywords.GenericSteps.GetGpiExceptionDetail()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()