Assert.hasLength() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
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
IllegalArgumentException if the text is empty

Matching stack traces (27)

  1. 汪继友via Stack Overflow3 months ago
    Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.lang.IllegalArgumentException: key cannot be empty or null
  2. Frank Endersvia uima-user9 months ago
  3. Marshall Schorvia uima-user9 months ago
  4. Jaroslaw Cwiklikvia uima-user9 months ago
  5. Marshall Schorvia incubator-uima-user9 months ago
  6. Jaroslaw Cwiklikvia incubator-uima-user9 months ago
  7. Marshall Schorvia uima-user9 months ago
  8. Jaroslaw Cwiklikvia uima-user9 months ago
  9. Unknown authorvia jenkins-ci.org1 year ago
    Error creating bean with name '(inner bean)': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: - this String argument must have length; it must not be null or empty
  10. Frank Endersvia uima-user1 year ago

See Also

Children

Typical exception messages

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