Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

OPC UA NullPointer Exception when Node Description is Missing #1713

Closed
tenthe opened this issue Jun 26, 2023 · 0 comments · Fixed by #1714
Closed

OPC UA NullPointer Exception when Node Description is Missing #1713

tenthe opened this issue Jun 26, 2023 · 0 comments · Fixed by #1714
Assignees
Labels
bug Something isn't working connect Related to the `connect` module (adapters)
Milestone

Comments

@tenthe
Copy link
Contributor

tenthe commented Jun 26, 2023

Body

In the new browsing editor, a NullPointer exception occurred when a user selects a node that does not have a configured description. This problem occurs because of the missing description, which leads to unexpected behavior and thus to a runtime error.
The backend code should validate the OPC node information before sending the results to the browser.

StreamPipes Committer

I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.

@tenthe tenthe added bug Something isn't working connect Related to the `connect` module (adapters) labels Jun 26, 2023
@tenthe tenthe added this to the 0.93.0 milestone Jun 26, 2023
@tenthe tenthe self-assigned this Jun 26, 2023
dominikriemer added a commit that referenced this issue Jun 28, 2023
* Add source and server time to metadata (#899)

* Refactor and harmonize OPC adapter and sink

* [#1713] Fix NullPointer in OPC UA browsing. Fix OPC UA demo docker container.

* [#1713] Fix timestamp tests to run independent of time zone

---------

Co-authored-by: Dominik Riemer <dominik.riemer@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working connect Related to the `connect` module (adapters)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant