java.lang.IllegalArgumentException

'source' must not be null

Samebug tips1

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.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web546

  • via Unknown by Karel Kremer,
  • via Unknown by Karel Kremer,
  • Stack trace

    • java.lang.IllegalArgumentException: 'source' must not be null at org.springframework.util.Assert.notNull(Assert.java:112) at org.springframework.web.util.UriUtils.decode(UriUtils.java:351)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    osvzsosvzs
    2 times, last one
    oddodd
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    mauritiusmauritius
    Once,
    190 more bugmates