Homematic binding - GATEWAY-EXTRAS missing

Hi,
after change to the snapshot branch, the thing GATEWAY-EXTRAS is not longer existent. I tried several things like uninstall/install binding…
Any ideas.

Christian

On my system I’ve the same problem. As far as I can see all homematic devices are found and shown but the gateway-extras isn’t visible.
I use version 2.1.0, just added the most current snapshot jar file (Build #947 (12.06.2017 23:14:13) ) from CloudBees. Don’t know if that should work if I had installed it via PaperUI’s add-on section before.

Stefan

Forgot to mention that I’ve found the following exception in the logfiles. Don’t know if it is related but to be sure:

2017-06-13 12:20:00.322 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-LC-Sw1PBU-FM:xxxxxxxx:CUXxxxxxxx’ to inbox.
2017-06-13 12:20:00.369 [ERROR] [very.HomematicDeviceDiscoveryService] - java.lang.String cannot be cast to java.util.Map
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at org.openhab.binding.homematic.internal.communicator.parser.GetParamsetDescriptionParser.parse(GetParamsetDescriptionParser.java:41)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.client.RpcClient.addChannelDatapoints(RpcClient.java:150)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.CcuGateway.addChannelDatapoints(CcuGateway.java:168)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway.loadAllDeviceMetadata(AbstractHomematicGateway.java:407)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.discovery.HomematicDeviceDiscoveryService$1.run(HomematicDeviceDiscoveryService.java:110)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
2017-06-13 12:20:39.953 [WARN ] [ommunicator.parser.GetParamsetParser] - Can’t set value for datapoint ‘LABxxxxxxx:1#NEXT_TRANSMISSION’

Stefan, can you create an issue in the github repo? This seems to be a bug in the binding. Please add some information about the Homematic configuration.

Martin

@MHerbst

Sorry for the delayed answer. Sure I’ll do this instantly. What details do you Need about my homematic cfg? Devices? Network or the configuration in openhab?

Stefan

Most important information information are whether you are using a CCU (incl. version) or Homegear. And please add the item and sitemap definition for the thing that causes the problem.

I just upgraded my OH2 installation to test this issue. Now I’m on Build #947. For me the GATEWAY-EXTRAS thing is still present and online:

homematic:GATEWAY-EXTRAS-CCU:ccu:GWE00000000 (Type=Thing, Status=ONLINE, Label=null, Bridge=homematic:bridge:ccu)

Openhab talks to a CCU with firmware version 2.15.5. My things are configured textually. Maybe that’s the reason my GATEWAY-EXTRAS are still present.

This could probably bypass @DoerrSt 's problem. But this exception is a bit strange. I have tested the latest Snapshot with several Homematic devices without problems. But I don’t have the one that seems to cause the problem.

For the record: I don’t have any such exception either even though I have 7 devices of the same type as the one in the log directly before the exception.

@DoerrSt my HM-LC-Bl1PBU-FM don’t have a #NEXT_TRANSMISSION Datapoint. Is that last line of your log from such a device?

Just saw there are some errors following:

2017-06-13 14:13:39.954 [ERROR] [nternal.DiscoveryServiceRegistryImpl] - Cannot trigger scan for thing types ‘[homematic:-]’ on ‘HomematicDeviceDiscoveryService’!
java.lang.NullPointerException
at org.openhab.binding.homematic.discovery.HomematicDeviceDiscoveryService.stopScan(HomematicDeviceDiscoveryService.java:77)
at org.eclipse.smarthome.config.discovery.AbstractDiscoveryService.startScan(AbstractDiscoveryService.java:173)
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:382)
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScans(DiscoveryServiceRegistryImpl.java:358)
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:216)
at org.eclipse.smarthome.io.rest.core.discovery.DiscoveryResource.scan(DiscoveryResource.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_121]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[158:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[158:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[158:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[158:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[158:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[158:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[156:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[156:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[156:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[156:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[156:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76)[10:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[82:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)[82:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)[173:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[80:org.eclipse.jetty.security:9.2.19.v20160908]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)[173:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[82:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[173:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.Server.handle(Server.java:499)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[72:org.eclipse.jetty.io:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[84:org.eclipse.jetty.util:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[84:org.eclipse.jetty.util:9.2.19.v20160908]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]

2017-06-13 14:13:48.624 [ERROR] [very.HomematicDeviceDiscoveryService] - java.lang.String cannot be cast to java.util.Map
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at org.openhab.binding.homematic.internal.communicator.parser.GetParamsetDescriptionParser.parse(GetParamsetDescriptionParser.java:41)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.client.RpcClient.addChannelDatapoints(RpcClient.java:150)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.CcuGateway.addChannelDatapoints(CcuGateway.java:168)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway.loadAllDeviceMetadata(AbstractHomematicGateway.java:407)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.discovery.HomematicDeviceDiscoveryService$1.run(HomematicDeviceDiscoveryService.java:110)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
2017-06-13 14:16:57.884 [WARN ] [ommunicator.parser.GetParamsetParser] - Can’t set value for datapoint ‘LABxxxxxxx:1#NEXT_TRANSMISSION’

Perhaps that helps?

What type of device is that with serial LABxxxxx? (assuming you censored the rest of the serial with “xxxxx”.

Yes, I censored the rest of the serial with xxxxxxxx (don’t know if this makes sense…). The device is a motion detector with light intensity measurement.

I added the same homematic bridge again with another device and did a tail to the openhab-log. This time I got the following output but still no gateway-extras. 34 things have been added to the inbox

2017-06-14 22:28:55.846 [ERROR] [nternal.DiscoveryServiceRegistryImpl] - Cannot trigger scan for thing types ‘[homematic:-]’ on ‘HomematicDeviceDiscoveryService’!
java.lang.NullPointerException
at org.openhab.binding.homematic.discovery.HomematicDeviceDiscoveryService.stopScan(HomematicDeviceDiscoveryService.java:77)
at org.eclipse.smarthome.config.discovery.AbstractDiscoveryService.startScan(AbstractDiscoveryService.java:173)
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:382)
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScans(DiscoveryServiceRegistryImpl.java:358)
at org.eclipse.smarthome.config.discovery.internal.DiscoveryServiceRegistryImpl.startScan(DiscoveryServiceRegistryImpl.java:216)
at org.eclipse.smarthome.io.rest.core.discovery.DiscoveryResource.scan(DiscoveryResource.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_121]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[158:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[158:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[158:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[158:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[158:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[158:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[159:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[156:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[156:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[156:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[156:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[156:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76)[10:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[82:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)[82:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)[173:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[80:org.eclipse.jetty.security:9.2.19.v20160908]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)[173:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[82:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[173:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.Server.handle(Server.java:499)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[81:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[72:org.eclipse.jetty.io:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[84:org.eclipse.jetty.util:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[84:org.eclipse.jetty.util:9.2.19.v20160908]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
2017-06-14 22:29:05.616 [ERROR] [very.HomematicDeviceDiscoveryService] - java.lang.String cannot be cast to java.util.Map
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at org.openhab.binding.homematic.internal.communicator.parser.GetParamsetDescriptionParser.parse(GetParamsetDescriptionParser.java:41)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.client.RpcClient.addChannelDatapoints(RpcClient.java:150)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.CcuGateway.addChannelDatapoints(CcuGateway.java:168)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway.loadAllDeviceMetadata(AbstractHomematicGateway.java:407)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.discovery.HomematicDeviceDiscoveryService$1.run(HomematicDeviceDiscoveryService.java:110)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
2017-06-14 22:30:05.908 [INFO ] [ternal.communicator.client.RpcClient] - Interface ‘WIRED’ on gateway ‘ccu2’ not available, disabling support
2017-06-14 22:30:05.991 [INFO ] [ommunicator.AbstractHomematicGateway] - HmGatewayInfo[id=CCU,type=CCU2,firmware=2.27.8,address=LEQ0586037,wired=false,hmip=true,cuxd=true,group=true]
2017-06-14 22:30:17.423 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-LC-Sw1-FM:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:17.577 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-CC-RT-DN:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:17.645 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-SD:ccu2:LEQxxxxxxx’ to inbox.
2017-06-14 22:30:17.666 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-WDS30-T-O:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:17.668 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-CC-RT-DN:ccu2:xxxxxxx’ to inbox.
2017-06-14 22:30:17.755 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-SCo:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:17.801 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-SCo:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:17.818 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-RCV-50:ccu2:BidCoS-RF’ to inbox.
2017-06-14 22:30:17.841 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-CC-RT-DN:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:17.848 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-SD:ccu2:LEQxxxxxxx’ to inbox.
2017-06-14 22:30:18.152 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-MDIR-2:ccu2:LABxxxxxxx’ to inbox.
2017-06-14 22:30:18.198 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-SD:ccu2:LEQxxxxxxx’ to inbox.
2017-06-14 22:30:18.832 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-Key:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:20.305 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-ES-PMSw1-Pl:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:20.657 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-RC-Key4-2:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:20.692 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-SD-Team:ccu2:T-LEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.002 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-ES-TX-WM:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.042 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-SwI-3-FM:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.054 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-ES-PMSw1-Pl:ccu2:LEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.059 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-SCo:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.368 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-LC-Bl1-FM:ccu2:NEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.401 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-CC-RT-DN:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.418 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-RC-Key4-2:ccu2:LEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.426 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-CC-RT-DN:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.435 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-SD:ccu2:LEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.443 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-SD:ccu2:LEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.451 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-SCo:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.459 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-SD:ccu2:LEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.468 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-CC-RT-DN:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.625 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-OU-CF-Pl:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.635 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-ES-PMSw1-Pl:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.643 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-CC-RT-DN:ccu2:MEQxxxxxxx’ to inbox.
2017-06-14 22:30:21.684 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-Sec-SC-2:ccu2:LEQxxxxxxx’ to inbox.
2017-06-14 22:30:23.924 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HmIP-RC8:ccu2:000B156xxxxxxx’ to inbox.
2017-06-14 22:30:27.153 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-LC-Sw1PBU-FM:ccu2:CUX2801001’ to inbox.
2017-06-14 22:30:27.181 [ERROR] [very.HomematicDeviceDiscoveryService] - java.lang.String cannot be cast to java.util.Map
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at org.openhab.binding.homematic.internal.communicator.parser.GetParamsetDescriptionParser.parse(GetParamsetDescriptionParser.java:41)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.client.RpcClient.addChannelDatapoints(RpcClient.java:150)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.CcuGateway.addChannelDatapoints(CcuGateway.java:168)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway.loadAllDeviceMetadata(AbstractHomematicGateway.java:407)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.discovery.HomematicDeviceDiscoveryService$1.run(HomematicDeviceDiscoveryService.java:110)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]

Had a typo in the callback address in the last try but next shows this error too:

2017-06-14 22:43:42.830 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘homematic:HM-LC-Sw1PBU-FM:ccu2:CUX2801001’ to inbox.
2017-06-14 22:43:42.858 [ERROR] [very.HomematicDeviceDiscoveryService] - java.lang.String cannot be cast to java.util.Map
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at org.openhab.binding.homematic.internal.communicator.parser.GetParamsetDescriptionParser.parse(GetParamsetDescriptionParser.java:41)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.client.RpcClient.addChannelDatapoints(RpcClient.java:150)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.CcuGateway.addChannelDatapoints(CcuGateway.java:168)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway.loadAllDeviceMetadata(AbstractHomematicGateway.java:407)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at org.openhab.binding.homematic.discovery.HomematicDeviceDiscoveryService$1.run(HomematicDeviceDiscoveryService.java:110)[253:org.openhab.binding.homematic:2.1.0.201706022154]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]

Is the device that seems to cause the problem a HM-Sen-MDIR-O-2:?

I habe such a device and itmworks without any problem here.

No, after a lot of debugging the issue is caused by the new Osram Lightify integration of Homematic.

I can confirm that with the newest build, the Gateway-Extras is visible, and that all the Lightify Things are also appearing in the inbox.
Unfortunately the Things stay in “Initializing” status.

Would be great if this could be fixed, though I am in doubt as the HM Lightify integration is really weak, a there is no status implemented.

Most probably the HM Lightify things will be hidden in the future. But did you see that a Lightify Binding exists in the add-ons sections? I couldn’t see it via PaperUI but there is something available to download.

There is a PR for the Lightify binding that has not been merged yet: https://github.com/openhab/openhab2-addons/pull/1861

You could ask the author of the binding to maybe provide a pre-release version.

This thread contains some more information about the current state of this binding: OSRAM Lightify Openhab2 Binding

There is an own Lightify binding in work. Therefore I think it is the best solution to ignore the Lightify components in the Homematic binding. It seems that the messages the CCU sends for these components look different from the standard HM components.

I downloaded the binding from the authors dropbox, installed and the gateway was found and all the attached devices.
Did not had time to create items and sitemap.
Lightify integration in HM is almost useless, might get better in future.