Skip to content

Conversation

@mp911de
Copy link
Member

@mp911de mp911de commented Oct 27, 2025

When completing a MongoObservation without a parent observation, we now remove the parent observation key from the request context instead of setting it to null.

In reactive usage, the context map is a ConcurrentHashMap that does not allow null values.

Closes #5082

Copy link

@cweissbon cweissbon left a comment

Choose a reason for hiding this comment

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

lgtm

@mp911de mp911de removed the type: bug A general bug label Oct 27, 2025
When completing a MongoObservation without a parent observation, we now remove the parent observation key from the request context instead of setting it to null.

In reactive usage, the context map is a ConcurrentHashMap that does not allow null values.
Remove BDD comments.

Original pull request #5083
See #5082
Copy link
Contributor

@schauder schauder left a comment

Choose a reason for hiding this comment

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

The test doesn't seem to reproduce the underlying issue.

Let me know if you want me to look into this.

Clean up residual observations after tests.
schauder pushed a commit that referenced this pull request Oct 30, 2025
When completing a MongoObservation without a parent observation, we now remove the parent observation key from the request context instead of setting it to null.

In reactive usage, the context map is a ConcurrentHashMap that does not allow null values.

Closes #5082
Original pull request #5083
schauder pushed a commit that referenced this pull request Oct 30, 2025
Clean up residual observations after tests.

See #5082
Original pull request #5083
schauder added a commit that referenced this pull request Oct 30, 2025
Remove BDD comments.
Minor formatting.

Original pull request #5083
See #5082
schauder pushed a commit that referenced this pull request Oct 30, 2025
When completing a MongoObservation without a parent observation, we now remove the parent observation key from the request context instead of setting it to null.

In reactive usage, the context map is a ConcurrentHashMap that does not allow null values.

Closes #5082
Original pull request #5083
schauder pushed a commit that referenced this pull request Oct 30, 2025
Clean up residual observations after tests.

See #5082
Original pull request #5083
schauder added a commit that referenced this pull request Oct 30, 2025
Remove BDD comments.
Minor formatting.

Original pull request #5083
See #5082
schauder pushed a commit that referenced this pull request Oct 30, 2025
When completing a MongoObservation without a parent observation, we now remove the parent observation key from the request context instead of setting it to null.

In reactive usage, the context map is a ConcurrentHashMap that does not allow null values.

Closes #5082
Original pull request #5083
schauder pushed a commit that referenced this pull request Oct 30, 2025
Clean up residual observations after tests.

See #5082
Original pull request #5083
schauder added a commit that referenced this pull request Oct 30, 2025
Remove BDD comments.
Minor formatting.

Original pull request #5083
See #5082
@schauder
Copy link
Contributor

Thanks, this is merged and ported back to supported OSS versions.

@schauder schauder closed this Oct 30, 2025
@mp911de mp911de deleted the issue/5082 branch October 30, 2025 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: regression A regression from a previous release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reactive observation without parent fails with NullPointerException during completion

5 participants