Error Cannot retrieve item

hello,

I’m new in the whole openhab and smart home.

i have this problem that i cant find on the internet why it happens.

i get this error in the openhablog

2019-06-02 20:43:12.049 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'DEMOSW' for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.054 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'DEMOSW' for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.058 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.065 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'DEMOSW' for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.069 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'DEMOSW' for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.073 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.077 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'DEMOSW' for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.081 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'DEMOSW' for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.084 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.087 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'DEMOSW' for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.089 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'DEMOSW' for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.091 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.093 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'kleinekamer' for widget org.eclipse.smarthome.model.sitemap.Switch

2019-06-02 20:43:12.095 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'kleinekamer' for widget org.eclipse.smarthome.model.sitemap.Switch

this is my .items file

<//This is the Items File

//Demo items

Switch DEMOSW "Demo Switch"

//Sonoff Basic
Switch Youri "Normaal licht" <poweroutlet> [ "Switchable" ]  {mqtt=">[broker:cmnd/sonoffswitch1/POWER:command:*:default],<[broker:stat/sonoffswitch1/POWER:state:default]", autoupdate="false"}

Switch kleinekamer "Normaal licht" <poweroutlet> [ "Switchable" ]  {mqtt=">[broker:cmnd/sonoffswitch2/power:command:*:default],<[broker:stat/sonoffswitch2/power:state:default]", autoupdate="false"}

and this is my sitemap

sitemap home label="Youri"
{
       Frame label="Demo"
       {
               Switch item=DEMOSW
       }
       Frame label="Information"
       {
           Switch item=DEMOSW
       }
       Frame label="Security"
       {
           Switch item=DEMOSW
       }
       Frame label="Room"
       {
           Switch item=DEMOSW
       }
       Frame label="Kleinemer"
       {
           Switch item=kleinekamer
       }
       Frame label="Youri Bedroom"
       {
           Switch item=Youri
       }
       Frame label="Living Room"
       {
           Switch item=DEMOSW
       }
       Frame label="Garage"
       {
           Switch item=DEMOSW
       }
       Frame label="Outside"
       {
           Switch item=DEMOSW
       }
}

can anyone help me figure out why this is happening.

all was working until i copied a switch and edited it to be a seperate switch and then this happend.

i see it wont reconise the item but why?

It might be that your items fail contains errors. If you edit it and save it, you should see a “xxx.items loaded” message in openhab.log