java.lang.IllegalArgumentException: User login size is incorrect (Between 3 and 255 characters)

Google Groups | Michael Huber | 5 months ago
  1. 0

    Bug Report: Change in username size check breaks existing installation with two letter usernames

    Google Groups | 5 months ago | Michael Huber
    java.lang.IllegalArgumentException: User login size is incorrect (Between 3 and 255 characters)
  2. 0
    samebug tip
    URI part of the request contains invalid characters. You may try to encode the path from the URI. Check RFC7230 and RFC3986 documentation below. https://www.ietf.org/rfc/rfc3986.txt and https://tools.ietf.org/html/rfc7230
  3. 0
    samebug tip
    You might send a large amount of data in the request URL. Consider sending it in the request body.
    via Coderanch by Partheban Udayakumar
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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

      User login size is incorrect (Between 3 and 255 characters)

      at org.sonar.api.internal.google.common.base.Preconditions.checkArgument()
    2. org.sonar.api
      UserIdentity$Builder.build
      1. org.sonar.api.internal.google.common.base.Preconditions.checkArgument(Preconditions.java:122)[sonar-plugin-api-6.0.jar:na]
      2. org.sonar.api.server.authentication.UserIdentity$Builder.validateLogin(UserIdentity.java:196)[sonar-plugin-api-6.0.jar:na]
      3. org.sonar.api.server.authentication.UserIdentity$Builder.build(UserIdentity.java:183)[sonar-plugin-api-6.0.jar:na]
      3 frames
    3. org.sonar.server
      LoginAction.doFilter
      1. org.sonar.server.authentication.RealmAuthenticator.synchronize(RealmAuthenticator.java:118)[sonar-server-6.0.jar:na]
      2. org.sonar.server.authentication.RealmAuthenticator.doAuthenticate(RealmAuthenticator.java:98)[sonar-server-6.0.jar:na]
      3. org.sonar.server.authentication.RealmAuthenticator.authenticate(RealmAuthenticator.java:83)[sonar-server-6.0.jar:na]
      4. org.sonar.server.authentication.CredentialsAuthenticator.authenticate(CredentialsAuthenticator.java:56)[sonar-server-6.0.jar:na]
      5. org.sonar.server.authentication.CredentialsAuthenticator.authenticate(CredentialsAuthenticator.java:45)[sonar-server-6.0.jar:na]
      6. org.sonar.server.authentication.ws.LoginAction.authenticate(LoginAction.java:91)[sonar-server-6.0.jar:na]
      7. org.sonar.server.authentication.ws.LoginAction.doFilter(LoginAction.java:76)[sonar-server-6.0.jar:na]
      7 frames