Skip to content

Conversation

@Gautam-aman
Copy link

Problem

UserAgentProcessor throws a NullPointerException when the configured source field is missing from the event.

Solution

Replaced the implicit NullPointerException with an explicit exception that is handled by existing error logic. This prevents unexpected NPEs while preserving current failure tagging behavior.

Tests

  • Existing tests validated behavior
  • Verified handling when source field is missing

Fixes #6010

…issing

Signed-off-by: Aman Gautam <amangautam2128@gmail.com>
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.

[BUG] User agent processor gives java.lang.NullPointerException if entry does not contain source field

1 participant