Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rare null reference exception in OnRemoteEventCounts [DNET669] #623

Closed
firebird-automations opened this issue Feb 23, 2016 · 4 comments
Closed

Comments

@firebird-automations
Copy link

Submitted by: Alexander Muylaert-Gelein (gonline)

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

Commits: f810989

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Provide a full call stack. Just to make sure we're not looking at wrong code.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => In Progress [ 3 ]

@firebird-automations
Copy link
Author

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: In Progress [ 3 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: vNext [ 10782 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants