java.lang.IllegalArgumentException: Locale value "no-" contains invalid characters

Spring JIRA | Kaj Hejer | 5 years ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    When I used CookieLocaleResolver, I can set invalid cookie to crash spring web application

    Stack Overflow | 2 years ago | Arden
    java.lang.IllegalArgumentException: Locale part "en-CA" contains invalid characters
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Locale value "no-" contains invalid characters

      at org.springframework.util.StringUtils.parseLocaleString()
    2. Spring Core
      1. org.springframework.util.StringUtils.parseLocaleString(
      1 frame
    3. Spring MVC
      1. org.springframework.web.servlet.i18n.LocaleChangeInterceptor.preHandle(
      2. org.springframework.web.servlet.DispatcherServlet.doDispatch(
      3. org.springframework.web.servlet.DispatcherServlet.doService(
      4. org.springframework.web.servlet.FrameworkServlet.processRequest(
      5. org.springframework.web.servlet.FrameworkServlet.doGet(
      5 frames
    4. JavaServlet
      1. javax.servlet.http.HttpServlet.doHead(
      2. javax.servlet.http.HttpServlet.service(
      2 frames