Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-8398 Avoiding NPE in ByteBufferUnmapper#unmap() #8895

Closed
wants to merge 1 commit into from

Conversation

gunnarmorling
Copy link
Contributor

@gunnarmorling gunnarmorling commented Jun 18, 2020

https://issues.apache.org/jira/browse/KAFKA-8398

Regularly seeing this NPE when shutting down the broker in our tests. I think simply returning early in this case should suffice.

Hey @ijuma, could you take a a look at this one perhaps? Thanks!

@gunnarmorling
Copy link
Contributor Author

Hey @rhauch, could you pick up and review this one perhaps? Thanks!

@ijuma
Copy link
Contributor

ijuma commented Jul 6, 2020

Thanks for the PR. This was originally submitted as #7387. I think the approach in that PR is better, so revived it via #8983 (with original authorship preserved).

@gunnarmorling
Copy link
Contributor Author

Makes sense. So I'm going to close this one here, looking forward to the other fix being released soon. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants