Skip to content

Fix npe in context bridging#18444

Merged
trask merged 1 commit into
open-telemetry:mainfrom
laurit:context-npe
May 4, 2026
Merged

Fix npe in context bridging#18444
trask merged 1 commit into
open-telemetry:mainfrom
laurit:context-npe

Conversation

@laurit

@laurit laurit commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Hopefully resolves #16342

Ran into this while debugging a kotlin issue where the problematic call originated from

Context agentContext = ContextExtensionsKt.getOpenTelemetryContext(coroutineContext);
return AgentContextStorage.toApplicationContext(agentContext);

How exactly it happens in #16342 is still a mystery.

@laurit laurit requested a review from a team as a code owner April 30, 2026 12:00
@trask trask merged commit f1bdfdf into open-telemetry:main May 4, 2026
93 checks passed
@dtaveras

dtaveras commented May 7, 2026

Copy link
Copy Markdown

@laurit @trask When will this fix be backported to for example the 2.23 release? We have an application where we are seeing the same issue and want to know when the fix will be published.

@trask

trask commented May 7, 2026

Copy link
Copy Markdown
Member

hi @dtaveras! this will be included in our next monthly release, which is scheduled for end of next week.

@laurit laurit deleted the context-npe branch May 7, 2026 15:28
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.

JDBC instrumentation NullPointerException for TRUNCATE

3 participants