Object Reference getting destroyed in loop
Receiving this error message in the middle of a loop. The instance count is still set before it gets back to the start of the loop.
._SmartKey%WinHllapiAdapter-8CF1B70C9B01A7C\PartialScreen-8CF22671F547EA2%Index%Value Value: 17 Error | 10:25:18.029 AM | 11 | STA | Exception | | | Exception has been thrown by the target of an invocation., Verbose Message: General Information
Diagnostic Info: Diagnostic.FullName: OpenSpan, Version= Proprietary information hidden, Culture=neutral, PublicKeyToken=f5db91edc02d8c5e Diagnostic.AppDomainName: OpenSpan.Runtime.exe Diagnostic.ApplicationName: OpenSpan.Runtime
Exception Information
Receiving this error message in the middle of a loop. The instance count is still set before it gets back to the start of the loop.
._SmartKey%WinHllapiAdapter-8CF1B70C9B01A7C\PartialScreen-8CF22671F547EA2%Index%Value Value: 17 Error | 10:25:18.029 AM | 11 | STA | Exception | | | Exception has been thrown by the target of an invocation., Verbose Message: General Information
Diagnostic Info: Diagnostic.FullName: OpenSpan, Version= Proprietary information hidden, Culture=neutral, PublicKeyToken=f5db91edc02d8c5e Diagnostic.AppDomainName: OpenSpan.Runtime.exe Diagnostic.ApplicationName: OpenSpan.Runtime
Exception Information
1) Exception Information ********************************************* Exception Type: System.Reflection.TargetInvocationException Message: "Exception has been thrown by the target of an invocation." Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items TargetSite: System.Object InvokeMethod(System.Object, System.Object[], System.Signature, Boolean) HelpLink: NULL Source: "mscorlib" HResult: -2146232828
StackTrace Information ********************************************* at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at OpenSpan.Utils.SafeInvokeHelper.Invoke(Object baseInstance, Object instance, MethodInfo methodInfo, Object[] args) at OpenSpan.Automation.EventLink.Execute(Object sender, ExecutionEventArgs e)
2) Exception Information ********************************************* Exception Type: System.NullReferenceException Message: "Object reference not set to an instance of an object." Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items TargetSite: System.String get_Key() HelpLink: NULL Source: "OpenSpan.Adapters" HResult: -2147467261
StackTrace Information ********************************************* at OpenSpan.Adapters.MatchControl.get_Key() at OpenSpan.Adapters.Text.Automation.PartialScreen.GetKeyInstance(String keyName, Object key) at OpenSpan.Automation.ConnectableHost.UpdateKeyContainer(ConnectableHost connectableHost, ExecutionEventArgs executionArgs) at OpenSpan.Automation.ConnectableWorker.DoWork(Object sender, ExecutionEventArgs executionArgs)