DMX binding stops working

Hi all

I have an issue with DMX binding, it has worked fine but stopped now… As far as I know I didn’t change anything related to DMX or the system core in general. The only things I did was adding robonect binding, add some rules and configured the KNX autoupdate stuff as I had this well known resend problem…

I use openhab2 stable 2.1 @Raspberry3 with included DMX binding-dmx1 - 1.10.0. When I try to switch on a DMX lamp (over Artnet Bridge) nothing happend. I checked configuration and have seen the binding is not installed (no idea why… I didn’t remove it…). I tried to install the binding again and from this point openhab2 is generating exceptions with no end. It loooks like it tries to connect the Artnet-Gateway several times in a second. The error messages look like the Artnet Gateway is not reachable, but that is not the case. I tested it with a Artnet Software, no problem at all. But there are also error messages regarding the binding installation…
Furthermore when the binding is installed I can’t add new things, no DMX menu at all. However in “bindings” it looks like the binding is installed correct. The things are still there on PaperUI, also my two Artnet Bridges configured (Universe 0 & 1). I can edit those, but IP will not show up, only name and location. All other options are not visible.

Here the log:

2017-08-14 17:27:38.065 [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:792)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:318)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.container.Module.doStart(Module.java:571)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.container.Module.start(Module.java:439)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.container.ModuleContainer.applyDelta(ModuleContainer.java:717)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:491)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:437)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.container.ModuleContainer.refresh(ModuleContainer.java:955)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1336)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
Caused by: java.lang.LinkageError: ClassCastException: attempting to castbundleresource://21.fwk6090461/javax/ws/rs/ext/RuntimeDelegate.class to bundleresource://21.fwk6090461/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.<clinit>(SseFeature.java:62)
	at org.eclipse.smarthome.io.rest.sse.internal.SseActivator.start(SseActivator.java:44)
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_121]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
	... 14 more
2017-08-14 17:27:39.249 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-08-14 17:27:39.751 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-08-14 17:27:39.911 [INFO ] [ulation.internal.HueEmulationServlet] - Started Hue Emulation service at /api
2017-08-14 17:27:40.140 [ERROR] [ding.dmx.internal.core.DmxController] - No DMX connection available. Please provide a bundle which implements the connection.
2017-08-14 17:27:40.175 [ERROR] [ding.dmx.internal.core.DmxController] - No DMX connection available. Please provide a bundle which implements the connection.
2017-08-14 17:27:40.209 [ERROR] [ding.dmx.internal.core.DmxController] - No DMX connection available. Please provide a bundle which implements the connection.
2017-08-14 17:27:40.241 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-dmx1': Error restarting bundles
2017-08-14 17:27:40.355 [ERROR] [ola.rpc.StreamRpcChannel            ] - Error connecting to 172.16.100.223:6454. Make sure the olad daemon is running.
2017-08-14 17:27:40.359 [ERROR] [ding.dmx.internal.core.DmxController] - Error opening DMX connection.
java.lang.Exception: Error connecting to 172.16.100.223:6454. Make sure the olad daemon is running.
	at ola.rpc.StreamRpcChannel.connect(StreamRpcChannel.java:76)[231:org.openhab.binding.dmx:1.10.0]
	at ola.OlaClient.connect(OlaClient.java:72)[231:org.openhab.binding.dmx:1.10.0]
	at org.openhab.binding.dmx.ola.OlaConnection.open(OlaConnection.java:53)[231:org.openhab.binding.dmx:1.10.0]
	at org.openhab.binding.dmx.internal.core.DmxController.getConnection(DmxController.java:259)[231:org.openhab.binding.dmx:1.10.0]
	at org.openhab.binding.dmx.internal.core.DmxTransmitter.run(DmxTransmitter.java:97)[231:org.openhab.binding.dmx:1.10.0]
	at java.util.TimerThread.mainLoop(Timer.java:555)[:1.8.0_121]
	at java.util.TimerThread.run(Timer.java:505)[:1.8.0_121]
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.net.PlainSocketImpl.socketConnect(Native Method)[:1.8.0_121]
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)[:1.8.0_121]
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[:1.8.0_121]
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[:1.8.0_121]
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[:1.8.0_121]
	at java.net.Socket.connect(Socket.java:589)[:1.8.0_121]
	at java.net.Socket.connect(Socket.java:538)[:1.8.0_121]
	at java.net.Socket.<init>(Socket.java:434)[:1.8.0_121]
	at java.net.Socket.<init>(Socket.java:211)[:1.8.0_121]
	at ola.rpc.StreamRpcChannel.connect(StreamRpcChannel.java:70)[231:org.openhab.binding.dmx:1.10.0]
	... 6 more

Any idea what I can do?

Thanks,
Regards,
Mike

Hi,

I reverted to Version 1.8.3 and it works fine.

Thanks, for your feedback. The problem is still present, but not urgent as Artnet is used for the garden and pool :wink:

I will upgrade to 2.2 very soon, when I catched that right there is an update on the DMX binding. Probably it works better…

Just download the old versions from the openhab homepage. No need to change anything.
With the OH2 Binding lots of things are better! Upgrade is worth it but I am still waiting until I have the EasyRule support for OH2 done.