Hi,
I want to use the HP printer binding, but always encounter the issue that it doesn’t get after the Initializing phase. See the configuration (I actually didn’t altered anything, just did a scan)
In the openhab.log file I see the following error:
2022-08-27 11:58:59.253 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'hpprinter:printer:HP_Color_LaserJet_Pro_MFP_M177fw_A52190_' to inbox.
2022-08-27 11:59:11.328 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NullPointerException: null
at org.openhab.binding.hpprinter.internal.api.HPProductUsageFeatures.<init>(HPProductUsageFeatures.java:65) ~[?:?]
at org.openhab.binding.hpprinter.internal.api.HPWebServerClient.fetchData(HPWebServerClient.java:110) ~[?:?]
at org.openhab.binding.hpprinter.internal.api.HPWebServerClient.getProductFeatures(HPWebServerClient.java:74) ~[?:?]
at org.openhab.binding.hpprinter.internal.HPPrinterBinder.dynamicallyAddChannels(HPPrinterBinder.java:166) ~[?:?]
at org.openhab.binding.hpprinter.internal.HPPrinterHandler.initializeScheduled(HPPrinterHandler.java:80) ~[?:?]
at org.openhab.binding.hpprinter.internal.HPPrinterHandler.lambda$0(HPPrinterHandler.java:68) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
Can somebody helps me?
Kind regards
Jan