hashmapinc / nifi-opcua-bundle

Apache License 2.0
31 stars 11 forks source link

Not checking for actual data in GetOPCNodeList #13

Closed cherrera2001 closed 6 years ago

cherrera2001 commented 7 years ago

The return value from the stringBuilder from getNamespace on line 178 of GetOPCNodeList is not validated. This will cause null flowfiles to be propagated on the flow. This should be checked and the execution should return with no flow file if the data was not received. A debug message should be logged to the component logger indicating that no response was received from the server, to ensure that we can debug the issue.

ed3766 commented 6 years ago

Added condition statement to handle empty and null return values. Closed with pull request #30