Assert.hasLength() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
at org.springframework.util.Assert.hasLength
(source)

Typical Exception Messages

  1. Display name must not be empty
  2. username cannot be null or empty
  3. [Assertion failed] - this String argument must have length; it must not be null or empty
  4. 'mediaType' must not be empty
  5. 'uri' must not be empty
  6. Name must not be empty
  7. name for role cannot be null or empty
  8. key cannot be empty or null

Specific cases

External results for this pattern (23)

  1. 'uri' must not be empty
    Show stack trace
  2. Dan Checkowayvia Spring JIRA3 weeks ago
    'mediaType' must not be empty
    Show stack trace
  3. Camilo Moralesvia Pentaho BI Platform Tracking3 weeks ago
    username cannot be null or empty
    Show stack trace
  4. Golda Davidvia Pentaho BI Platform Tracking3 weeks ago
  5. Frank Endersvia uima-user11 months ago
    Display name must not be empty
    Show stack trace
  6. Marshall Schorvia uima-user11 months ago
  7. Jaroslaw Cwiklikvia uima-user11 months ago
  8. Marshall Schorvia incubator-uima-user11 months ago