{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab/issues/1404","labels_url":"https://api.github.com/repos/openhab/openhab/issues/1404/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab/issues/1404/comments","events_url":"https://api.github.com/repos/openhab/openhab/issues/1404/events","html_url":"https://github.com/openhab/openhab/issues/1404","id":42142293,"number":1404,"title":"Executing rule breaks rule engine and WebUI","user":{"login":"PascalTurbo","id":266577,"avatar_url":"https://avatars.githubusercontent.com/u/266577?v=3","gravatar_id":"","url":"https://api.github.com/users/PascalTurbo","html_url":"https://github.com/PascalTurbo","followers_url":"https://api.github.com/users/PascalTurbo/followers","following_url":"https://api.github.com/users/PascalTurbo/following{/other_user}","gists_url":"https://api.github.com/users/PascalTurbo/gists{/gist_id}","starred_url":"https://api.github.com/users/PascalTurbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PascalTurbo/subscriptions","organizations_url":"https://api.github.com/users/PascalTurbo/orgs","repos_url":"https://api.github.com/users/PascalTurbo/repos","events_url":"https://api.github.com/users/PascalTurbo/events{/privacy}","received_events_url":"https://api.github.com/users/PascalTurbo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-09-07T13:38:10Z","updated_at":"2015-10-20T20:47:44Z","closed_at":null,"body":"I modified my rule and openhab stops working with some weird behavior. After some trying I found out that the problem occured after I replaced \r\n\r\n    var int TV_SWITCH_STATE_COUNT = 0\r\n\r\nwith the persisted Item\r\n\r\n    Number TV_SWITCH_STATE_COUNT\t(TechnicalItems)\r\n\r\nand used it like:\r\n    \r\n    TV_SWITCH_STATE_COUNT.postUpdate(0)\r\n    \r\nor \r\n\r\n    TV_SWITCH_STATE_COUNT.state == 0\r\n\r\nThe problem occured after RESTARTING openhab first.\r\n\r\nI don't know if this code is correct but the behavior should never occur. After the rule was started to execute:\r\n\r\n- The rule Engine stops updating rule files - I could change this rule file or an other one but the engine would never get updated\r\n- The WebUI wasn't reachable anymore. \r\n\r\nI checked the debug-log but couldn't get more information. The only \"solution\" was to restart openhab "},"comment":{"url":"https://api.github.com/repos/openhab/openhab/issues/comments/149697318","html_url":"https://github.com/openhab/openhab/issues/1404#issuecomment-149697318","issue_url":"https://api.github.com/repos/openhab/openhab/issues/1404","id":149697318,"user":{"login":"teichsta","id":2108636,"avatar_url":"https://avatars.githubusercontent.com/u/2108636?v=3","gravatar_id":"","url":"https://api.github.com/users/teichsta","html_url":"https://github.com/teichsta","followers_url":"https://api.github.com/users/teichsta/followers","following_url":"https://api.github.com/users/teichsta/following{/other_user}","gists_url":"https://api.github.com/users/teichsta/gists{/gist_id}","starred_url":"https://api.github.com/users/teichsta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teichsta/subscriptions","organizations_url":"https://api.github.com/users/teichsta/orgs","repos_url":"https://api.github.com/users/teichsta/repos","events_url":"https://api.github.com/users/teichsta/events{/privacy}","received_events_url":"https://api.github.com/users/teichsta/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T20:47:44Z","updated_at":"2015-10-20T20:47:44Z","body":"anything in the `openhab.log`? Sounds a bit like what i've read here https://community.openhab.org/t/ruleengine-stops-working-after-a-while/2291 right?"}}