HentschelT / openhab2-addons

The next-generation open Home Automation Bus (openHAB)
Eclipse Public License 1.0
9 stars 3 forks source link

[Eagle200] connection to Eagle200 caused error #26

Open jswim788 opened 5 years ago

jswim788 commented 5 years ago

Every night at about 3:09 AM, I see this in the log. No other issue, just this warning. Possibly the Eagle 200 is doing some sort of update at this time and responds differently? I wonder if the prolog message is telling us the problem? Perhaps the binding could handle this more gracefully?

2019-03-18 03:09:00.414 [WARN ] [agle200.handler.Eagle200MeterHandler] - connection to Eagle200 caused error com.thoughtworks.xstream.io.StreamException: at com.thoughtworks.xstream.io.xml.StaxReader.pullNextEvent(StaxReader.java:73) ~[238:org.openhab.binding.eagle200:0.0.7.201807012222] at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148) ~[238:org.openhab.binding.eagle200:0.0.7.201807012222] at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:141) ~[238:org.openhab.binding.eagle200:0.0.7.201807012222] at com.thoughtworks.xstream.io.xml.AbstractPullReader.move(AbstractPullReader.java:118) ~[238:org.openhab.binding.eagle200:0.0.7.201807012222] at com.thoughtworks.xstream.io.xml.AbstractPullReader.moveDown(AbstractPullReader.java:103) ~[238:org.openhab.binding.eagle200:0.0.7.201807012222] at com.thoughtworks.xstream.io.xml.StaxReader.(StaxReader.java:45) ~[238:org.openhab.binding.eagle200:0.0.7.201807012222] at com.thoughtworks.xstream.io.xml.StaxDriver.createStaxReader(StaxDriver.java:173) ~[238:org.openhab.binding.eagle200:0.0.7.201807012222] at com.thoughtworks.xstream.io.xml.StaxDriver.createReader(StaxDriver.java:92) ~[238:org.openhab.binding.eagle200:0.0.7.201807012222] at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1337) ~[238:org.openhab.binding.eagle200:0.0.7.201807012222] at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1328) ~[238:org.openhab.binding.eagle200:0.0.7.201807012222] at org.openhab.binding.eagle200.handler.Eagle200Connection.queryMeter(Eagle200Connection.java:112) ~[238:org.openhab.binding.eagle200:0.0.7.201807012222] at org.openhab.binding.eagle200.handler.Eagle200MeterHandler$1.run(Eagle200MeterHandler.java:73) [238:org.openhab.binding.eagle200:0.0.7.201807012222] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:604) ~[?:?] at com.thoughtworks.xstream.io.xml.StaxReader.pullNextEvent(StaxReader.java:58) ~[?:?] ... 18 more