I am getting following error randomly/un-evenly while searching a Table with following code.
IQueryFilter2 ipQueryFilter = new QueryFilterClass() { WhereClause = String.Format("TID = {0}", transaction.ObjectID) };
//copy to the related properties table
ICursor pTabCur = ipTable.Search(ipQueryFilter, false);
if (pTabCur == null)
{
continue;
}
IRow ipRow=null;
try
{
ipRow = pTabCur.NextRow();
}
catch (Exception ex)
{
Console.WriteLine("Exception: " + ex.Message);
Console.WriteLine("Exception: " + ex.StackTrace);
ex.Data.Clear();
}
how ever Try..Catch is unable to catch this specific exception, and console application is hanging.
Following are the Version detils
Visual Studio 2012 Pro
ArcGIS Desktop 10.2.1
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0.
I have never come across this issue and this is first time and struck up hear, any suggestions would be great.