java.lang.IllegalArgumentException: No enum constant

Spring JIRA | Kris | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    No Enum constant

    GitHub | 4 months ago | JANDS-24
    java.lang.IllegalArgumentException: No enum constant com.radixshock.radixcore.constant.Language.en_us
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Passing unsupported OPERATOR for "constraints" surfaces exception

    GitHub | 3 years ago | ssorallen
    java.lang.IllegalArgumentException: No enum constant mesosphere.marathon.Protos.Constraint.Operator.OPERATOR
  4. 0

    Navitia: No enum constant BSS_RENT

    GitHub | 2 years ago | schildbach
    java.lang.IllegalArgumentException: No enum constant de.schildbach.pte.AbstractNavitiaProvider.SectionType.BSS_RENT
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 constant

    at java.lang.Enum.valueOf()
  2. Java RT
    Enum.valueOf
    1. java.lang.Enum.valueOf(Enum.java:238)
    1 frame
  3. Spring
    HttpMethod.valueOf
    1. org.springframework.http.HttpMethod.valueOf(HttpMethod.java:27)
    1 frame
  4. org.springframework.security
    AntPathRequestMatcher.matches
    1. org.springframework.security.web.util.matcher.AntPathRequestMatcher.matches(AntPathRequestMatcher.java:125)
    1 frame
  5. Spring Security
    DefaultFilterInvocationSecurityMetadataSource.getAttributes
    1. org.springframework.security.web.access.intercept.DefaultFilterInvocationSecurityMetadataSource.getAttributes(DefaultFilterInvocationSecurityMetadataSource.java:86)
    1 frame
  6. spring-security-core
    AbstractSecurityInterceptor.beforeInvocation
    1. org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:174)
    1 frame