AVM Fritz!Box Binding OH2b1 issue

Hello,

I have an issue with the avmfritz Binding in OH2b1. When I configure usernamen/password in PaperUi I get this messege.

Status: OFFLINE - CONFIGURATION_ERROR User smarth has no access to FritzBox home automation functions

The Logfile looks like this:

13:41:56.995 [ERROR] [.callbacks.FritzAhaUpdateXmlCallback] - unexpected element (uri:"", local:“devicelist”). Expected elements are (none)
javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:“devicelist”). Expected elements are (none)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:726)[:1.8.0_45-internal]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:247)[:1.8.0_45-internal]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:242)[:1.8.0_45-internal]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:109)[:1.8.0_45-internal]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1131)[:1.8.0_45-internal]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:556)[:1.8.0_45-internal]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:538)[:1.8.0_45-internal]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:153)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:379)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:605)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3138)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:880)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)[:1.8.0_45-internal]
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)[:1.8.0_45-internal]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:243)[:1.8.0_45-internal]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:214)[:1.8.0_45-internal]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157)[:1.8.0_45-internal]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:214)[:1.8.0_45-internal]
at org.openhab.binding.avmfritz.internal.hardware.callbacks.FritzAhaUpdateXmlCallback.execute(FritzAhaUpdateXmlCallback.java:67)[166:org.openhab.binding.avmfritz:2.0.0.201601131030]
at org.openhab.binding.avmfritz.internal.hardware.FritzahaContentExchange.onComplete(FritzahaContentExchange.java:70)[166:org.openhab.binding.avmfritz:2.0.0.201601131030]
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193)[59:org.eclipse.jetty.client:9.2.10.v20150310]
at org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185)[59:org.eclipse.jetty.client:9.2.10.v20150310]
at org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:485)[59:org.eclipse.jetty.client:9.2.10.v20150310]
at org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:387)[59:org.eclipse.jetty.client:9.2.10.v20150310]
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:262)[59:org.eclipse.jetty.client:9.2.10.v20150310]
at org.eclipse.jetty.http.HttpParser.parseContent(HttpParser.java:1458)[61:org.eclipse.jetty.http:9.2.10.v20150310]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1271)[61:org.eclipse.jetty.http:9.2.10.v20150310]
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:154)[59:org.eclipse.jetty.client:9.2.10.v20150310]
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:117)[59:org.eclipse.jetty.client:9.2.10.v20150310]
at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:69)[59:org.eclipse.jetty.client:9.2.10.v20150310]
at org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:89)[59:org.eclipse.jetty.client:9.2.10.v20150310]
at org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:105)[59:org.eclipse.jetty.client:9.2.10.v20150310]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[62:org.eclipse.jetty.io:9.2.10.v20150310]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[73:org.eclipse.jetty.util:9.2.10.v20150310]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[73:org.eclipse.jetty.util:9.2.10.v20150310]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_45-internal]

When I use the same Username/Password with Openhab Alpha SNAPSHOT from December the FritzBox Binding is working fine. Does anyone have the same problem or an idea?

Looks like the same problem as this.

Is this with OpenJDK or OracleJDK?

openjdk version "1.8.0_66-internal"
OpenJDK Runtime Environment (build 1.8.0_66-internal-b17)
OpenJDK 64-Bit Server VM (build 25.66-b17, mixed mode)

I have Installed the OracleJDK, but I get the same error

java version "1.8.0_66"
Java™ SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot™ 64-Bit Server VM (build 25.66-b17, mixed mode)

Ok, I can reproduce it on OracleJDK as well…

This should be fixed now on the latest build!

I tried the latest build, and it’s looking good.

Thank you

1 Like