Rules OH1 -> OH2

Hello,

my java scipt is in OH2 not anymore working.

07:50:00.076 [ERROR] [.script.engine.ScriptExecutionThread] - Rule ‘Item_Rolladen_hoch’: Could not invoke method: java.util.Collections.shuffle(java.util.List) on instance: null

You have any Idee to fix this?

If you would have posted the code, we possibly could, however…

Yes, there are differences between the rules in OH and OH2.

That is the reason: