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

NPE in ZoneTopologyListener.parseConnectedDeviceNames #8

Open
rhierlmeier opened this issue Jan 1, 2021 · 2 comments
Open

NPE in ZoneTopologyListener.parseConnectedDeviceNames #8

rhierlmeier opened this issue Jan 1, 2021 · 2 comments

Comments

@rhierlmeier
Copy link

Exception in thread "Thread-3" java.lang.NullPointerException at com.github.kilianB.sonos.listener.ZoneTopologyListener.parseConnectedDeviceNames(ZoneTopologyListener.java:89) at com.github.kilianB.sonos.listener.ZoneTopologyListener.initialEventReceived(ZoneTopologyListener.java:54) at com.github.kilianB.uPnPClient.UPnPDevice.parseUPnPEvent(UPnPDevice.java:543) at com.github.kilianB.uPnPClient.UPnPDevice.lambda$new$1(UPnPDevice.java:456) at java.base/java.lang.Thread.run(Thread.java:834)

@KilianB
Copy link
Owner

KilianB commented Jan 1, 2021

List<Element> zoneGroups = property.getChild("ZoneGroups").getChildren("ZoneGroup");

Could you please print out the upnp event and property this is happening for?

@rhierlmeier
Copy link
Author

Sorry I cannot repoduce the problem. It happened in a docker container. The upnp event came from a Sonos One.

gquerret added a commit to gquerret/Java-Sonos-Controller that referenced this issue May 2, 2021
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