Assert.notNull() 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.notNull
(Source)
at org.springframework.util.Assert.notNull
(Source)

Typical Exception Messages

  1. [Assertion failed] - this argument is required; it must not be null
  2. [Assertion failed] - this argument is required; it cannot be null
  3. [Assertion failed] - this argument is required; it must not be null
  4. [Assertion failed] - this argument is required; it must not be null

Origin

Similar

Specific cases

We have seen this error pattern in the following webpages (41)

  1. Jenkinsvia Google Groups3 months ago
    [Assertion failed] - this argument is required; it must not be null
  2. user7916020via Stack Overflow11 months ago
    Error creating bean with name 'kafkaOutboundChannelAdapter': Cannot resolve reference to bean 'org.springframework.integration.kafka.outbound.KafkaProducerMessageHandler#0' while setting bean property 'handler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.kafka.outbound.KafkaProducerMessageHandler#0': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null
  3. Unknown authorvia hatenablog.com1 year ago
    [Assertion failed] - this argument is required; it must not be null
  4. Unknown authorvia oschina.net1 year ago
    [Assertion failed] - this argument is required; it must not be null
  5. Emanuel Teixeiravia Pentaho BI Platform Tracking1 year ago
    Could not import: General Error : {0}
  6. ceefourvia GitHub1 year ago
    [Assertion failed] - this argument is required; it must not be null
  7. bicstervia Stack Overflow1 year ago
    Error creating bean with name 'reader' defined in class path resource [com/chrisbeech/batch/JobConfig.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null
  8. Tom Personsvia Spring JIRA1 year ago
    Execution exception[[IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null]]
  9. [Assertion failed] - this argument is required; it must not be null
  10. Mauro Ransolinvia Spring JIRA1 year ago
    [Assertion failed] - this argument is required; it cannot be null