@Kai
hi the latest changes from ESH bumped xtext to 2.9.2
some of my rule do throw now:
Exception in thread “Alarm bei Node 18” java.lang.NullPointerException
at org.eclipse.smarthome.model.script.engine.ScriptExecutionThread.run(ScriptExecutionThread.java:44)
example rules with exception since 2.9.2
rule "Alarm bei Node 18"
when
Item zwave_device_15348538564_node18_sensor_binary changed to ON
then
var String MotionLocation
MO1_Motion_LastMovement.postUpdate ( new DateTimeType().format("%1$td.%1$tm. %1$tH:%1$tM") ) /
MO1_Motion_LastMovement.persist
MotionLocation = "Flur"
General_Motion_LastMovement.postUpdate ( new DateTimeType().format("%1$td.%1$tm. %1$tH:%1$tM") + " (" + MotionLocation + ")" )
General_Motion_LastMovement.persist
logInfo("Motion", "Bewegung an MO1 registriert um "+ MO1_Motion_LastMovement)
end