lewie/openhab2-javascript

ReferenceError: "OpenClosedType" is not defined

UniXXer opened this issue · 0 comments

When starting openhab 2.4.0 I receive the following error:
[ERROR] [ipt.internal.ScriptEngineManagerImpl] - Error during evaluation of script 'file:/openhab/conf/automation/jsr223/jslib/helper.js': ReferenceError: "OpenClosedType" is not defined in <eval> at line number 63

I think there is something not yet completed in the background. The error disappears, when I change a file, so that the rule-engine reloads it. The same is true, if the rule-engine plugin is loaded after the start of openhab via the PaperUI.

Maybe this is an issue for the rule-engine, but it would be great if the helper.js is able to react accordingly.

Cheers,
UniXXer