Not able to create Blockly script on M2

Java Version - 21.0.8

Just updated to M2 and am unable to create a Blockly script. Moving back to M1 clears the issue. Clicking on Inline Script in the “Then” section, the normal pop up shows:

When I click on Design with Blockly, it just switches to:

and I can proceed no further. At one point I saw this in the log, but it didn’t solve the issue and now that doesn’t even show in the logs

2025-11-19 16:01:34.590 [ERROR] [.internal.GraalJSScriptEngineFactory] - Graal JavaScript language not initialized. Restart openHAB to initialize available Graal languages properly.

This indicates there is a problem with GraalJS loading. If the messages doesn’t appear again after a restart, it means JS Scripting was able to load GraalJS properly.
However you say the UI still doesn’t want to create a Blockly Script?

Correct, unable to create a Blockly script. I have tested on two different live instances of OH (and a back up 3rd) and all fail. Reverting to M1 is the fix.

Ubuntu 22 (and 24)

In M2 it didn’t work but in a later snapshot it worked again.

1 Like

Thanks for the update. I’ll wait for M3.

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.