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

[jdbc] Fixed NPE when SQL query failed #11954

Merged
merged 1 commit into from
Jan 4, 2022
Merged

Conversation

cweitkamp
Copy link
Contributor

@cweitkamp cweitkamp commented Jan 4, 2022

  • Fixed NPE when SQL query failed

In case of an error the Yank.queryObjectArrays(..., ...) method returns a null value.

Signed-off-by: Christoph Weitkamp github@christophweitkamp.de

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
@cweitkamp cweitkamp added the bug An unexpected problem or unintended behavior of an add-on label Jan 4, 2022
@cweitkamp cweitkamp requested a review from a team as a code owner January 4, 2022 06:56
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

LGTM

@jlaur jlaur merged commit ef46e12 into openhab:main Jan 4, 2022
@cweitkamp cweitkamp deleted the bugfix-jdbc-npe branch January 4, 2022 10:20
@cweitkamp
Copy link
Contributor Author

@jlaur Thanks for merging. Can you please add the Milestone afterwards. We use this property to identify PRs for automatic generation of our changelogs. Thanks.

@jlaur jlaur added this to the 3.3 milestone Jan 4, 2022
@jlaur
Copy link
Contributor

jlaur commented Jan 4, 2022

@cweitkamp - of course, thanks for reminding me.

mischmidt83 pushed a commit to mischmidt83/openhab-addons that referenced this pull request Jan 9, 2022
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Michael Schmidt <mi.schmidt.83@gmail.com>
moesterheld pushed a commit to moesterheld/openhab-addons that referenced this pull request Jan 18, 2022
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Jan 28, 2022
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this pull request Apr 27, 2022
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
andan67 pushed a commit to andan67/openhab-addons that referenced this pull request Nov 6, 2022
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Nov 12, 2022
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants