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

Spring JIRA | Kaj Hejer | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    Stack Overflow | 3 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

  3. 0

    RESTEasy / Mailing Lists

    sourceforge.net | 2 years ago
    java.lang.IllegalArgumentException: You did not supply enough values to fill path parameters at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
  4. 0

    jboss mysql connection validation

    Stack Overflow | 7 years ago | Marko
    java.lang.IllegalArgumentException: id to load is required for loading org.hibernate.event.LoadEvent.<init>(LoadEvent.java:74) org.hibernate.event.LoadEvent.<init>(LoadEvent.java:56) org.hibernate.impl.SessionImpl.get(SessionImpl.java:839) org.hibernate.impl.SessionImpl.get(SessionImpl.java:835) org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:182) org.jboss.seam.persistence.EntityManagerProxy.find(EntityManagerProxy.java:87) com.klikmee.tc.providers.ProviderProxy.parseTransactionId(ProviderProxy.java:137) com.klikmee.tc.providers.ProviderProxy.cancel(ProviderProxy.java:382) com.klikmee.tc.providers.ProviderProxy.cancel(ProviderProxy.java:359) com.klikmee.tc.servlets.DatecsTerminalCommunicatorServlet$RequestProcessor.processReverseTransaction(DatecsTerminalCommunicatorServlet.java:395) com.klikmee.tc.servlets.DatecsTerminalCommunicatorServlet$RequestProcessor.process(DatecsTerminalCommunicatorServlet.java:123) com.klikmee.tc.servlets.DatecsTerminalCommunicatorServlet.doPost(DatecsTerminalCommunicatorServlet.java:808) com.klikmee.tc.servlets.DatecsTerminalCommunicatorServlet.doGet(DatecsTerminalCommunicatorServlet.java:862)

    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

      Locale value "no-" contains invalid characters

      at org.springframework.util.StringUtils.parseLocaleString()
    2. Spring Core
      StringUtils.parseLocaleString
      1. org.springframework.util.StringUtils.parseLocaleString(StringUtils.java:671)
      1 frame
    3. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.i18n.LocaleChangeInterceptor.preHandle(LocaleChangeInterceptor.java:73)
      2. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:781)
      3. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      4. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
      5. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
      5 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.doHead(HttpServlet.java:238)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:117)
      2 frames