Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

org.openhab.core.items.ItemNotFoundException: Item 'iot_hue_switch2' could not be found in the item registry #4325

Closed
monajalal opened this issue Apr 27, 2016 · 1 comment

Comments

@monajalal
Copy link

I have the same code for my both lights and they are in operating states (I can control them with Hue App or say Alexa). However I get the following error:

The codes are as follows:

pi@raspberrypi:/opt/openhab $ cat configurations/items/iotpi.items 
Switch iot_hue_switch1   "IoT Lab Light Bulb"   (Switching) {hue="1"}
Color iot_hue_color1     "IoT Lab Light Bulb"   (Colorize)  {hue="1"; colorTemperature; 30"} 
Switch iot_hue_switch2   "IoT Lab Light Bulb"   (Switching) {hue="2;brightness;30"}
Color iot_hue_color2     "IoT Lab Light Bulb"   (Colorize)  {hue="2;colorTemperature;30"}
Dimmer iot_insteaon_dimmer "IoT Smart Home Light" {insteonplm="27.28.88:F00.00.19#dimmer"}
pi@raspberrypi:/opt/openhab $ cat configurations/sitemaps/iotpi.sitemap 
sitemap demo label="Main Menu"  
{  
    Frame label="Lights" {
        Switch         item=iot_hue_switch1                         label="IoT Lab Door Light"
        Colorpicker    item=iot_hue_color1    visibility=[iot_hue_switch1==ON]    label="IoT Lab Door Light"
                Switch         item=iot_hue_switch2                                label="IoT Lab Window Light"
                Colorpicker    item=iot_hue_color2    visibility=[iot_hue_switch2==ON]    label="IoT Lab Window Light"
                Dimmer         item=iot_insteaon_dimmer                 label="IoT Smart Home Light"
    }  
}


pi@raspberrypi:/opt/openhab $ sudo ./start.sh 
Launching the openHAB runtime...
osgi> 2016-04-27 02:36:02.506 [INFO ] [.o.core.internal.CoreActivator] - openHAB runtime has been started (v1.8.1).
2016-04-27 02:36:05.778 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - mDNS service has been started
2016-04-27 02:36:05.931 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - Service Discovery initialization completed.
2016-04-27 02:36:11.987 [INFO ] [penhab.io.rest.RESTApplication] - Started REST API at /rest
2016-04-27 02:36:16.983 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'iotpi.sitemap'
2016-04-27 02:36:17.337 [INFO ] [.o.u.w.i.servlet.WebAppServlet] - Started Classic UI at /classicui/openhab.app
2016-04-27 02:36:17.555 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
2016-04-27 02:36:18.012 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'logging.persist'
2016-04-27 02:36:18.043 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'db4o.persist'
2016-04-27 02:36:18.072 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'exec.persist'
2016-04-27 02:36:18.230 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'demo.script'
2016-04-27 02:36:18.543 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'iotpi.items'
2016-04-27 02:36:22.582 [INFO ] [.p.rrd4j.internal.RRD4jService] - Removing invalid defintion component = null heartbeat = 0 min/max = 0.0/0.0 step = 0 0 archives(s) = [] 0 items(s) = []
2016-04-27 02:36:22.734 [INFO ] [insteonplm.InsteonPLMActivator] - Insteon PLM binding has been started.
2016-04-27 02:36:22.851 [INFO ] [.service.AbstractActiveService] - HTTP Refresh Service has been started
2016-04-27 02:36:24.109 [INFO ] [.service.AbstractActiveService] - Hue Refresh Service has been started
2016-04-27 02:36:24.111 [INFO ] [.service.AbstractActiveService] - NTP Refresh Service has been started
2016-04-27 02:36:24.134 [INFO ] [.service.AbstractActiveService] - InsteonHub Refresh Service has been started
2016-04-27 02:36:24.147 [INFO ] [.i.h.a.s.InsteonHubSerialProxy] - Connected to Insteon Hub: 192.168.1.106:25105
2016-04-27 02:36:25.338 [INFO ] [runtime.busevents             ] - iot_hue_color1 state updated to ON
2016-04-27 02:36:25.344 [INFO ] [runtime.busevents             ] - iot_hue_color1 state updated to 81.9230769230769197974950657226145267486572265625,57,100
2016-04-27 02:36:25.348 [INFO ] [runtime.busevents             ] - iot_hue_switch1 state updated to ON
2016-04-27 02:37:10.851 [WARN ] [.o.u.w.i.render.SwitchRenderer] - Cannot determine item type of 'iot_hue_switch2'
org.openhab.core.items.ItemNotFoundException: Item 'iot_hue_switch2' could not be found in the item registry
at org.openhab.core.internal.items.ItemRegistryImpl.getItem(ItemRegistryImpl.java:80) ~[na:na]
at org.openhab.ui.internal.items.ItemUIRegistryImpl.getItem(ItemUIRegistryImpl.java:554) ~[na:na]
at org.openhab.ui.webapp.internal.render.SwitchRenderer.renderWidget(SwitchRenderer.java:57) ~[org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.renderWidget(PageRenderer.java:158) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processChildren(PageRenderer.java:121) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processChildren(PageRenderer.java:138) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processPage(PageRenderer.java:86) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.servlet.WebAppServlet.service(WebAppServlet.java:127) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet_3.0.0.v201112011016.jar:na]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.Server.handle(Server.java:350) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630) [org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230) [org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) [org.eclipse.jetty.io_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) [org.eclipse.jetty.io_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) [org.eclipse.jetty.util_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) [org.eclipse.jetty.util_8.1.3.v20120522.jar:8.1.3.v20120522]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
2016-04-27 02:37:10.860 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:10.861 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:10.862 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:10.862 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:10.863 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve visibility item iot_hue_switch2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:10.863 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:10.867 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:10.868 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:10.869 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:18.245 [INFO ] [runtime.busevents             ] - iot_hue_switch1 received command OFF
2016-04-27 02:37:18.383 [WARN ] [.o.u.w.i.render.SwitchRenderer] - Cannot determine item type of 'iot_hue_switch2'
org.openhab.core.items.ItemNotFoundException: Item 'iot_hue_switch2' could not be found in the item registry
at org.openhab.core.internal.items.ItemRegistryImpl.getItem(ItemRegistryImpl.java:80) ~[na:na]
at org.openhab.ui.internal.items.ItemUIRegistryImpl.getItem(ItemUIRegistryImpl.java:554) ~[na:na]
at org.openhab.ui.webapp.internal.render.SwitchRenderer.renderWidget(SwitchRenderer.java:57) ~[org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.renderWidget(PageRenderer.java:158) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processChildren(PageRenderer.java:121) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processChildren(PageRenderer.java:138) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processPage(PageRenderer.java:86) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.servlet.WebAppServlet.service(WebAppServlet.java:127) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet_3.0.0.v201112011016.jar:na]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.Server.handle(Server.java:350) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630) [org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230) [org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) [org.eclipse.jetty.io_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) [org.eclipse.jetty.io_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) [org.eclipse.jetty.util_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) [org.eclipse.jetty.util_8.1.3.v20120522.jar:8.1.3.v20120522]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
2016-04-27 02:37:18.391 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:18.393 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:18.393 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:18.394 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:18.394 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve visibility item iot_hue_switch2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:18.395 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:18.404 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:18.405 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:18.406 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:19.938 [INFO ] [runtime.busevents             ] - iot_hue_switch1 received command ON
2016-04-27 02:37:20.429 [WARN ] [.o.u.w.i.render.SwitchRenderer] - Cannot determine item type of 'iot_hue_switch2'
org.openhab.core.items.ItemNotFoundException: Item 'iot_hue_switch2' could not be found in the item registry
at org.openhab.core.internal.items.ItemRegistryImpl.getItem(ItemRegistryImpl.java:80) ~[na:na]
at org.openhab.ui.internal.items.ItemUIRegistryImpl.getItem(ItemUIRegistryImpl.java:554) ~[na:na]
at org.openhab.ui.webapp.internal.render.SwitchRenderer.renderWidget(SwitchRenderer.java:57) ~[org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.renderWidget(PageRenderer.java:158) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processChildren(PageRenderer.java:121) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processChildren(PageRenderer.java:138) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processPage(PageRenderer.java:86) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.servlet.WebAppServlet.service(WebAppServlet.java:127) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet_3.0.0.v201112011016.jar:na]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.Server.handle(Server.java:350) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630) [org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230) [org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) [org.eclipse.jetty.io_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) [org.eclipse.jetty.io_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) [org.eclipse.jetty.util_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) [org.eclipse.jetty.util_8.1.3.v20120522.jar:8.1.3.v20120522]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
2016-04-27 02:37:20.432 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:20.434 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:20.435 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:20.436 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:20.437 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve visibility item iot_hue_switch2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:20.437 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:20.438 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:20.440 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:20.441 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:21.493 [WARN ] [.w.internal.servlet.CmdServlet] - Received command 'TOGGLE' for item 'iot_hue_switch2', but the item does not exist in the registry
2016-04-27 02:37:23.166 [WARN ] [.w.internal.servlet.CmdServlet] - Received command 'TOGGLE' for item 'iot_hue_switch2', but the item does not exist in the registry
2016-04-27 02:37:24.472 [WARN ] [.w.internal.servlet.CmdServlet] - Received command 'TOGGLE' for item 'iot_hue_switch2', but the item does not exist in the registry
2016-04-27 02:37:42.616 [INFO ] [runtime.busevents             ] - iot_hue_switch1 received command OFF
2016-04-27 02:37:42.762 [WARN ] [.o.u.w.i.render.SwitchRenderer] - Cannot determine item type of 'iot_hue_switch2'
org.openhab.core.items.ItemNotFoundException: Item 'iot_hue_switch2' could not be found in the item registry
at org.openhab.core.internal.items.ItemRegistryImpl.getItem(ItemRegistryImpl.java:80) ~[na:na]
at org.openhab.ui.internal.items.ItemUIRegistryImpl.getItem(ItemUIRegistryImpl.java:554) ~[na:na]
at org.openhab.ui.webapp.internal.render.SwitchRenderer.renderWidget(SwitchRenderer.java:57) ~[org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.renderWidget(PageRenderer.java:158) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processChildren(PageRenderer.java:121) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processChildren(PageRenderer.java:138) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processPage(PageRenderer.java:86) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.servlet.WebAppServlet.service(WebAppServlet.java:127) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet_3.0.0.v201112011016.jar:na]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.Server.handle(Server.java:350) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630) [org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230) [org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) [org.eclipse.jetty.io_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) [org.eclipse.jetty.io_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) [org.eclipse.jetty.util_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) [org.eclipse.jetty.util_8.1.3.v20120522.jar:8.1.3.v20120522]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
2016-04-27 02:37:42.765 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:42.766 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:42.767 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:42.767 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:42.768 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve visibility item iot_hue_switch2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:42.768 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:42.769 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:42.770 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:42.771 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:43.740 [INFO ] [runtime.busevents             ] - iot_hue_switch1 received command ON
2016-04-27 02:37:43.792 [WARN ] [.o.u.w.i.render.SwitchRenderer] - Cannot determine item type of 'iot_hue_switch2'
org.openhab.core.items.ItemNotFoundException: Item 'iot_hue_switch2' could not be found in the item registry
at org.openhab.core.internal.items.ItemRegistryImpl.getItem(ItemRegistryImpl.java:80) ~[na:na]
at org.openhab.ui.internal.items.ItemUIRegistryImpl.getItem(ItemUIRegistryImpl.java:554) ~[na:na]
at org.openhab.ui.webapp.internal.render.SwitchRenderer.renderWidget(SwitchRenderer.java:57) ~[org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.renderWidget(PageRenderer.java:158) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processChildren(PageRenderer.java:121) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processChildren(PageRenderer.java:138) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.render.PageRenderer.processPage(PageRenderer.java:86) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.openhab.ui.webapp.internal.servlet.WebAppServlet.service(WebAppServlet.java:127) [org.openhab.ui.webapp_1.8.1.jar:na]
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) [org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet_3.0.0.v201112011016.jar:na]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) [org.eclipse.jetty.servlet_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.Server.handle(Server.java:350) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630) [org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230) [org.eclipse.jetty.http_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) [org.eclipse.jetty.server_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) [org.eclipse.jetty.io_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) [org.eclipse.jetty.io_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) [org.eclipse.jetty.util_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) [org.eclipse.jetty.util_8.1.3.v20120522.jar:8.1.3.v20120522]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]
2016-04-27 02:37:43.834 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:43.835 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:43.836 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:43.836 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_switch2 for widget org.openhab.model.sitemap.Switch
2016-04-27 02:37:43.837 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve visibility item iot_hue_switch2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:43.844 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:43.845 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:43.846 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker
2016-04-27 02:37:43.855 [ERROR] [o.u.i.items.ItemUIRegistryImpl] - Cannot retrieve item iot_hue_color2 for widget org.openhab.model.sitemap.Colorpicker

Please let me know if more information would be needed! Previously both lights had been working!

@monajalal
Copy link
Author

Problem fixed:

Switch iot_hue_switch1   "IoT Lab Light Bulb"   (Switching) {hue="1"}
Color iot_hue_color1     "IoT Lab Light Bulb"   (Colorize)  {hue="1; colorTemperature; 30"}
Switch iot_hue_switch2   "IoT Lab Light Bulb"   (Switching) {hue="2"}
Color iot_hue_color2     "IoT Lab Light Bulb"   (Colorize)  {hue="2; colorTemperature; 20"}
Dimmer iot_insteaon_dimmer "IoT Smart Home Light" {insteonplm="27.28.88:F00.00.19#dimmer"}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant