8000 Fix NullPointerException in array conversion by ljodal · Pull Request #21 · alaisi/postgres-async-driver · GitHub
[go: up one dir, main page]

Skip to content

Fix NullPointerException in array conversion #21

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

Merged
merged 1 commit into from
Apr 7, 2016
Merged

Fix NullPointerException in array conversion #21

merged 1 commit into from
Apr 7, 2016

Conversation

ljodal
Copy link
Contributor
@ljodal ljodal commented Apr 7, 2016

Row#getArray() on a column where the value is NULL would result in an NullPointerException. I have changed this so it instead returns null. An alternative could be to have a method to check if a column is null.

@alaisi alaisi merged commit d5ed149 into alaisi:master Apr 7, 2016
@alaisi
Copy link
Owner
alaisi commented Apr 7, 2016

Merged, thanks for the contribution!

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
0