AFObject.FindObject Returns "Index out of range Exception" Some times.
The attribute path i have does exists
i am using RDA SP1 and .Net 4.
Thanks in advance
@Abdul: If you use this method inside a Parallel.For loop with non-thread safe variable you may get problem as you described (I found your issue inside the techsupport database). You would need to either to use a lock on shared variables or use a function delegate to initialize thread-local data (or data manipulated inside your loop). The latter has better performance especially when the number of loops is higher than several thousands.
I have added links here and here on the subject to help you write Parallel.For and Parallel.ForEach logic.
Retrieving data ...