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

Atlassian JIRA | Edoardo Causarano [Atlassian] | 7 years ago
  1. 0

    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

    Atlassian JIRA | 7 years ago | Edoardo Causarano [Atlassian]
    java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.AFTER_ENCOD?NG
  2. 0

    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

    Atlassian JIRA | 7 years ago | Edoardo Causarano [Atlassian]
    java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.AFTER_ENCOD?NG
  3. 0

    IllegalArgumentException, when a data type is present in the schema, but unavailable in code generation logic

    GitHub | 4 years ago | lukaseder
    java.lang.IllegalArgumentException: No enum const class org.jooq.util.oracle.OracleDataType.BINARY_INTEGER
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ACRA version 4.3.0 snapshot currently on master branch isn't 1.5 compatible

    GitHub | 5 years ago | jddcef
    java.lang.IllegalArgumentException: REPORT_SENDER is not a constant in the enum type class org.acra.ReportField
  6. 0

    New exception on world creation

    GitHub | 4 years ago | Cervator
    java.lang.IllegalArgumentException: No enum const class org.terasology.components.ItemComponent$UsageType.OnBlock

  1. linxiaolong 1 times, last 10 hours ago
  2. davidvanlaatum 1 times, last 1 week ago
  3. MoYapro 3 times, last 2 weeks ago
  4. iridic 116 times, last 3 weeks ago
  5. maxxi 4 times, last 2 months ago
12 more registered users
12 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.AFTER_ENCOD?NG

    at java.lang.Enum.valueOf()
  2. Java RT
    Enum.valueOf
    1. java.lang.Enum.valueOf(Enum.java:196)
    1 frame
  3. com.atlassian.plugin
    ServletFilterModuleContainerFilter.init
    1. com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9)
    2. com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27)
    3. com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36)
    3 frames
  4. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
    2. org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
    3. org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
    4. org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696)
    5. org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
    6. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    7. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    8. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    9. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    10. org.apache.catalina.core.StandardService.start(StandardService.java:516)
    11. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    12. org.apache.catalina.startup.Catalina.start(Catalina.java:566)
    12 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:592)
    4 frames
  6. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    2 frames