Cannot add criteria for null field.

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.

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

Solutions on the web13908

  • via Kuali JIRA by Mindi Balmer, 1 year ago
    Given criteria value cannot be null.
  • Stack trace

    • java.lang.IllegalArgumentException: Cannot add criteria for null field. at org.springframework.util.Assert.notNull(

    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

    2 times, 1 month ago
    2 times, 2 months ago
    Unknown user
    Once, 3 months ago
    Unknown user
    Once, 6 months ago
    Once, 7 months ago
    190 more bugmates