Hi,
I am facing issue in Ranorex Studio 10.2.2 when trying to open spy window. While opening spy window, unexpected error encountered wizard is opening, there while clicking on details, we are getting this below issue.
System.Reflection.TargetException: Non-static field requires a target.
---STACKTRACE---
System.Reflection.TargetException: Non-static field requires a target.
System.Reflection.RtFieldInfo.CheckConsistency(Object target) +0x59
System.Reflection.RtFieldInfo.InternalGetValue(Object obj,StackCrawlMark& stackMark) +0x77
System.Reflection.RtFieldInfo.GetValue(Object obj) +0x2
Ranorex.Controls.ListViewNF.OnPaintGroupHeaders(Graphics graphics) +0x6e
Ranorex.Controls.ListViewNF.WndProc(Message& m) +0x27
System.Windows.Forms.Control+ControlNativeWindow.OnMessage(Message& m) +0x0
System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message& m) +0x8e
System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam) +0x25
---ORIGINAL STACKTRACE---
System.Reflection.TargetException: Non-static field requires a target.
at System.Reflection.RtFieldInfo.CheckConsistency(Object target)
at System.Reflection.RtFieldInfo.InternalGetValue(Object obj, StackCrawlMark& stackMark)
at System.Reflection.RtFieldInfo.GetValue(Object obj)
at Ranorex.Controls.ListViewNF.OnPaintGroupHeaders(Graphics graphics)
at Ranorex.Controls.ListViewNF.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)
Plz help me how I can resolve the issue.
Thanks