16:40:19,501 ERROR [org.ametys.core.migration.MigrationExtensionPoint] (main;) Error during the automatic migration org.ametys.core.migration.MigrationException: Error while executing script to upgrade component 'org.ametys.plugins.cms.upgrade' to version '20201030T0000'. Error : '', message : 'Unable to get contentType property', stacktrace : 'Unable to get contentType property at org.ametys.cms.repository.DefaultContent.getTypes(DefaultContent.java:158) at org.ametys.cms.content.ContentHelper.getContentTypes(ContentHelper.java:481) at org.ametys.cms.content.ContentHelper.getContentTypes(ContentHelper.java:470) at org.ametys.cms.repository.ModifiableDefaultContent.getDataHolder(ModifiableDefaultContent.java:327) at org.ametys.cms.repository.ModifiableDefaultContent.getDataHolder(ModifiableDefaultContent.java:43) at org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject.getValue(ModelAwareDataAwareAmetysObject.java:109) at org.ametys.plugins.repository.data.holder.ModelAwareDataHolder.getValue(ModelAwareDataHolder.java:201) at org.ametys.cms.repository.DefaultContent.getTitle(DefaultContent.java:213) at org.ametys.cms.repository.DefaultContent.getTitle(DefaultContent.java:247) at <js> __migrateRichTextsDataInContent(generated script:98:3705-3722) at <js> _migrateContent(generated script:2943:120215-120242) at <js> migrate(generated script:3016:123374-123434) at <js> migrate(generated script:3062:125105-125204) at <js> __migrateRichTextsDataInAllContentsByContentType(generated script:77-84:3018-3227) at <js> main(generated script:199:7517-7618) at <js> :program(generated script:3359:135848-135853) 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 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4902) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5206) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:692) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:689) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1881) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:582) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1611) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:829) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:433) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Catalina.start(Catalina.java:772) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473) Caused by host exception: org.ametys.plugins.repository.AmetysRepositoryException: Unable to get contentType property ' at org.ametys.core.migration.action.impl.ScriptAction.doAction(ScriptAction.java:86) 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 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4902) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5206) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:692) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:689) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1881) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:582) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1611) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:829) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:433) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Catalina.start(Catalina.java:772) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)