[SOLVED] Failed installing 'openhab-binding-networkhealth1' Error

Hello all,

I’m running openhabian on an RPi2. I’ve recently updated system and dependencies using sudo openhabain-config and have ran into some problems.

Watching the log I see a restart of Basic UI and more about every minute. I believe it’s because of 'Failed installing ‘openhab-binding-networkhealth1’ but I can’t be sure.

I haven’t removed any bindings and would even reinstall it to fix this (if I knew how).

Log snippet:

2017-12-29 10:56:04.123 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-12-29 10:56:04.441 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-12-29 10:56:04.598 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-12-29 10:56:04.631 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-binding-networkhealth1’: Error restarting bundles:
Exception in org.eclipse.smarthome.io.rest.sse.internal.SseActivator.start() of bundle org.eclipse.smarthome.io.rest.sse.
2017-12-29 10:56:59.868 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2017-12-29 10:56:59.908 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet
2017-12-29 10:56:59.976 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2017-12-29 10:57:03.941 [ERROR] [org.eclipse.smarthome.io.rest.sse ] - FrameworkEvent ERROR - org.eclipse.smarthome.io.rest.sse
org.osgi.framework.BundleException: Exception in org.eclipse.smarthome.io.rest.sse.internal.SseActivator.start() of bundle org.eclipse.smarthome.io.rest.sse.
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:795) [?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724) [?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932) [?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309) [?:?]
at org.eclipse.osgi.container.Module.doStart(Module.java:581) [?:?]
at org.eclipse.osgi.container.Module.start(Module.java:449) [?:?]
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470) [?:?]
at org.eclipse.osgi.container.ModuleContainer.start(ModuleContainer.java:736) [?:?]
at org.eclipse.osgi.container.ModuleContainer.applyDelta(ModuleContainer.java:727) [?:?]
at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:497) [?:?]
at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:443) [?:?]
at org.eclipse.osgi.container.ModuleContainer.refresh(ModuleContainer.java:987) [?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1368) [?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1) [?:?]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
Caused by: java.lang.LinkageError: ClassCastException: attempting to castbundleresource://34.fwk20003941/javax/ws/rs/ext/RuntimeDelegate.class to bundleresource://34.fwk20003941/javax/ws/rs/ext/RuntimeDelegate.class
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:146) ~[?:?]
at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:120) ~[?:?]
at javax.ws.rs.core.MediaType.valueOf(MediaType.java:179) ~[?:?]
at org.glassfish.jersey.media.sse.SseFeature.(SseFeature.java:62) ~[?:?]
at org.eclipse.smarthome.io.rest.sse.internal.SseActivator.start(SseActivator.java:49) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767) ~[?:?]
… 15 more
2017-12-29 10:57:04.502 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-12-29 10:57:04.672 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-12-29 10:57:04.843 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-12-29 10:57:04.867 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-binding-networkhealth1’: Error restarting bundles:
Exception in org.eclipse.smarthome.io.rest.sse.internal.SseActivator.start() of bundle org.eclipse.smarthome.io.rest.sse.
2017-12-29 10:57:58.370 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2017-12-29 10:57:58.426 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet
2017-12-29 10:57:58.536 [INFO ] [basic.internal.servlet.WebAppServlet] - Stopped Basic UI
2017-12-29 10:58:00.710 [ERROR] [org.eclipse.smarthome.io.rest.sse ] - FrameworkEvent ERROR - org.eclipse.smarthome.io.rest.sse
org.osgi.framework.BundleException: Exception in org.eclipse.smarthome.io.rest.sse.internal.SseActivator.start() of bundle org.eclipse.smarthome.io.rest.sse.

This has been going of for the past 48hrs about every minute.

Any suggestions?

UPDATE: Hmm, I’ve just noticed that in PaperUI I must have inadvertently turned off ‘Include Legacy 1.x Bindings’.

I have re-enabled this and rebooted and after 5mins I’m semi-stable again.

I don’t use Network Health anymore and I don’t believe I use and 1.x bindings so must I leave this on?

Thanks.

1 Like