Assert.hasText() 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.hasText
(source)

Typical Exception Messages

  1. 'uriTemplate' must not be null
  2. 'beanName' must not be empty
  3. An id is required to lookup a FlowDefinition
  4. Template must not be null or empty!
  5. A granted authority textual representation is required
  6. [Assertion failed] - this String argument must have text; it must not be null, empty, or blank
  7. 'name' must not be empty
  8. Pattern cannot be null or empty
  9. Name for parameter binding must not be null or empty! For named parameters you need to use @Param for query method parameters on Java versions < 8.
  10. Database name must not be empty

Specific cases

External results for this pattern (59)

  1. finelychengvia GitHub3 days ago
    issuer cannot be empty
    Show stack trace
  2. mancini0via GitHub5 days ago
  3. Matthew T. Adamsvia Spring JIRA3 weeks ago
    Invalid profile []: must contain text
    Show stack trace
  4. imotebvia Stack Overflow3 weeks ago
    [Assertion failed] - this String argument must have text; it must not be null, empty, or blank
    Show stack trace
  5. Name must be assigned for the sake of defining the execution context keys prefix.
    Show stack trace
  6. netwidzvia GitHub3 weeks ago
    'uriTemplate' must not be null
    Show stack trace
  7. Gunnar Hillertvia Spring JIRA3 weeks ago
  8. Stéphane Nicollvia Spring JIRA3 weeks ago
    Rel must not be null or empty!
    Show stack trace
  9. hawkvia ZK-Tracker3 weeks ago
    An id is required to lookup a FlowDefinition
    Show stack trace
  10. Rowan Masseyvia Spring JIRA3 weeks ago