From: Alexander Muylaert-G. (JIRA) <tr...@fi...> - 2016-02-23 10:43:51
|
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 |