java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.AFTER_ENCOD?NG

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Hello, Confluence fails to bootstrap when run on a system defaulting to the Turkish locale. To reproduce add: {{-Duser.language=tr -Duser.region=TR}} to {{JAVA_OPTS}} and resulting exception is: {noformat} SEVERE: Exception starting filter filter-plugin-dispatcher-after-encoding java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.AFTER_ENCOD?NG at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 08.Eki.2009 12:15:19 org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter filter-plugin-dispatcher-before-decoration java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.BEFORE_DECORAT?ON at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 08.Eki.2009 12:15:19 org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter filter-plugin-dispatcher-before-login java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.BEFORE_LOG?N at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 08.Eki.2009 12:15:20 org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter filter-plugin-dispatcher-before-dispatch java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.BEFORE_D?SPATCH at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 08.Eki.2009 12:15:20 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 08.Eki.2009 12:15:20 org.apache.catalina.core.StandardContext start SEVERE: Context [] startup failed due to previous errors {noformat} The problem is a known particularity of the Turkish locale (see [PLUG-400|https://studio.atlassian.com/browse/PLUG-400]) Regards, Edoardo
    via by Edoardo Causarano [Atlassian],
  • Hello, Confluence fails to bootstrap when run on a system defaulting to the Turkish locale. To reproduce add: {{-Duser.language=tr -Duser.region=TR}} to {{JAVA_OPTS}} and resulting exception is: {noformat} SEVERE: Exception starting filter filter-plugin-dispatcher-after-encoding java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.AFTER_ENCOD?NG at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 08.Eki.2009 12:15:19 org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter filter-plugin-dispatcher-before-decoration java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.BEFORE_DECORAT?ON at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 08.Eki.2009 12:15:19 org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter filter-plugin-dispatcher-before-login java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.BEFORE_LOG?N at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 08.Eki.2009 12:15:20 org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter filter-plugin-dispatcher-before-dispatch java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.BEFORE_D?SPATCH at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 08.Eki.2009 12:15:20 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 08.Eki.2009 12:15:20 org.apache.catalina.core.StandardContext start SEVERE: Context [] startup failed due to previous errors {noformat} The problem is a known particularity of the Turkish locale (see [PLUG-400|https://studio.atlassian.com/browse/PLUG-400]) Regards, Edoardo
    via by Edoardo Causarano [Atlassian],
  • New exception on world creation
    via GitHub by Cervator
    ,
  • "play test" won't start
    via Stack Overflow by Michael
    ,
  • MKNetwroking issue while "POST" request in iOS
    via Stack Overflow by Nayan
    ,
    • java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.AFTER_ENCOD?NG at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

    Users with the same issue

    bernardpaulus
    bernardpaulus1 times, last one,
    batwalrus76
    batwalrus764 times, last one,
    andyglick
    andyglick1 times, last one,
    stigkj
    stigkj14 times, last one,
    Pierre
    Pierre1 times, last one,
    42 more bugmates