Skip to content

[#8304] fix: Possible NPE in LineageService#8997

Merged
justinmclean merged 1 commit intoapache:mainfrom
pandeysambhi:issue/8304
Nov 2, 2025
Merged

[#8304] fix: Possible NPE in LineageService#8997
justinmclean merged 1 commit intoapache:mainfrom
pandeysambhi:issue/8304

Conversation

@pandeysambhi
Copy link
Contributor

What changes were proposed in this pull request?

Add a null check for the argument in dispatchLineageEvent and return false if it is null.

Why are the changes needed?

The method dispatchLineageEvent can throw a NullPointerException if called without proper initialization or with a null argument.

Fix: (#8304 )

Does this PR introduce any user-facing change?

no

How was this patch tested?

unit testing

Copy link
Member

@justinmclean justinmclean left a comment

Choose a reason for hiding this comment

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

thanks for adding teh check

@justinmclean justinmclean merged commit a8c1161 into apache:main Nov 2, 2025
23 checks passed
@pandeysambhi pandeysambhi deleted the issue/8304 branch March 11, 2026 11:34
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.

2 participants