Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
636
NullPointer Exception on row-click
posted

Hi,

If we have a user click like crazy on a xamGrid row, we get the following exception:

System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Windows.Threading.DispatcherOperation.Invoke()        

That's the entirety of the stack.  This makes it a little hard to deal with, account for.  Any suggestions?

Mike

Parents
  • 28407
    posted

    HI Mike,

     Since the error shows up in  System.Windows.Threading, it looks like some sort of race condition.

     What does clicking like crazy mean?  Is anything on the UI accessed from another thread?

     Are you creating a thread each time the row is clicked?

     Can you provide  a small isolated sample that replicates this issue?

     Sincerely,
     Matt
     Developer Support Engineer

     

     

Reply Children
No Data