openhab-addons: [smartmeter] Binding causes openHAB to crash
I’ve installed openhab 2.4 stable.
When i define a sml reader thing (smartmeter 2.4 binding) my complete openhab crashes and restarts itself. This happens as long as the thing exists (openhab start -> 30 seconds -> openhab restart). When i delete the smartmeter sml thing everything is fine.
I went back and deleted the new smartmeter binding and installed a jar for openhab 2.3 from marketplace smartmeter binding -> Everything runs smooth with this.
Current Behavior
2018-12-29 17:33:13.058 [WARN ] [ding.smartmeter.internal.MeterDevice] - Failed to read: The source did not signal an event for 30 seconds and has been terminated.. Closing connection and trying again in 2 seconds...; smartmeter:meter:23055963
java.util.concurrent.TimeoutException: The source did not signal an event for 30 seconds and has been terminated.
at io.reactivex.internal.operators.flowable.FlowableTimeoutTimed$TimeoutSubscriber.onTimeout(FlowableTimeoutTimed.java:139) [240:org.openhab.binding.smartmeter:2.4.0]
at io.reactivex.internal.operators.flowable.FlowableTimeoutTimed$TimeoutTask.run(FlowableTimeoutTimed.java:170) [240:org.openhab.binding.smartmeter:2.4.0]
at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:260) [240:org.openhab.binding.smartmeter:2.4.0]
at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:225) [240:org.openhab.binding.smartmeter:2.4.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2018-12-29 17:33:27.620 [WARN ] [org.apache.felix.fileinstall ] - \usr\share\openhab2\addons does not exist, please create it.
2018-12-29 17:33:27.642 [WARN ] [org.apache.felix.fileinstall ] - Root path does not exist: E:\usr\share\openhab2\addons
2018-12-29 17:33:31.799 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2018-12-29 17:33:35.320 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Europe/Berlin'.
Steps to Reproduce (for Bugs)
- Create new Smartmeter thing
Your Environment
- Version used: 2.4 stable
- Windows 10 1809
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 34 (13 by maintainers)
Commits related to this issue
- Fix #4472: Used a Buffered Inputstream Signed-off-by: Matthias Steigenberger <matthias.steigenberger@gmail.com> — committed to msteigenberger/openhab2-addons by msteigenberger 5 years ago
@s4ndst0rm: thanks for confirmation and the good bug report with your support.
@melvinisken: can you please also verify if it’s working for you now?