I have an application which depends on captchetat plugin.
I start application without selecting captchetat for forms's protection.
Application restart with fatal error
Caused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component org.ametys.plugins.captchetat.captcha.CaptchEtatHelper (key [org.ametys.plugins.captchetat.captcha.CaptchEtatHelper]) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:166) at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:96) at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:69) ... 69 more Caused by: java.lang.IllegalArgumentException: No enum constant org.ametys.plugins.captchetat.captcha.CaptchEtatHelper.Endpoint. at java.base/java.lang.Enum.valueOf(Enum.java:273) at org.ametys.plugins.captchetat.captcha.CaptchEtatHelper$Endpoint.valueOf(CaptchEtatHelper.java:89) at org.ametys.plugins.captchetat.captcha.CaptchEtatHelper.initialize(CaptchEtatHelper.java:140) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:404) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:178) at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:143) at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:162)
In configuration file config.xml, parameters for CaptchEtat are empty
<!-- plugin.core:PLUGINS_CORE_CAPTCHA_CONFIG_GROUP --> <runtime.captcha.recaptcha.publickey/> <runtime.captcha.recaptcha.enterprise.threshold>0.5</runtime.captcha.recaptcha.enterprise.threshold> <runtime.captcha.recaptcha.enterprise.projectId/> <captchetat.client_secret/> <runtime.captcha.recaptcha.enterprise.sitekey/> <captchetat.endpoint/> <runtime.captcha.type>jcaptcha</runtime.captcha.type> <captchetat.client_id/> <runtime.captcha.jcaptcha.clean.period>20</runtime.captcha.jcaptcha.clean.period> <runtime.captcha.recaptcha.secretkey/> <runtime.captcha.recaptcha.enterprise.apikey/>