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

fix NullReferenceException #335

Merged
merged 1 commit into from May 5, 2019

Conversation

@leisurelyclouds
Copy link
Contributor

commented May 1, 2019

在启用 CapBeforePublish 后 发送消息时会导致空引用异常

when DiagnosticListener enabled, publish message will cause null reference exception

Call Stack:
TracingHeaders.GetEnumerator
TracingHeaders.IEnumerable.GetEnumerator
ToJObject
Helper.AddTracingHeaderProperty
BasePublishMessageSender.SendWithoutRetryAsync
BasePublishMessageSender.SendAsync
NeedRetryMessageProcessor.ProcessPublishedAsync
NeedRetryMessageProcessor.ProcessAsync
BasePublishMessageSender.SendWithoutRetryAsync
BasePublishMessageSender.SendAsync

@yang-xiaodong yang-xiaodong merged commit e8931b3 into dotnetcore:master May 5, 2019

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@yang-xiaodong

This comment has been minimized.

Copy link
Member

commented May 5, 2019

I got the exception, thanks for your PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.