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

method Device().getSwichState() gives NPE #32

Open
JunkerMartin opened this issue Nov 22, 2021 · 1 comment
Open

method Device().getSwichState() gives NPE #32

JunkerMartin opened this issue Nov 22, 2021 · 1 comment

Comments

@JunkerMartin
Copy link
Contributor

JunkerMartin commented Nov 22, 2021

The tag-sequence "<switch><state></state>...</switch>" is mapped with the class SwitchState. The object may be null sometimes. The method Device().getSwitchState() currently requires it to be instantiated. Null is checked with SwitchState().isNull().

@JunkerMartin JunkerMartin changed the title method Device().getSwichedState() gives NPE method Device().getSwichState() gives NPE Nov 22, 2021
@TDesjardins
Copy link
Contributor

@JunkerMartin Seems that this is also already fixed:

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

No branches or pull requests

2 participants