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 NPE in RocketMQ instrumentation #4901

Merged
merged 4 commits into from
Dec 16, 2021

Conversation

mateuszrzeszutek
Copy link
Member

Fixes #4899

I couldn't really reproduce that issue (we're already testing async calls), perhaps it only affects some versions?
Anyway, I've added several nullchecks to all places that seemed suspicious.

@trask trask merged commit e8e6813 into open-telemetry:main Dec 16, 2021
@mateuszrzeszutek mateuszrzeszutek deleted the rocketmq-npe branch December 16, 2021 08:59
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
* Fix NPE in RocketMQ instrumentation

* fix tests

* add exception

* Changed the condition a bit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RocketMQ send message async cause the NullPointerException
4 participants