rtuck99 / openhab-binding

OpenHAB Bindings for Viessmann and Glowmarkt APIs
Eclipse Public License 2.0
8 stars 3 forks source link

solar power production array unit missing prevents device being populated #58

Open rtuck99 opened 1 year ago

rtuck99 commented 1 year ago

Solar.json causes the following

java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonElement.getAsString()" because the return value of "com.google.gson.JsonObject.get(String)" is null at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonElement.getAsString()" because the return value of "com.google.gson.JsonObject.get(String)" is null at com.qubular.vicare.internal.VicareServiceImpl$FeatureDeserializer.lambda$deserialize$4(VicareServiceImpl.java:457) ~[?:?] at java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Collectors.java:180) ~[?:?]