rare null reference exception in OnRemoteEventCounts ----------------------------------------------------
Key: DNET-669 URL: http://tracker.firebirdsql.org/browse/DNET-669 Project: .NET Data provider Issue Type: Bug Affects Versions: 4.10.0.0 Reporter: Alexander Muylaert-Gelein Assignee: Jiri Cincura Hi Jiri@Jira On rare occasions we found a null reference exception log inside our exception system. During the FbRemoveEnvet.OnRemoveEventCounts it fails somewhere. I've checked the code and the only place I can see failing is if (RemoteEventCounts != null) { _synchronizationContext.Send(_ => { RemoteEventCounts(this, args); }, null); } how about rewriting that to var evt = RemoveEventCounts; if (evt != null){ _SynchronizeContext.Send( _ => evt(this, args)); } I'll try to include the pdb file with the exe to help you out. thanks a -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider