Assert.hasLength() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
Javadoc
Thrown to indicate that a method has been passed an illegal or inappropriate argument. @author unascribed @since JDK1.0
at org.springframework.util.Assert.hasLength
(source)

Typical Exception Messages

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

Specific cases

External results for this pattern (28)

  1. Frank Endersvia uima-user10 months ago
    Display name must not be empty
    Show stack trace
  2. Marshall Schorvia uima-user10 months ago
  3. Jaroslaw Cwiklikvia uima-user10 months ago
  4. Marshall Schorvia incubator-uima-user10 months ago
  5. Jaroslaw Cwiklikvia incubator-uima-user10 months ago
  6. Marshall Schorvia uima-user10 months ago
  7. Jaroslaw Cwiklikvia uima-user10 months ago
  8. Unknown authorvia jenkins-ci.org1 year ago