Invalid cross-thread access

jamie94bc

Posted on
Oct 19 2013

Please check which thread the bug reporter is on before sending the exception!

This would mean this data needs to be created when the client is.

Exception stack trace below.

   at MS.Internal.XcpImports.CheckThread()
   at MS.Internal.XcpImports.Application_GetVisualRoot()
   at System.Windows.Application.get_RootVisual()
   at Mindscape.Raygun4Net.Messages.RaygunEnvironmentMessage..ctor()
   at Mindscape.Raygun4Net.RaygunMessageBuilder.SetEnvironmentDetails()
   at Mindscape.Raygun4Net.RaygunClient.CreateMessage(Exception exception, IList`1 tags, IDictionary userCustomData)
   at Mindscape.Raygun4Net.RaygunClient.Send(Exception exception, IList`1 tags, IDictionary userCustomData, Boolean calledFromUnhandled)
   at Mindscape.Raygun4Net.RaygunClient.Send(Exception exception, IList`1 tags)

John-Daniel Trask

Raygun

Posted on
Oct 29 2013

Hello Jamie

Thanks for bringing this to our attention. The Windows Phone Raygun provider has been updated to resolve this threading issue. This is available right now in GitHub and will be uploaded to NuGet later this week.


Reply