Closed gowi closed 6 years ago
Yes, indeed. FRITZ!OS Version 6.60 doesn't return a value for the recently introduced device_locked
channel. This feature is only available with newer firmware. I guess we have to implement a fix to be backward compatible in such case.
PR #2907
I'm having the same error with a FRITZ!Box 6360 Cable - Firmware 6.54 with firmware updates controlled and performed by the network operator. So backward compatibility would be highly appreciated.
2017-12-03 16:17:52.767 [ERROR] [.binding.avmfritz.handler.BoxHandler] - null java.lang.NullPointerException: null at org.openhab.binding.avmfritz.handler.BoxHandler.updateThingFromDevice(BoxHandler.java:176) [187:org.openhab.binding.avmfritz:2.2.0.201711040020] at org.openhab.binding.avmfritz.handler.BoxHandler.addDeviceList(BoxHandler.java:144) [187:org.openhab.binding.avmfritz:2.2.0.201711040020] at org.openhab.binding.avmfritz.internal.hardware.callbacks.FritzAhaUpdateXmlCallback.execute(FritzAhaUpdateXmlCallback.java:64) [187:org.openhab.binding.avmfritz:2.2.0.201711040020] at org.openhab.binding.avmfritz.internal.hardware.FritzahaContentExchange.onComplete(FritzahaContentExchange.java:71) [187:org.openhab.binding.avmfritz:2.2.0.201711040020] at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193) [74:org.eclipse.jetty.client:9.3.14.v20161028] at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185) [74:org.eclipse.jetty.client:9.3.14.v20161028] at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:458) [74:org.eclipse.jetty.client:9.3.14.v20161028] at org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:405) [74:org.eclipse.jetty.client:9.3.14.v20161028] at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:270) [74:org.eclipse.jetty.client:9.3.14.v20161028] at org.eclipse.jetty.http.HttpParser.parseContent(HttpParser.java:1602) [76:org.eclipse.jetty.http:9.3.14.v20161028] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1335) [76:org.eclipse.jetty.http:9.3.14.v20161028] at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:159) [74:org.eclipse.jetty.client:9.3.14.v20161028] at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:120) [74:org.eclipse.jetty.client:9.3.14.v20161028] at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:70) [74:org.eclipse.jetty.client:9.3.14.v20161028] at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:90) [74:org.eclipse.jetty.client:9.3.14.v20161028] at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:115) [74:org.eclipse.jetty.client:9.3.14.v20161028] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) [77:org.eclipse.jetty.io:9.3.14.v20161028] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [77:org.eclipse.jetty.io:9.3.14.v20161028] at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [77:org.eclipse.jetty.io:9.3.14.v20161028] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [88:org.eclipse.jetty.util:9.3.14.v20161028] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [88:org.eclipse.jetty.util:9.3.14.v20161028] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [88:org.eclipse.jetty.util:9.3.14.v20161028] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [88:org.eclipse.jetty.util:9.3.14.v20161028] at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [88:org.eclipse.jetty.util:9.3.14.v20161028] at java.lang.Thread.run(Thread.java:748) [?:?]
PR #2907 was merged yesterday. Should be available in the latest OH2 snapshot #1108.
👍 Fix worked for me - NPE is gone. Greetings.
Same here
Hi, I'm using the avmfritz addon with openHAB 2.2.0 Build #1099, Fritz Box 7490 (firmware 6.60), FRITZ!Powerline 546E and FRITZ!DECT 200. I've added the things via Paper UI. In the log, I get the following error:
Any ideas?