Null reference Exception in ListView.InsertItem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm getting an intermittant null reference expception in
ListView.InsertItem. Since the top of the call stack is in winforms
code, I am not able to tell what is actually null. Here's the top of
the stack:

System.NullReferenceException: Object reference not set to an instance
of an object.
at System.Windows.Forms.ListView.InsertItem(Int32 displayIndex,
ListViewItem item)
at System.Windows.Forms.ListViewItemCollection.Add(ListViewItem
value)

Has anyone experienced this before? Any ideas on what might be going
on here?

thanks for any help!
 
Back
Top