Skip to content

Fix npe in apache http client 4.0 instrumentation - #4913

Merged
trask merged 1 commit into
open-telemetry:mainfrom
laurit:apache-http-client-4.0-npe
Dec 16, 2021
Merged

Fix npe in apache http client 4.0 instrumentation#4913
trask merged 1 commit into
open-telemetry:mainfrom
laurit:apache-http-client-4.0-npe

Conversation

@laurit

@laurit laurit commented Dec 15, 2021

Copy link
Copy Markdown
Contributor

NPE is logged when running some apache http client 4.0 tests. For example trace request with callback and parent in ApacheClientHostAbsoluteUriRequest.

@trask trask left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how did this ever work?!??

@laurit

laurit commented Dec 15, 2021

Copy link
Copy Markdown
Contributor Author

how did this ever work?!??

the method with broken instrumentation chains to another execute method that has working instrumentation

@trask
trask merged commit 98d3f88 into open-telemetry:main Dec 16, 2021
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
@laurit
laurit deleted the apache-http-client-4.0-npe branch July 6, 2023 17:44
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.

3 participants