Problems using AVMFritz binding - same error message flooding logfile

I enabled the AVM Fritz binding and configured some items according the documentation.
But then I checked the logfile, which is full with the same errors.
Any ideas, how to find (and solve) the problem?

AVM FritzBox 7490, latest FritzOS 6.93 firmware, 6 Eurotronic Comet DECT thermostats, 4 DECT 200 and also two Powerline 546e.

“2017-03-23 14:53:15.896 [ERROR] [nding.avmfritz.handler.DeviceHandler] -
java.lang.NullPointerException
at org.openhab.binding.avmfritz.handler.DeviceHandler.addDeviceList(DeviceHandler.java:186)[237:org.openhab.binding.avmfritz:2.0.0]
at org.openhab.binding.avmfritz.internal.hardware.callbacks.FritzAhaUpdateXmlCallback.execute(FritzAhaUpdateXmlCallback.java:70)[237:org.openhab.binding.avmfritz:2.0.0]
at org.openhab.binding.avmfritz.internal.hardware.FritzahaContentExchange.onComplete(FritzahaContentExchange.java:71)[237:org.openhab.binding.avmfritz:2.0.0]
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193)[69:org.eclipse.jetty.client:9.2.19.v20160908]
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185)[69:org.eclipse.jetty.client:9.2.19.v20160908]
at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:453)[69:org.eclipse.jetty.client:9.2.19.v20160908]
at org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:400)[69:org.eclipse.jetty.client:9.2.19.v20160908]
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:266)[69:org.eclipse.jetty.client:9.2.19.v20160908]
at org.eclipse.jetty.http.HttpParser.parseContent(HttpParser.java:1487)[71:org.eclipse.jetty.http:9.2.19.v20160908]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1245)[71:org.eclipse.jetty.http:9.2.19.v20160908]
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:156)[69:org.eclipse.jetty.client:9.2.19.v20160908]
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:117)[69:org.eclipse.jetty.client:9.2.19.v20160908]
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:69)[69:org.eclipse.jetty.client:9.2.19.v20160908]
at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:89)[69:org.eclipse.jetty.client:9.2.19.v20160908]
at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:123)[69:org.eclipse.jetty.client:9.2.19.v20160908]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[72:org.eclipse.jetty.io:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[83:org.eclipse.jetty.util:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[83:org.eclipse.jetty.util:9.2.19.v20160908]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]”

Hi RolandS,

this NPE is thrown at a line of code which is responsible for updating the temperature channel of one device. Did you link the temperature channel for all of your devices?

Yes, I use the temperature of the DECT200 switches - and it is also read out correctly from Fritzbox and shown in the UI

Ok, what about the Powerline devices? Do they support temperature readings too?

No, the powerline has no temperature sensor.
At the moment I disabled all items for this AVMFritz binding and restartet openhab2 - but the error still appears in the log.

Now I will try to simplifiy the items and sitemap and remove all except the AVMFritz binding to find out whats going on here

Okay, I think I’ve found the problem.
After installing the AVMFritz Binding two new things were found automatically - once the FritzBox itself, the second is the Powerline 546e adapter. After Adding the FritzBox, configuring login all my DECt 200 switches and the powerline 546e was found. And the logfile still looked fine without these ugly NPE.
Then I added the Powerline adapter which was found as second thing by the binding, configured the login and then the logile showed the NPE again.
So now I will roll back my former setup and remove the “second” powerline thing, which is even not needed, because I enabled the “share smart home function in home network” (“Smart-Home-Funktion im FRITZ!Box-Heimnetz freigeben”) in the Fritzbox and the Powerline adapter - so the powerline switch infos can be accessed also from the FritzBox.

Thanks for your help! :slight_smile:

You are welcome. Feel free to ask again if you have any questions.