Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

[Fix] Nil pointer exception on empty description #189

Merged
merged 2 commits into from
Feb 3, 2022

Conversation

juldrixx
Copy link
Contributor

@juldrixx juldrixx commented Feb 3, 2022

Q A
Bug fix? yes
New feature? no
API breaks? no
Deprecations? no
Related tickets -
License Apache 2.0

What's in this PR?

Improve condition on parameter update checking with the consideration of nil description.

Why?

On some cases, when the description is empty, NiFi will return a null value for the parameter description. This null value will be interpreted as a nil value in the operator. This interpretation makes the operator crash.

Checklist

  • Implementation tested
  • Error handling code meets the guideline
  • Logging code meets the guideline
  • User guide and development docs updated (if needed)
  • Append changelog with changes

@erdrix erdrix merged commit 95d0bec into Orange-OpenSource:master Feb 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants