java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null

Spring JIRA | Gary Russell | 3 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
  2. 0
  3. 0
    samebug tip
    If you're unit testing, you should instantiate only the service and mock the dependencies. If you're testing integration, you should add all the mocking to the configurations file.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring data Solr: IllegalArgumentException - this argument is required

    Stack Overflow | 4 years ago | micha
    java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null
  6. 0

    Asking to navigate into an unknown controller causes seemingly infinite loop

    GitHub | 3 years ago | davidmichaelkarr
    java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null

  1. tvrmsmith 1 times, last 6 days ago
  2. odd 2 times, last 2 weeks ago
  3. ivanszkypeter 6 times, last 2 weeks ago
  4. tomthomas 1 times, last 2 weeks ago
  5. Axelo 1 times, last 3 weeks ago
16 more registered users
79 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    [Assertion failed] - this argument is required; it must not be null

    at org.springframework.util.Assert.notNull()
  2. Spring Core
    Assert.notNull
    1. org.springframework.util.Assert.notNull(Assert.java:112)
    2. org.springframework.util.Assert.notNull(Assert.java:123)
    2 frames
  3. Spring Hateoas
    ResourceAssemblerSupport.createResourceWithId
    1. org.springframework.hateoas.mvc.ResourceAssemblerSupport.createResourceWithId(ResourceAssemblerSupport.java:87)
    1 frame
  4. org.springframework.xd
    BatchStepExecutionsController.list
    1. org.springframework.xd.dirt.rest.StepExecutionInfoResourceAssembler.toResource(StepExecutionInfoResourceAssembler.java:39)
    2. org.springframework.xd.dirt.rest.BatchStepExecutionsController.list(BatchStepExecutionsController.java:107)
    2 frames