kaklakariada / fritzbox-java-api

Java API for managing FritzBox HomeAutomation
GNU General Public License v3.0
20 stars 13 forks source link

NoSuchElementException if getswitchlist is empty #55

Open dabari opened 1 year ago

dabari commented 1 year ago

scanner.next() throws NoSuchElementException if the getswitchlist-result is empty.

grafik

https://github.com/kaklakariada/fritzbox-java-api/blob/6e89250f1f7247b82f9d0ad0fc19936fc65dc69d/src/main/java/com/github/kaklakariada/fritzbox/mapping/Deserializer.java#L80