V
vooose
DataSet.Select(my_query) occasionally gives the following error:
System.NullReferenceException: Object
reference not set to an instance of an object.
at System.Data.Select.FindClosestCandidateIndex()
at System.Data.Select.SelectRows()
at System.Data.DataTable.Select(String filterExpression)
The actual query (my_query) doesnt appear to matter - it gives this
exception no matter what the query. Once I get this error, the DataSet
is seemingly useless. There is other articles relating to this error,
unfortunately none provide a solution. I can't find anything (doc) about
the particular method that is falling over so I'm not even sure where to
start. I *could* as a last resort catch the error and refresh the data
set but thats pretty horrible a soln as the Select is called in many
places. Any ideas appreciated.
System.NullReferenceException: Object
reference not set to an instance of an object.
at System.Data.Select.FindClosestCandidateIndex()
at System.Data.Select.SelectRows()
at System.Data.DataTable.Select(String filterExpression)
The actual query (my_query) doesnt appear to matter - it gives this
exception no matter what the query. Once I get this error, the DataSet
is seemingly useless. There is other articles relating to this error,
unfortunately none provide a solution. I can't find anything (doc) about
the particular method that is falling over so I'm not even sure where to
start. I *could* as a last resort catch the error and refresh the data
set but thats pretty horrible a soln as the Select is called in many
places. Any ideas appreciated.