2021-03-10 14:44:58,390 ERROR [org.ametys.plugins.core.ui.script.ScriptHandler] (main;) An exception occurred while running script
There's no node for id directoryTheme: at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getNode(SimpleAmetysObjectFactory.java:187)
at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:137)
at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getAmetysObjectById(SimpleAmetysObjectFactory.java:58)
at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:360)
at <js> migrateTheme(generated script:81:2503-2551)
at <js> migrateTagsInANode(generated script:58:1881-1922)
at <js> migrateLinks(generated script:42:1363-1421)
at <js> migrateAll(generated script:160:4679-4699)
at <js> main(generated script:167:4775-4804)
at <js> :program(generated script:1973:66903-66908)
at org.graalvm.polyglot.Context.eval(Context.java:345)
at org.ametys.plugins.core.ui.script.ScriptHandler._executeScript(ScriptHandler.java:207)
at org.ametys.plugins.core.ui.script.ScriptHandler.executeScript(ScriptHandler.java:144)
at org.ametys.core.migration.action.impl.ScriptAction.doAction(ScriptAction.java:83)
at org.ametys.core.migration.MigrationExtensionPoint._applyUpgradeActions(MigrationExtensionPoint.java:245)
at org.ametys.core.migration.MigrationExtensionPoint.doMigration(MigrationExtensionPoint.java:156)
at org.ametys.runtime.servlet.RuntimeServlet._initMigration(RuntimeServlet.java:402)
at org.ametys.runtime.servlet.RuntimeServlet.doMigrationAndInit(RuntimeServlet.java:370)
at org.ametys.runtime.servlet.RuntimeServlet._initAmetys(RuntimeServlet.java:314)
at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:215)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1134)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089)
at