Hi, Im new to this and have downloaded openhab 3. Can this Binding be used in 3 and if so, how do I get it to pick it up. I have copied the Jar file into the addons folder, but cant seem to get 3 to pick it up ? Thanks
Hi. I have done that and saved it in the addons folder. It isnt appearing in the existing bindings or those that can be added. I did say I was a beginner, is there something else I need to do ?
OK, added again and got the following in the log:-
2021-01-18 20:37:56.027 [WARN ] [ig.xml.osgi.XmlDocumentBundleTracker] - The XML document ‘/OH-INF/thing/d21.xml’ in module ‘org.openhab.binding.lightwaverf’ could not be parsed:
com.thoughtworks.xstream.io.StreamException:
at com.thoughtworks.xstream.io.xml.StaxDriver.createReader(StaxDriver.java:124) ~[bundleFile:1.4.13]
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1334) ~[bundleFile:1.4.13]
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1288) ~[bundleFile:1.4.13]
at org.openhab.core.config.xml.util.XmlDocumentReader.readFromXML(XmlDocumentReader.java:106) ~[bundleFile:?]
at org.openhab.core.config.xml.osgi.XmlDocumentBundleTracker.parseDocuments(XmlDocumentBundleTracker.java:396) [bundleFile:?]
at org.openhab.core.config.xml.osgi.XmlDocumentBundleTracker.processBundle(XmlDocumentBundleTracker.java:382) [bundleFile:?]
at org.openhab.core.config.xml.osgi.XmlDocumentBundleTracker$2.run(XmlDocumentBundleTracker.java:347) [bundleFile:?]
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:834) [?:?]
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:240) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.<init>(XMLStreamReaderImpl.java:210) ~[?:?]
at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:143) ~[?:?]
at com.thoughtworks.xstream.io.xml.StaxDriver.createParser(StaxDriver.java:234) ~[bundleFile:1.4.13]
at com.thoughtworks.xstream.io.xml.StaxDriver.createReader(StaxDriver.java:110) ~[bundleFile:1.4.13]
... 12 more
at org.eclipse.osgi.storage.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.enrichExceptionWithBaseFile(ZipBundleEntry.java:190) ~[org.eclipse.osgi-3.12.100.jar:?]
at org.eclipse.osgi.storage.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:153) ~[org.eclipse.osgi-3.12.100.jar:?]
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.readAndBuffer(XMLEntityManager.java:3026) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:704) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1398) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:1349) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:256) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:225) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.<init>(XMLStreamReaderImpl.java:210) ~[?:?]
at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:143) ~[?:?]
at com.thoughtworks.xstream.io.xml.StaxDriver.createParser(StaxDriver.java:234) ~[bundleFile:1.4.13]
at com.thoughtworks.xstream.io.xml.StaxDriver.createReader(StaxDriver.java:110) ~[bundleFile:1.4.13]
... 12 more
Caused by: java.io.IOException: Stream closed
at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:68) ~[?:?]
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:122) ~[?:?]
at java.io.FilterInputStream.read(FilterInputStream.java:83) ~[?:?]
at org.eclipse.osgi.storage.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:151) ~[org.eclipse.osgi-3.12.100.jar:?]
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.readAndBuffer(XMLEntityManager.java:3026) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:704) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1398) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:1349) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:256) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:225) ~[?:?]
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.<init>(XMLStreamReaderImpl.java:210) ~[?:?]
at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:143) ~[?:?]
at com.thoughtworks.xstream.io.xml.StaxDriver.createParser(StaxDriver.java:234) ~[bundleFile:1.4.13]
at com.thoughtworks.xstream.io.xml.StaxDriver.createReader(StaxDriver.java:110) ~[bundleFile:1.4.13]
... 12 more