{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab/issues/2617","labels_url":"https://api.github.com/repos/openhab/openhab/issues/2617/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab/issues/2617/comments","events_url":"https://api.github.com/repos/openhab/openhab/issues/2617/events","html_url":"https://github.com/openhab/openhab/issues/2617","id":77788719,"number":2617,"title":"Error in log file for widgets without items","user":{"login":"dominicdesu","id":3878009,"avatar_url":"https://avatars.githubusercontent.com/u/3878009?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicdesu","html_url":"https://github.com/dominicdesu","followers_url":"https://api.github.com/users/dominicdesu/followers","following_url":"https://api.github.com/users/dominicdesu/following{/other_user}","gists_url":"https://api.github.com/users/dominicdesu/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicdesu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicdesu/subscriptions","organizations_url":"https://api.github.com/users/dominicdesu/orgs","repos_url":"https://api.github.com/users/dominicdesu/repos","events_url":"https://api.github.com/users/dominicdesu/events{/privacy}","received_events_url":"https://api.github.com/users/dominicdesu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-18T20:13:33Z","updated_at":"2015-05-18T20:20:59Z","closed_at":null,"body":"[This recent change](https://github.com/openhab/openhab/commit/4a89370ce66b161179a7c69c6b41ae67f01e731a#diff-cdd2dbc900e7ba12da0fd9ba4cf68b14R228) always logs an error for widgets without defined items, e.g. Frames, because the widget.getItem() returns null.\r\nFor example, this sitemap definition\r\n```\r\nFrame label=\"Licht\" {\r\n...\r\n}\r\n```\r\nresults in \r\n```\r\n22:12:23.568 [ERROR] [o.u.i.items.ItemUIRegistryImpl:228  ] - Cannot retrieve item null for widget org.openhab.model.sitemap.Frame\r\n```\r\n\r\nThis is probably also the reason for pull request #2615 :-)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openhab/openhab/issues/comments/103198432","html_url":"https://github.com/openhab/openhab/issues/2617#issuecomment-103198432","issue_url":"https://api.github.com/repos/openhab/openhab/issues/2617","id":103198432,"user":{"login":"dominicdesu","id":3878009,"avatar_url":"https://avatars.githubusercontent.com/u/3878009?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicdesu","html_url":"https://github.com/dominicdesu","followers_url":"https://api.github.com/users/dominicdesu/followers","following_url":"https://api.github.com/users/dominicdesu/following{/other_user}","gists_url":"https://api.github.com/users/dominicdesu/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicdesu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicdesu/subscriptions","organizations_url":"https://api.github.com/users/dominicdesu/orgs","repos_url":"https://api.github.com/users/dominicdesu/repos","events_url":"https://api.github.com/users/dominicdesu/events{/privacy}","received_events_url":"https://api.github.com/users/dominicdesu/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T20:20:59Z","updated_at":"2015-05-18T20:20:59Z","body":"And as we all love unit tests, a pull request for this issue would be incomplete without a corresponding test method in ItemUIRegistryImplTest :-)"}}