{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/1393","repository_url":"https://api.github.com/repos/eclipse/smarthome","labels_url":"https://api.github.com/repos/eclipse/smarthome/issues/1393/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/1393/comments","events_url":"https://api.github.com/repos/eclipse/smarthome/issues/1393/events","html_url":"https://github.com/eclipse/smarthome/issues/1393","id":148950831,"number":1393,"title":"ESH Xtext 2.9.2 –> exceptions","user":{"login":"shorty707","id":13987575,"avatar_url":"https://avatars.githubusercontent.com/u/13987575?v=3","gravatar_id":"","url":"https://api.github.com/users/shorty707","html_url":"https://github.com/shorty707","followers_url":"https://api.github.com/users/shorty707/followers","following_url":"https://api.github.com/users/shorty707/following{/other_user}","gists_url":"https://api.github.com/users/shorty707/gists{/gist_id}","starred_url":"https://api.github.com/users/shorty707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shorty707/subscriptions","organizations_url":"https://api.github.com/users/shorty707/orgs","repos_url":"https://api.github.com/users/shorty707/repos","events_url":"https://api.github.com/users/shorty707/events{/privacy}","received_events_url":"https://api.github.com/users/shorty707/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2016-04-17T13:24:39Z","updated_at":"2016-04-26T16:58:49Z","closed_at":null,"body":"the latest changes from ESH bumped xtext to 2.9.2\r\n\r\nsome of my rule do throw now: (they worked flawless before)\r\n```\r\nException in thread \"Alarm bei Node 18\" java.lang.NullPointerException\r\nat org.eclipse.smarthome.model.script.engine.ScriptExecutionThread.run(ScriptExecutionThread.java:44)\r\n```\r\n\r\nexample rules with exception since 2.9.2\r\n\r\n```\r\nrule \"Alarm bei Node 18\"\r\nwhen\r\n\tItem zwave_device_15348538564_node18_sensor_binary changed to ON\r\nthen\r\n\tvar String MotionLocation\r\n\t\r\n\tMO1_Motion_LastMovement.postUpdate (\tnew DateTimeType().format(\"%1$td.%1$tm. %1$tH:%1$tM\") ) /\r\n\tMO1_Motion_LastMovement.persist\r\n\tMotionLocation = \"Flur\"\r\n\r\n\tGeneral_Motion_LastMovement.postUpdate (\tnew DateTimeType().format(\"%1$td.%1$tm. %1$tH:%1$tM\") + \" (\" + MotionLocation + \")\" )  \r\n\tGeneral_Motion_LastMovement.persist\r\n\t\tlogInfo(\"Motion\", \"Bewegung an MO1 registriert um \"+ MO1_Motion_LastMovement)\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/comments/214811037","html_url":"https://github.com/eclipse/smarthome/issues/1393#issuecomment-214811037","issue_url":"https://api.github.com/repos/eclipse/smarthome/issues/1393","id":214811037,"user":{"login":"JueBag","id":18365158,"avatar_url":"https://avatars.githubusercontent.com/u/18365158?v=3","gravatar_id":"","url":"https://api.github.com/users/JueBag","html_url":"https://github.com/JueBag","followers_url":"https://api.github.com/users/JueBag/followers","following_url":"https://api.github.com/users/JueBag/following{/other_user}","gists_url":"https://api.github.com/users/JueBag/gists{/gist_id}","starred_url":"https://api.github.com/users/JueBag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JueBag/subscriptions","organizations_url":"https://api.github.com/users/JueBag/orgs","repos_url":"https://api.github.com/users/JueBag/repos","events_url":"https://api.github.com/users/JueBag/events{/privacy}","received_events_url":"https://api.github.com/users/JueBag/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T16:58:49Z","updated_at":"2016-04-26T16:58:49Z","body":"\"Mist\", posted/searched in the wrong repository (sorry for that), couldn't find ESH, me bad.\r\n\r\n@shorty Is it worth a try with the last build? Did the test with the build #256 just on hour ago. Could do another one. "}}