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

Fix NPE on connection close of shutdown connection #812

Closed
mrotteveel opened this issue Jul 7, 2024 · 0 comments
Closed

Fix NPE on connection close of shutdown connection #812

mrotteveel opened this issue Jul 7, 2024 · 0 comments
Assignees
Milestone

Comments

@mrotteveel
Copy link
Member

When a connection is shutdown (e.g. using maintenanceManager.shutdownDatabase(MaintenanceManager.SHUTDOWN_FORCE, 0);), or otherwise produces an exception during some processing done during the close, FBConnection.close() may produce a NullPointerException when calling mc.close(this);, as mc was set to null internally by the exception handler.

This is already fixed in Jaybird 6 by some refactoring done there. Applying the same changes in Jaybird 5 should prevent this issue.

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

No branches or pull requests

1 participant